Demand Input File

From WaterWiki

Jump to: navigation, search

This page describes the input file structure of the demand pattern data file.


Line Number(s)        Description of Contents


      1. Number of demand realizations in the file.

      2. Number of nodes for which demand data is available (for all realizations in the file)

      3. Number of demand pattern multipliers for each node (for all nodes for all realizations in the file)


      4-End: The actual demand pattern multipliers for each realization (each line represents the demand multipliers for one node)


      Each realization is separated from the next using a line just containing '*'.


Example file:



1 -----> Number of realizations


92 -----> Number of nodes for which demand data is available


144 -----> Number of demand pattern multipliers available for each node


620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 62


0.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.0 620.


0 620.0 620.0 620.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0


360.0 360.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0


0.0 0.0 0.0 0.0 0.0 0.0 0.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.


0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0


360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0


0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0


0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0 360.0


360.0 360.0 360.0 360.0 --------> All these multipliers are in one line


..


..


..


90 more lines


..


..


..



0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0


0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0


0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0


0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0


0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0


0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0


0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0


0.0 0.0 0.0 0.0


  • ------> Signals beginning of new realization

//// Start next demand realization


Personal tools
Navigation