Text this: Integrated planning of heat flows in production systems