Commit Graph

1461 Commits

Author SHA1 Message Date
Lew Rossman 179ec25d20 Merge pull request #845 from Mariosmsk/dev
Fix typo - use errcode instead of status (EN_getnodevalues, EN_getlinkvalues)
2025-04-19 08:57:29 -04:00
Marios S. Kyriakou 690ddadfae Fix typo - use errcode instead of status 2025-04-18 21:07:49 +03:00
Lew Rossman ab67dbd84e Merge pull request #843 from OpenWaterAnalytics/dev-doc
Updates to the EPANET Toolkit documentation
2025-04-03 12:08:04 -04:00
Lew Rossman 2c667e6449 Trying to fix cmake scripts 2025-04-03 11:51:30 -04:00
Lew Rossman 50f79c6ce8 CHM help build instructions deleted 2025-04-03 11:31:43 -04: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 3da4b1d861 Merge pull request #840 from OpenWaterAnalytics/dev-demand_deficit_fix
Limit demand deficit to be >= 0
2025-03-19 19:00:03 -04:00
Lew Rossman fff984d6be Limit demand deficit to be >= 0 2025-03-19 18:37:34 -04:00
Lew Rossman 06284bb218 Merge pull request #834 from OpenWaterAnalytics/dev-curvetype
Include curve type in input file
2025-03-12 18:30:09 -04:00
Lew Rossman 6468ba9545 Include curve type in input file 2025-03-11 11:54:12 -04:00
Lew Rossman 79473542ae Merge pull request #831 from OpenWaterAnalytics/dev-tags
Adds EN_gettag and EN_settag functions to the Toolkit
2025-02-24 17:03:25 -05: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 bb543a08dc Unit test for get/set tags 2025-02-19 09:58:19 -05:00
Lew Rossman 7a1673994c Set/Get node & link tags added 2025-02-19 09:49:09 -05:00
Lew Rossman c8db9c1655 Merge pull request #829 from OpenWaterAnalytics/dev-trace_node_fix
Fix Trace Node bug when new junction added
2025-02-18 08:55:38 -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 e5c5e16c63 Merge pull request #826 from OpenWaterAnalytics/dev-hydfile-fix
Close scratch hydraulics file between runs
2025-02-11 12:05:03 -05:00
Lew Rossman 65594132ce Close scratch hydraulics file between runs 2025-02-08 10:11:13 -05:00
Lew Rossman 3201d8485e Merge pull request #821 from OpenWaterAnalytics/dev-fix-tank-mixing
Corrections to 2-compartment tank mixing
2024-12-21 11:17:48 -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
Lew Rossman fbd005d604 Merge pull request #812 from Mariosmsk/add-EN_loadpatternfile
Add the `EN_loadpatternfile` function to load pattern data from a `.pat` file into INP
2024-08-06 08:39:55 -04: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 2f4ae4c5b1 Merge pull request #811 from LRossman/dev-leakage
Code cleanup
2024-07-29 09:26:31 -04:00
Lew Rossman cbf543f1b5 Code cleanup 2024-07-19 11:04:19 -04:00
Elad Salomons 3e1702e0e8 Merge pull request #810 from OpenWaterAnalytics/update-old-build
Update Makefile.bat
2024-07-13 18:00:20 +03:00
Elad Salomons 47e3451207 Update Makefile.bat
Update the old build script to support the new leak model files.
2024-07-13 08:58:28 +03:00
Lew Rossman 3574bdfe87 Merge pull request #808 from LRossman/dev-leakage
Add leakage into EPANET/dev
2024-07-12 11:36:32 -04:00
Lew Rossman 5894b67d81 Merge pull request #5 from LRossman/leakage
Adding Pipe Leakage Modeling
2024-07-08 08:49:59 -04:00
Lew Rossman 6089b93a51 Fix refactoring error in hydcoeffs.c 2024-07-02 20:19:45 -04:00
Lew Rossman 5b2b88cee4 Merge branch 'dev-leakage' into leakage 2024-06-26 18:08:02 -04:00
Lew Rossman 68b73a14f1 Fixes for PDA 2024-06-26 17:50:24 -04:00
Lew Rossman 30a3fcb4b9 debug test_pda.cpp 2024-06-26 11:47:35 -04:00
Lew Rossman 037ca41af6 Adding Pipe Leakage Modeling 2024-06-26 11:34:19 -04:00
Lew Rossman b0796f346a Adding leakage model 2024-06-26 11:15:01 -04:00
Elad Salomons cc9105fda6 Merge pull request #804 from OpenWaterAnalytics/bugfix/compiler-fix
fixes compilation with old compilers and keeps our programming conven…
2024-06-25 13:24:34 +03: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
Sam Hatchett 94d136b58f Merge pull request #803 from OpenWaterAnalytics/bugfix/tank-never-drains
fixes regression related to tank fill/empty events
2024-06-24 15:07:33 -04:00
Sam Hatchett 0329819f04 fixes regression related to tank fill/empty events
In the affected code, q is really just a proxy for flow direction. And in cases where a tank has filled in a previous step, its connected link will have been TEMPCLOSED making the flow pretty small. When this occurs, the link actually never opens even if dH says that the tank should be draining.
2024-06-24 13:08:13 -04:00
Lew Rossman 59f7295739 Merge pull request #802 from YuChunTsao/add-INP-section-column-headings
feat: Add column headings for sections in INP file
2024-06-18 13:23:36 -04:00
Yu Chun Tsao 96cb4c9c88 fix: Use two semicolons in each heading line 2024-06-19 00:46:17 +08:00
Lew Rossman d055157558 Merge pull request #801 from OpenWaterAnalytics/API_fixes
Fix two legacy API functions
2024-06-18 07:46:25 -04:00