On thermoeconomics of energy systems at variable load conditions: integrated optimization of plant design and operation