The sources file format is an XML based format which defines a list of sources files associated to an unique ID.
The sources must be defined in a section delimited by the <datasources>
tag, inside an <openfluid>
tag and must be structured following these rules:
<datasources>
tag, there must be a set of <filesource>
tags <filesource>
tag must bring an ID
attribute giving the identifier of source, and a file
attribute giving the name of the file containing the source of data. The files must be placed in the input directory of the simulation. <?xml version="1.0" standalone="yes"?> <openfluid> <datasources> <filesource ID="1" file="source1.dat" /> <filesource ID="2" file="source2.dat" /> </datasources> </openfluid>
An associated source data file is a two columns text file, containing a serie of values in time. The first column is the date using the ISO format YYYY-MM-DD'T'HH:MM:SS
. The second column is the value itself.
1999-12-31T12:00:00 -1.0 1999-12-31T23:00:00 -5.0 2000-01-01T00:30:00 -15.0 2000-01-01T00:40:00 -5.0 2000-01-01T01:30:00 -15.0
A distribution file is a two column file associating a unit ID (first column) to a source ID (second column).
1 1 2 2 3 1 4 2 5 1