Multiple Sources Input File
From WaterWiki
This page describes the input file format for the multiple contamination sources problem.
Line number(s) Description of Contents
1. Name of EPANET's input file for this network (Water Distribution System). Eg.Net3.inp
2. Name of EPANET's input file for this network. Eg. Net3.out
3. Duration of the simulation (in seconds) Eg. 86400 = 24 hrs
4. Number of timesteps in the water quality simulation. Eg 144 ( for the 24 hr simulation, 144 means quality is calculated every 10 min)
5. Number of trials for which information is available in this file. (excluding the true source trial) Eg. 1000
6. Total number of sources for which info is in this file. (Every trial can have different number of sources. This is the sum of the sources contained in all trials put together. This is useful for allocating storage within the wrapper.) Eg. 2000
7. Number of sources in the true scenario. Eg.2
8. Number of timesteps in the source info. Compared to line 4, this value gives the number of steps for which quality pattern multipliers are given for each source. The rest of the multipliers are set to zero. (whose number is given by value from line 4 - this value and start time as the starting index) Eg.6
9. Number of sensor locations followed by the sensor locations itself. Eg. 6 25 66 88 86 33 57
10. Sources in the true source scenario (each source described in one line)
Each line describes the source location, start time, water quality pattern multipliers
The end of the true source scenario is signified using a line containing only '*'.
Then for each trial, the sources within that scenario are described one per line and the end of each trial signified using a line containing only '*'.

