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
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
Yu Chun Tsao
317990a8d1
feat: Add column headings for sections in INP file
...
This commit includes the following changes:
- Column headings have been added for each section in the INP file.
- The alignment of the values has been updated to match these headings.
These enhancements improve readability and understanding of the INP file.
2024-06-15 23:48:14 +08:00
Lew Rossman
6ac4156fd0
Update report.c
...
Change a "printf" statement to "sprintf".
2024-06-14 09:49:28 -04:00
Lew Rossman
62f0bc6db7
Fix two legacy API functions
2024-06-13 07:49:14 -04:00
Lew Rossman
109a93f7d5
Merge pull request #798 from zannads/dev-netadjlist_fix
...
Fix Issue 789- PR 791
2024-06-05 15:47:04 -04:00
Dennis
c79f125608
Fix: pass the network pointer to freeadjlists and not the project
2024-06-04 13:49:24 +02:00
Abel Heinsbroek
93a0b3671b
Merge branch 'dev' into dev
2024-05-31 21:36:57 +02:00
Lew Rossman
8b6be71956
Merge pull request #788 from OpenWaterAnalytics/dev-rename_emitter_backflow_keyword
...
Changes EMITTER BACKFLOW keyword
2024-05-29 08:25:19 -04:00
Lew Rossman
7b334875f8
Merge pull request #797 from lbutler/big-fix-emitter-coefficient
...
Fix emitter-related NaN errors from EN_setnodevalue API
2024-05-29 08:23:56 -04:00
Lew Rossman
375823851a
Merge pull request #791 from zannads/dev-netadjlist_fix
...
Fix Issue #789 - free network Adjlist
2024-05-29 08:22:48 -04:00
lbutler
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
Dennis
d50c673321
Fix Issue #790 - incorrect number of pipes
...
The pipe counter was not decreased if the element was a pipe.
2024-05-23 10:33:30 +03:00
Dennis
9307913c5b
Proposed Fix for Issue #789
...
See the comment on the Issue.
2024-05-23 10:24:29 +03:00
Lew Rossman
7e66114863
Changes EMITTER BACKFLOW keyword
...
This change avoids a conflict between the EMITTER EXPONENT and EMITTER BACKFLOW keywords when running a v2.3 input file in the v2.2 EPANET GUI.
2024-05-11 12:37:52 -04:00
Abel Heinsbroek
9637f5c092
change names of new functions to ENgetnodevalues and ENgetlinkvalues
2024-04-24 15:20:59 +02:00
Abel Heinsbroek
4dff3bd054
add ENgetnodesvalues and ENgetlinksvalues methods
2024-04-23 11:31:17 +02:00
Lew Rossman
c24f334208
Update validate.c
...
Fixes false negative when checking if a tank's min/max levels fall within its volume curve (see issue #767 ).
2024-03-19 14:38:47 -04:00
Lew Rossman
2f4e4e5139
Merge pull request #771 from OpenWaterAnalytics/dev-tank_overflow_fix
...
Account for mass lost in tank overflow
2024-03-18 13:37:07 -04:00
Lew Rossman
6d6f244a5f
Merge pull request #766 from lbutler/update-readme-jan-2024
...
Update release notes and remove depreciated constants
2024-03-13 09:51:56 -04:00
Lew Rossman
482f658df4
Account for mass lost in tank overflow
...
This change addresses issue #769 .
2024-03-13 09:22:33 -04:00
Lew Rossman
5c90eafdbe
Update validate.c
...
Fixes bug in checking that tank min/max levels are within volume curve.
2024-01-25 12:21:09 -05:00
lbutler
c6ab471b5b
Update release notes and remove depreciated constants
2024-01-09 14:14:19 -05:00
Lew Rossman
e7f9e26347
Update validate.c
2023-10-05 14:59:10 -04:00
Lew Rossman
653ffac514
Update input3.c
2023-10-05 12:10:08 -04:00