Modeling of energy-services supply systems