Improved createScenario's generation of demand profiles.