Marios S. Kyriakou
8bf2334708
add macos badge
2024-04-21 11:48:49 +03:00
Marios S. Kyriakou
ac09675f79
update cmake version
2024-04-21 11:48:43 +03:00
Elad Salomons
e396bd8b58
Update old build script
...
Update old build script with validate.c file
2024-04-10 21:38:57 +03:00
Lew Rossman
7d360480d0
Merge pull request #777 from OpenWaterAnalytics/dev-tank_validation_fix
...
Update validate.c
2024-03-21 12:39:11 -04: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
6b72b0a21c
Merge pull request #776 from Mariosmsk/add-workflow-for-macos-build
...
Create macos.yml workflow.
2024-03-19 14:30:10 -04:00
Lew Rossman
31395615d1
Merge pull request #775 from Mariosmsk/update-workflows-rm-warnings
...
Update workflows to use Node.js 20 due to deprecation of Node.js 16
2024-03-19 14:29:36 -04:00
Lew Rossman
19327c0a51
Merge pull request #774 from Mariosmsk/patch-2
...
Delete tests/outfile/data/enP1kAlM
2024-03-19 14:29:11 -04:00
Marios S. Kyriakou
630f9f09a9
Create macos.yml
2024-03-19 13:31:03 +02:00
Marios S. Kyriakou
1cf1b0803b
Update workflows to use Node.js 20 due to deprecation of Node.js 16
2024-03-19 13:18:11 +02:00
Marios S. Kyriakou
857aaf678b
Delete tests/outfile/data/enP1kAlM
...
Remove the unnecessary file.
2024-03-19 12:43:38 +02: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
029b441dd4
Merge pull request #759 from Mariosmsk/update-workflows
...
update workflows to include the header files in the artifact
2024-03-14 08:25:28 -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
ade7027ddb
Merge pull request #768 from OpenWaterAnalytics/dev-tank_validation_bug_fix
...
Update validate.c
2024-01-25 12:34:20 -05: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
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
Lew Rossman
5fd17af548
Merge pull request #758 from OpenWaterAnalytics/dev-EN_openX
...
Add EN_openX function
2023-10-17 09:20:48 -04:00
Marios S. Kyriakou
ce77b19a24
update workflows to include the header files in the artifact
2023-10-08 13:13:37 +03: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
Lew Rossman
c0700c83ee
Refactored validate.c
2023-10-05 11:37:13 -04:00
Lew Rossman
5a03def497
Merge branch 'dev' into dev-EN_openX
2023-10-04 10:09:02 -04:00
Lew Rossman
10d5079d75
Add EN_openX function
...
EN_openX allows an EPANET input file to be opened even if it has errors. This required re-arranging code, mainly in input3.c, so that default values are assigned to an object before its input line is parsed.
2023-10-04 09:53:05 -04:00
Lew Rossman
7b640122cd
Merge pull request #752 from Mariosmsk/patch-1
...
Update ReleaseNotes2_3.md
2023-09-28 12:16:28 -04:00
Lew Rossman
ec8609ef5f
Merge pull request #755 from lbutler/setcurvetype-support-EN_VALVE_CURVE
...
Update EN_setcurvetype to support EN_VALVE_CURVE
2023-09-28 12:08:24 -04:00
Marios S. Kyriakou
667a15fcbd
Merge branch 'dev' into patch-1
2023-09-25 09:25:34 +03:00
Marios S. Kyriakou
984e6b7fb1
Update ReleaseNotes2_3.md
...
Thanks @lbutler for the suggestions. Feel free to make changes!
2023-09-25 09:23:50 +03:00
Elad Salomons
f8402c1f13
Merge pull request #753 from eladsal/update_header_files_751
...
Updated header files following #751
2023-09-16 08:13:27 +03:00
Luke Butler
05c0528862
Update EN_setcurvetype to support EN_VALVE_CURVE
2023-09-15 11:53:02 -04:00
Lew Rossman
39ffaebcf9
Merge pull request #754 from lbutler/getclosedlink-remove-recursion
...
Remove recursion in getclosedlink
2023-09-15 11:01:39 -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
Elad Salomons
8a84668f63
Updated header files following #751
...
Updated header files following #751
2023-09-14 13:35:05 +03:00
Marios S. Kyriakou
d1cad76a5b
Update ReleaseNotes2_3.md
...
add EN_VALVE_CURVE, EN_PCV_CURVE. Some typo fixes.
2023-09-13 23:33:15 +03:00
Sam Hatchett
c84c6baee2
Merge pull request #751 from OpenWaterAnalytics/682-request-additional-api-functions-for-enablingdisabling-rules-and-controls-nondestructively
...
adds api support for enabling/disabling controls and rules
2023-09-13 14:54:16 -04:00
Sam Hatchett
0754d08721
Update ReleaseNotes2_3.md
2023-09-13 14:30:57 -04:00
Sam Hatchett
8b28307ecd
clarifying documentation
2023-09-13 09:18:08 -04:00
Sam Hatchett
d0ab568a5d
using int/bool convention instead of new enum type
2023-09-13 09:14:57 -04:00
Sam Hatchett
06a43cdb4e
adds api support for enabling/disabling controls and rules
2023-09-12 14:51:44 -04:00
Lew Rossman
630eed4369
Merge pull request #750 from OpenWaterAnalytics/dev-trace_node_fix
...
Fix trace node id parser error
2023-09-11 18:43:04 -04:00
Lew Rossman
a2c0ff7889
Fix trace node id parser error
2023-09-11 18:23:49 -04:00
Lew Rossman
e420380248
Merge pull request #747 from OpenWaterAnalytics/dev-PCV_mod
...
Change PCV settings from fraction to percent
2023-08-17 16:36:39 -04:00
Lew Rossman
e81a2804fb
Update test_valve.cpp
2023-08-17 16:23:05 -04:00
Lew Rossman
c7a4069b79
Update test_valve.cpp
2023-08-17 15:12:31 -04:00
Lew Rossman
6aa2a21327
Change PCV settings from fraction to percent
2023-08-17 14:54:59 -04:00
Lew Rossman
4577af9b19
Merge pull request #744 from 0tkl/dev
...
Bugfix
2023-08-10 11:44:22 -04:00
0tkl
2f63e513f0
fix potential memory leaks
...
Co-authored-by: Lew Rossman <LRossman@cinci.rr.com >
2023-08-10 12:32:28 +08:00
0tkl
b860f9b16f
add a default value to controlIndex
2023-08-09 15:38:41 +08:00