Sunteți pe pagina 1din 2

Water tank model

Data File
The input file must be named AkPd.csv and must have exactly the same format as the example provided. This includes one
header line and column labels (Year,Month,Day,RainfallTotal).
The csv suffix means comma separated values. This is how the program splits the data into individual items. Excel can read
and write csv files, or you can use a plain text editor.
I have set up the existing file with the 1/9/1972 31/7/2014 date range we are using, so you should be able to copy and paste
the rainfall data into the relevant column. Quality control remains your responsibility.
Running the program
Put WaterTank.jar & AkPd.csv in the same working directory/folder (where you have write permission).
Double-click WaterTank.jar to launch the program. If you are running the program on your own computer, you may need to
install a Java Runtime Environment. You can get one for free (from Oracle).
Adjust the controls on the front panel (tank size, water use, etc) to what you want. What you want should be determined by
consultation with your work group and appropriate background research.
Adjusting the controls automatically update the graphs. When you have everything setup, click the Run analyses button. Doing
so will write three output files (see below) into the same directory/folder you launched the program from (in a sub-directory/folder
called res_output).
Output files
Reservoir_out_stats.txt: plain text file which provides some terse information about the analysis, including totals (e.g. total
refills).
Reservoir_out_full.csv: csv file that provides a monthly summary of the simulation results. Results for a rainfall scaling factor of
one relate to the raw data. Units are simple counts or m3.
Reservoir_out_mon.csv: csv file that provides cumulative counts or m3, by month, across all years. Results for a rainfall scaling
factor of one relate to the raw data.
The relevance of results for different precipitation scaling factors should become clear as you start to think about sensitivity
analysis and potential impacts of a changed climate regime (e.g. ENSO events or climate change scenarios).

Water tank model

Rainfall scaling factor is a


multiplier so simulation
with raw data starts on Row
25102
Model runs with daily time
step, but output is the
monthly summary
Units: m3 or simple counts

Feb 1973: 28 days @ 300


litres/day = 8.4 m3 demand

Reservoir_out_full.csv

Water tank model

Totals, by month, across all years


Count refill of most interest
Scaling factors provide a way of
undertaking a sensitivity analysis
e.g. summer refill count sensitivity to
10%, 20% changes in precipitation.

Reservoir_out_mon.csv

S-ar putea să vă placă și