Lew Rossman
79b4fa45a1
Update hydcoeffs.c
...
Only an Active PSV needs to preserve connectivity.
2022-08-05 16:59:32 -04:00
Lew Rossman
93389ad1e4
Fix for PRV directly downstream of a PSV
2022-08-03 19:52:01 -04:00
Marios S. Kyriakou
0bf09b525f
build libs / win & linux
2022-07-28 23:37:10 +03:00
Sam Hatchett
41887e9016
adds client callback API function
2022-07-27 16:37:49 -04:00
Sam Hatchett
5f8ee49fd6
adds an API function to get information about upcoming events
2022-07-27 14:18:50 -04:00
Sam Hatchett
92cef4692c
Create conanfile.py
2022-07-27 14:01:45 -04:00
Lew Rossman
44ad2488e4
Merge pull request #685 from OpenWaterAnalytics/dev-release_notes_update
...
Update ReleaseNotes2_3.md
2022-06-29 11:30:01 -04:00
Lew Rossman
0b1e5408bf
Update ReleaseNotes2_3.md
2022-06-27 13:00:02 -04:00
Sam Hatchett
c07674e95b
Update before-test.cmd
2022-06-14 10:28:24 -04:00
Sam Hatchett
f3b8e9db18
Update before-test.cmd
2022-06-14 10:22:43 -04:00
Sam Hatchett
13b5da5207
attempting hotfix for appveyor issues.
...
curl needs to follow the redirect
2022-06-14 10:07:50 -04:00
Robert Janke
09b44add36
Update AUTHORS file - organize by release and order alphabetically ( #573 )
...
* Update LICENSE
* Update AUTHORS
Co-authored-by: Sam Hatchett <samhatchett@gmail.com >
2022-06-14 09:38:37 -04:00
Sam Hatchett
c500cddd6d
fixes issue where a string position an underflow ( #676 )
...
under some circumstances, like certain input lines that have long comments, the code here can cause an underflow in size_t which casts to a very large integer during comparison and results in the number of tokens being over-reported (max of 40). Most of these tokens are of course garbage. Changing this `len` variable to an integer permits it to be less than zero, thus allowing an exit from the `while` at L665.
2022-06-14 09:36:56 -04:00
Lew Rossman
4d66af19a5
Merge pull request #669 from OpenWaterAnalytics/dev-pump-fix
...
Modify const. HP pump
2022-04-05 09:15:18 -04:00
Elad Salomons
d554999c2a
Merge pull request #670 from lbutler/doc-toolkit-usage-fix
...
Bug in example code for detecting error conditions
doxygen and html updates to follow.
2022-04-05 08:36:01 +03:00
Elad Salomons
dc7e9f3142
Merge pull request #672 from lbutler/dev-gpv-control-fix
...
Fix for GPV controls in EN_saveinpfile
Thank you @lbutler , for GPV the setting golds the head curve index.
2022-04-05 07:27:54 +03: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
Lew Rossman
4bdbe6cd78
Modify const. HP pump
2022-03-30 09:22:01 -04:00
Lew Rossman
2beb5fb5b9
Merge pull request #667 from OpenWaterAnalytics/dev-fix-tanktimestep
...
Fixes possible integer overflow
2022-03-30 09:12:15 -04:00
Lew Rossman
cecc941d29
Update to force re-check of PR
2022-03-20 09:27:37 -04:00
Lew Rossman
dbd3f6387d
Fixes possible integer overflow
...
Fixes a possible integer overflow when computing time for a tank to fill/empty (issue #666 ). Also fixes issue #642 that failed to set a pump's initial setting to 0 when its initial status was CLOSED.
2022-03-19 13:25:55 -04:00
Lew Rossman
c8a3eadfdf
Merge pull request #634 from OpenWaterAnalytics/dev-PDA_mod
...
Dev pda mod
2022-03-19 08:53:15 -04:00
Lew Rossman
750dda1fe6
Update ReleaseNotes2_3.md
2022-02-14 15:38:21 -05:00
Lew Rossman
0687aa63e2
Update ReleaseNotes2_3.md
2022-02-14 15:10:18 -05:00
Lew Rossman
f865cbbba8
Update ReleaseNotes2_3.md
2022-02-14 13:43:48 -05:00
Lew Rossman
a63f553b5f
Adds PDA convergence test
2022-02-14 11:19:00 -05:00
Lew Rossman
070901d6bf
Update hydsolver.c
2022-02-14 11:03:22 -05:00
Lew Rossman
d5c9a95c5f
Merge pull request #660 from OpenWaterAnalytics/dev-DefaultPatternFix
...
Fix for getting/setting/saving default demand pattern option
2022-01-18 11:01:10 -05:00
Lew Rossman
43092c8647
Update test_node.cpp
2022-01-15 11:37:35 -05:00
Lew Rossman
f9189d04b4
Updates to default demand pattern fix
2022-01-15 11:21:24 -05:00
Lew Rossman
14de37d0cb
Adjust default pattern index after a pattern is deleted
2022-01-14 09:09:32 -05:00
Lew Rossman
afda609223
Adds get/set for default demand pattern to toolkit
2022-01-14 08:50:33 -05:00
Elad Salomons
64f0d15afe
Merge pull request #657 from OpenWaterAnalytics/dev-Qualflag_Fix
...
Removes silent change to WQ option for 0 duration run
2021-09-28 10:09:26 +03:00
Elad Salomons
4b2d686c5d
Merge pull request #649 from jamesuber/dev
...
Bugfix for En_getaveragepatternvalue() and Return MISSING initial setting from EN_getlinkvalue()
2021-09-27 10:50:46 +03:00
Lew Rossman
d552d0c92c
Removes silent change to WQ option for 0 duration run
2021-09-25 09:32:20 -04:00
james uber
3be813facb
Return MISSING as initial valve setting
...
If the initial setting is indeed MISSING, that means the status of the valve has been set to OPEN or CLOSED, and the valve is non-functional (until the setting is changed by a control). This change is required to be able to accurately see the initial setting, because the status does not distinguish between open and active valves.
2021-09-23 11:04:19 -04:00
james uber
886a5cf266
Bugfix for En_getaveragepatternvalue()
...
Fixes a bug where 0 was not considered to be a valid pattern index.
2021-09-08 10:49:57 -04:00
Elad Salomons
7baf992d69
Merge pull request #646 from Mariosmsk/returnErrcodeNodeNotTank
...
Thank you @Mariosmsk
2021-08-02 06:16:22 +03:00
Elad Salomons
7a07976104
Merge pull request #648 from sahandt/patch-1
...
Method parameter types need to match definitions in epanet2.c
2021-08-01 20:34:10 +03:00
Sahand Tashak
1df2ea80b0
Method parameter types need to match definitions in epanet2.c
2021-07-20 22:58:43 -04:00
mariosmsk
79b2c4c8ee
add new errcode 263 "node is not a tank"
2021-06-26 17:11:33 +03:00
mariosmsk
6728a59e63
node is not a tank
2021-06-26 12:01:19 +03:00
Elad Salomons
45c62f6656
Merge pull request #641 from eladsal/zero-rcoeff
...
Fix check for roughness coefficient
2021-06-18 12:39:26 +03:00
Elad Salomons
b1255dead8
Fix check for roughness coefficient
...
Fix check for roughness coefficient
2021-06-15 16:15:54 +03:00
Lew Rossman
650d8e8e53
Revert "Update setup.py"
...
This reverts commit b77094e694 .
2021-04-21 00:24:27 -04:00
Lew Rossman
b77094e694
Update setup.py
2021-04-21 00:09:36 -04:00
Lew Rossman
c64cbe1b5f
Restoring previous versions of nrtest files that work
2021-04-20 15:59:23 -04:00
Lew Rossman
a652175523
Update test-config.sh
...
Another attempt to eliminate the Status Report comparison.
2021-04-20 15:24:09 -04:00
Lew Rossman
5c0a6efb30
Update setup.py
...
Trying to eliminate the Status Report comparison.
2021-04-20 15:04:18 -04:00