lbutler
16f90ee4ef
Merge branch 'dev' of https://github.com/lbutler/EPANET into dev
2025-07-10 15:58:34 -04:00
Luke Butler and GitHub
b1c5f30382
Merge branch 'OpenWaterAnalytics:dev' into dev
2025-07-09 23:44:57 -04:00
lbutler
a9aa752d3a
Fix Incorrect Conversion of Feet of Pressure to Meters
...
#864
2025-07-09 23:36:56 -04:00
lbutler
375a772d2e
Fix emitter calculation
2025-07-05 21:24:39 -04:00
lbutler
3d1d6496c9
Add support for bar and feet as pressure units, fix psi or m for emitters
2025-07-04 16:10:01 -04:00
lbutler
f8f2d74bea
Decoupled pressure units from the flow unit system
...
Decoupled pressure units from the flow unit system, allowing them to be set independently to support mixed-unit conventions (e.g., using LPS for flow and PSI for pressure).
2025-07-03 08:30:43 -04:00
lbutler
48934c7089
Updated ReleaseNotes for EN_EMITTER bug
2024-05-28 22:23:46 -04:00
lbutler and Lew Rossman
a74171fa26
Fix emitter-related NaN errors by initializing zero EmitterFlow to 1.0.
...
Co-Authored-By: Lew Rossman <LRossman@outlook.com >
2024-05-28 22:18:29 -04:00
lbutler
6c2bf2f48a
Add en_openx to release notes
2024-01-09 14:22:34 -05:00
lbutler
c6ab471b5b
Update release notes and remove depreciated constants
2024-01-09 14:14:19 -05:00
Luke Butler
05c0528862
Update EN_setcurvetype to support EN_VALVE_CURVE
2023-09-15 11:53:02 -04:00
Luke Butler
cfc06321a6
Remove recursion in getclosedlink
...
The function getclosedlink in report.c uses recursion to find closed links when reporting on disconnections.
In very large networks, it’s possible for the recursion to exhaust the memory on the call stack which then causes EPANET to crash.
If a loop is used instead of recursion, EPANET will not crash with very large disconnections
2023-09-14 16:00:34 -04:00
Luke Butler
9cde32080a
added function updateruleunits
2023-03-30 16:22:58 -04:00
Luke Butler
56c569b56f
Update epanet2_enums.h
...
Fixed option and spacing
2023-03-16 19:53:25 -04:00
Luke Butler
6bc1efaf1c
Check pressure units in metric are not set to PSI
2023-03-16 16:21:55 -04:00
Luke Butler
4beebbd470
Add EN_PRESS_UNITS to EN_getoption & EN_setoption
2023-03-16 16:13:49 -04:00
Luke Butler
40cd9acaf1
Update BUILDING.md to mention windows tutorial
2023-03-15 11:33:01 -04:00
Luke Butler
0e4c400355
Update ReleaseNote2_3.md
...
Commits between V2.2 and 2023-03-15 were reviewed and missed items in the release notes were added.
Fixes #716
2023-03-15 11:13:47 -04:00
Luke Butler
f530f95835
Update BUILDING.md to include testing information
2023-03-09 14:34:39 -05:00
Luke Butler
8e68b77f61
Updated outfile to support cubic meters/sec
2023-02-20 10:24:11 -05:00
Luke Butler
09290da2cc
Redefinition during test
2023-02-20 10:05:51 -05:00
Luke Butler
843f1f4e37
Added support for cubic meters per second (CMS)
2023-02-20 09:43:42 -05:00
Luke Butler
3856a6310d
Fixes incorrect hour set with >9 input tokens
...
If you create a simple control with nine or more input tokens, the logic skips over assigning the hour variable and EPANET will activate the control at hour zero.
2023-02-15 14:46:39 -05:00
Luke Butler
9c0b576182
Fix for GPV controls in EN_saveinpfile
...
EN_saveinpfile was incorrectly saving the index of the GPV head loss curve inside of a simple control instead of the control status
2022-03-30 23:13:48 -04:00
Luke Butler
0945683bf9
Bug in example code for detecting error conditions
...
EN_geterror doesn't take in the project wrapper, and you need to include maxLen
2022-03-30 11:14:05 -04:00