HydroCAD® Stormwater Modeling - Since 1986
|
Using CSV hydrograph filesA link is often used to import hydrograph data from an outside file, and the CSV hydrograph format is generally the easiest type of file to create by hand. HydroCAD also supports a more powerful HCE hydrograph format, which is commonly used for linking multiple projects together. But the widely-used CSV format is generally recommended for other applications. Creating a CSV hydrograph fileA CSV file can be created with any spreadsheet program by saving the file to CSV format. This is generally accomplished by an option on the File|SaveAs menu. Since a CSV file is a plain text file, it can also be created or modified with a standard text editor, such as NotePad. This sample illustrates the basic elements of a CSV hydrograph file loaded into a spreadsheet. Since the spreadsheet automatically strips the commas, they do not appear on-screen.
The first column must contain time values. Time values default to hours, or you can explicitly specify (hours), (minutes) or (seconds) in the column heading. Time values can be at even or uneven intervals, and do not have to match the project settings. HydroCAD will interpolate between the supplied values as required by the individual project. Additional column(s) are used to define the individual hydrographs or events. Each column heading contains the hydrograph name or event name. Flow values default to CFS, or you can explicitly specify (CFS) or (CMS) in the individual column heading. For further details see the LinkTest4.CSV file that is preinstalled with HydroCAD-10. Using your CSV fileTo use your hydrograph file in a HydroCAD project, create a link node and use the "File" option to select your CSV file. If your CSV file contains data for multiple events, select (MultiEvent) in the hydrograph box. This will cause HydroCAD to automatically select the hydrograph column that matches your current event. If the file does not contain multi-event data, select the specific hydrograph (column) to be imported for all events.
Whenever you use a multi-event link, the associated project must contain event names which exactly match the column headings in the CSV file. The events must be defined on the Rainfall tab of the calculation settings screen. After configuring the link, it's outflow will consist of the specified hydrograph, and may be routed just like any other node. If you're using the multi-event capability, the outflow of the link will be automatically updated whenever a different event is selected. Demonstration multi-event linkFor a demonstration of the hydrograph import capability, and the features of each file format, see the Link Demo project that is preinstalled with HydroCAD-10 and later. |
|