You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @asselapathirana, great work with this wrapper! I've been running some water quality analyses and just recently I tried to save a report directly from a run. Looking through the documentation, I saw that I can do the following to save a hydraulic analysis.
es.ENsaveH();
/* Define contents of the report */
es.ENresetreport()
es.ENsetreport("FILE myfile.rpt")
es.ENsetreport("NODES ALL")
es.ENsetreport("PRESSURE PRECISION 1")
es.ENsetreport("PRESSURE ABOVE 20")
/* Write the report to file */
es.ENreport()
However, with the quality analysis I noticed that it was somewhat different.
EninitQ() takes in either 0 if nothing is to be saved to a file or 1 if data is supposed to be saved to a file, but whenever I run es.ENinitQ(1), my kernel crashes from what I assume to be a segfault.
Have you experienced this issue before? Should I do something differently to produce a water quality report?
Please let me know if I need to provide any other information.
The text was updated successfully, but these errors were encountered:
Hello @asselapathirana, great work with this wrapper! I've been running some water quality analyses and just recently I tried to save a report directly from a run. Looking through the documentation, I saw that I can do the following to save a hydraulic analysis.
However, with the quality analysis I noticed that it was somewhat different.
EninitQ()
takes in either 0 if nothing is to be saved to a file or 1 if data is supposed to be saved to a file, but whenever I runes.ENinitQ(1)
, my kernel crashes from what I assume to be a segfault.Have you experienced this issue before? Should I do something differently to produce a water quality report?
Please let me know if I need to provide any other information.
The text was updated successfully, but these errors were encountered: