Commit Graph

625 Commits

Author SHA1 Message Date
Alissa f456d207db Fixes Bug in setlinkvalue
status value is only converted to StatusType enum for initial status
2025-09-23 13:13:59 +02:00
Lew Rossman d345541af7 Avoid possible NAN in leakage.c 2025-09-10 11:06:05 -04:00
Lew Rossman 1f24209516 Fixes bug in EN_setpipedata
See issue #876 .
2025-09-03 15:11:49 -04:00
Lew Rossman d0fa133eef Update report.c 2025-07-25 11:04:00 -04:00
Lew Rossman ebafb87e6a Fix link InitSetting/InitStatus properties 2025-07-25 11:02:40 -04:00
Lew Rossman c8d92cdd48 Fix EN_setlinkvalue for EN_INITSETTING 2025-07-21 13:22:26 -04:00
Lew Rossman b86dde98e3 Updating docs for added pressure units 2025-07-13 17:09:07 -04:00
Lew Rossman 25068d3902 Update input1.c
Fix unit conversion for emitter coefficient.
2025-07-13 15:19:17 -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
Lew Rossman e9cf8d7d3f Update leakage.c
Adjustment to reported pipe leakage when one node is fixed grade was corrected.
2025-06-27 09:44:32 -04:00
Lew Rossman b30a857319 Fix Trace Node bug
See issue #859
2025-06-18 10:43:36 -04:00
Marios S. Kyriakou fbfe62d21b Update input3.c 2025-05-14 18:00:16 +03:00
0tkl 13d075edb7 remove redundant paratheses from comments 2025-05-14 17:09:49 +08:00
0tkl 56c44c04f6 fix typos in code comments
remove duplicate words from a comment
2025-05-14 17:09:42 +08:00
Marios S. Kyriakou 080b529c19 replace 2.2 with 2.3 in the files. 2025-05-10 14:21:32 +03:00
Lew Rossman e42929d4d0 Replace 2.2 with 2.3 in file headings 2025-05-06 09:32:46 -04:00
Lew Rossman 6a3d3d5b8a Update project.c 2025-04-24 09:40:56 -04:00
Lew Rossman e206baaaab Add EN_VALVE_TYPE to link getter & setter 2025-04-23 12:59:48 -04:00
Lew Rossman e71b7b45ef Save changed GPV curve to link's InitSetting 2025-04-21 10:26:56 -04:00
Lew Rossman ee9313aa24 Update hydraul.c 2025-04-19 14:39:12 -04:00
Lew Rossman 47b474ff4c Update hydraul.c 2025-04-19 14:14:58 -04:00
Lew Rossman a9b5cc7124 Update input3.c 2025-04-19 13:44:59 -04:00
Lew Rossman 30c20770b3 InitSetting added to Link struct
Addresses issue #823.
2025-04-19 12:54:45 -04:00
Marios S. Kyriakou 690ddadfae Fix typo - use errcode instead of status 2025-04-18 21:07:49 +03:00
Lew Rossman d4c41a2d52 Updates to toolkit documentation 2025-03-30 10:06:29 -04:00
Lew Rossman bd97f66097 Update docs for version 2.3 2025-03-28 09:16:38 -04:00
Lew Rossman fff984d6be Limit demand deficit to be >= 0 2025-03-19 18:37:34 -04:00
Lew Rossman 6468ba9545 Include curve type in input file 2025-03-11 11:54:12 -04:00
Lew Rossman f37e4934c6 Fix copy/paste error in project.c 2025-02-19 10:32:49 -05:00
Lew Rossman 0f7fb48d73 Update input2.c 2025-02-19 10:18:52 -05:00
Lew Rossman 7a1673994c Set/Get node & link tags added 2025-02-19 09:49:09 -05:00
Lew Rossman 054ebf36b5 Adjust Trace Node index when node deleted 2025-02-17 09:23:35 -05:00
Lew Rossman a5bce31b13 Fix Trace Node bug when new junction added 2025-02-17 08:44:28 -05:00
Lew Rossman 03cbb89e05 Merge pull request #827 from OpenWaterAnalytics/dev-disabled-controls
Add read/write of disabled controls to input file
2025-02-17 08:12:44 -05:00
Lew Rossman 70d5483361 Add read/write of disabled controls to input file 2025-02-11 15:38:30 -05:00
Lew Rossman 65594132ce Close scratch hydraulics file between runs 2025-02-08 10:11:13 -05:00
Lew Rossman 626b93a10f Corrections to 2-compartment tank mixing
Fixes volume remaining in mixing zone when there is net outflow from a 2-compartment tank.
2024-12-16 23:30:32 -05:00
Marios S. Kyriakou 3604f3f693 fix
Co-Authored-By: Lew Rossman <LRossman@outlook.com>
2024-08-01 22:45:42 +03:00
Marios S. Kyriakou b16dacb87e Add a new pattern or use an existing pattern - EN_loadpatternfile
Co-Authored-By: Lew Rossman <LRossman@outlook.com>
2024-08-01 17:06:32 +03:00
Marios S. Kyriakou 17b14e2178 fix missing ')' 2024-08-01 09:06:04 +03:00
Marios S. Kyriakou 03e889d675 Update epanet.c
Co-Authored-By: Lew Rossman <LRossman@outlook.com>
2024-08-01 08:58:13 +03:00
Marios S. Kyriakou 53350880c9 Add EN_loadpatternfile, ENloadpatternfile 2024-07-31 19:48:19 +03:00
Lew Rossman cbf543f1b5 Code cleanup 2024-07-19 11:04:19 -04:00
Lew Rossman 6089b93a51 Fix refactoring error in hydcoeffs.c 2024-07-02 20:19:45 -04:00
Lew Rossman 68b73a14f1 Fixes for PDA 2024-06-26 17:50:24 -04:00
Lew Rossman 037ca41af6 Adding Pipe Leakage Modeling 2024-06-26 11:34:19 -04:00
Sam Hatchett 31cfd60943 fixes compilation with old compilers and keeps our programming conventions of declaring variables 2024-06-24 15:10:06 -04:00