Simulation-based analysis of energy flexible factories in a regional energy supply system