USEPA/Stormwater-Management-Model

node depth data in .hsf file does not match with the simulation result

Yunp-J opened this issue · 3 comments

Hi, im using python to read the data in .hsf file and focus on the node depth feature. I executed a simulation and generated a hot start file by swmm, and then read the node depth of the generated hsf file. However, I just found that the node depth unpacked from the hsf file is different from the simulation result. It seems that the data in the .hsf file is larger than it in the simulation result.

So my question is: does the hot start file save the simulated node depth or save it with some certain format?

The formatting of the numbers in the hsf file are defined in hotstart.c. How are you determining the ending simulation value - is it from the output tables of SWMM? If you do not save the hsf file at the same time as the report time step they may be reported or saved at different times.

The formatting of the numbers in the hsf file are defined in hotstart.c. How are you determining the ending simulation value - is it from the output tables of SWMM? If you do not save the hsf file at the same time as the report time step they may be reported or saved at different times.

Hi! yes, I save them at the same time step. I think this problem may be caused by unit conversion. Since I use the CMS as the flow units, and I guess in the hsf file it use the default CFS?