How to import a time sequence for multiple structures

From Tygron Support wiki
Jump to navigation Jump to search
How to import a time sequence for multiple structures:
  1. In the Water Overlay Wizard, go to step 2 and find the structures you would like to enter a time sequence for.
  2. Check the Multi checkbox and click on the Set Values button for the desired attribute.
  3. In the new panel that pops up, click on Import new CSVs and select the CSV files.
  4. Browse with the button at the tab through the CSV files to see if they are imported correctly.
  5. Optionally, change the delimiter and time units and click on Ok. The data in the CSV files is now used to set the attribute for the structures dynamically.

Notes

  • The CSV file to import a time sequence should look as follows:
time,Stuw 1
3600,0.03
7200,0
9000,0.03
10800,0.06

The first row should contain the headers. The first column should be the time, the second column the values. Make sure the name of the second column has the same name as the hydraulic structure the attributes belong to. For every CSV file, the header name of the second column should exactly match the name of the structure to map the attributes to the right structure.

  • When importing a CSV for a time sequence, it's possible to indicate whether the time is in seconds, minutes, or hours. The Tygron Platform then automatically converts the time to the correct data for the model.
  • For the CSV, it is possible to choose a comma or semicolon as delimiter.

See also