Commit Graph

748 Commits

Author SHA1 Message Date
Lew Rossman
09e46bc459 Merge pull request #320 from LRossman/lrossman-dev
Fixed bug setting pump curve params (#314) and in setting demand categories
2018-10-25 12:22:04 -04:00
Lew Rossman
39fcfa2162 Fixed bug setting pump curve params (#314) and in setting demand categories
-Split off calc. of a pump's curve coeffs. from getpumpparams to updatepumpparams.
- Fixed problem with initializing node demand category when default demand pattern set before node is created.
- Increased MAXLINE to 1024 to accomodate increase in MAXMSG.
- Replaced EN_geterror calls in input2.c with geterrmsg (it's bad form to call API functions in the body of the library)
2018-10-25 09:39:28 -04:00
Marios Kyriakou
27c21e499e Update ReleaseNotes2_2.md
1. Update description of new API functions.
2. Update API extensions
2018-10-25 13:55:03 +03:00
Lew Rossman
2ed36c06a1 Merge pull request #315 from LRossman/lrossman-dev
Fixed bug in EN_deletelink (#312)
2018-10-24 09:02:54 -04:00
Lew Rossman
69388024fb Fixed bug in EN_deletelink (#312) 2018-10-23 16:00:14 -04:00
Lew Rossman
3f90e44eda Merge pull request #303 from LRossman/dev-lrossman
Fix #211 for EN_setreport
2018-10-23 09:21:02 -04:00
Lew Rossman
f7346cef5f Modified re-factored version of hash.c 2018-10-19 10:36:39 -04:00
Lew Rossman
0041772aa0 Corrected test_setid unit test code 2018-10-18 10:16:47 -04:00
Lew Rossman
60a79de4a9 Fixed bug in hash.c
A bug in the delete function in hash.c was preventing the unit test of the new set ID API functions from running properly. In fixing this bug the entire hash table code was refactored to make it look more like the mempool service routines. Also the need to copy the string passed into the table's insert function was eliminated.
2018-10-18 10:03:09 -04:00
Lew Rossman
b3e84e0c42 Added unit test for ENsetnodeid and ENsetlinkid functions 2018-10-17 10:17:00 -04:00
Lew Rossman
76419e0b4c Added EN_setnodeid and EN_setlinkid (Issue #306) 2018-10-17 09:05:16 -04:00
Lew Rossman
1fce14efb8 Increased size of MAXMSG to 255 (#189) 2018-10-15 11:34:25 -04:00
Lew Rossman
1c3044c948 Fix #211 for EN_setreport 2018-10-14 11:05:15 -04:00
Michael Tryby
d42f191d45 Merge pull request #297 from LRossman/dev-lrossman
Fixed water quality mass balance issue (#160)
2018-10-12 09:13:14 -04:00
Michael Tryby
93760176bf Updateing benchmark 2018-10-12 08:58:17 -04:00
Michael Tryby
27863babe7 Merge pull request #299 from michaeltryby/dev
Saves SUT benchmark as build artifact on Appveyor
2018-10-11 11:44:20 -04:00
Michael Tryby
e943dd7174 Saving SUT benchmarks as artifact 2018-10-11 08:02:15 -04:00
Michael Tryby
c0425022ab Saving SUT benchmarks as artifact 2018-10-10 18:00:52 -04:00
Lew Rossman
570f96b264 Update src/qualroute.c 2018-10-09 15:55:19 -04:00
Lew Rossman
7c021cf533 Fixed water quality mass balance issue (#160) 2018-10-09 12:53:20 -04:00
Elad Salomons
4848f692f6 Merge pull request #296 from eladsal/dev-dem-cat
Add demand names get\set APIs
Close #294
2018-10-01 10:47:40 +03:00
Elad Salomons
75ad505601 Merge pull request #293 from Mariosmsk/EN_HEADLOSSFORM
add option EN_HEADLOSSFORM in function ENgetoption

Thank you @Mariosmsk
2018-09-29 10:09:51 +03:00
Elad Salomons
0932ef7d80 Update ReleaseNotes2_2.md 2018-09-26 12:24:11 +03:00
Elad Salomons
0b5c5a3b7e Test for set\get demand categories 2018-09-26 12:13:49 +03:00
Elad Salomons
c1c80da667 Add APIs to get\set demand categories names 2018-09-26 11:15:37 +03:00
Elad Salomons
1e42b7f70d Merge pull request #291 from eladsal/dev-dem-cat
Read and write the demand categories names
2018-09-25 16:38:51 +03:00
Marios Kyriakou
982ff903e3 add option EN_HEADLOSSFORM in function ENgetoption 2018-09-23 19:41:27 +03:00
Elad Salomons
fbaf2a6061 Update release notes
Added placeholders for new API functions, general changes, new definitions and list of contributing authors
2018-09-22 11:29:56 +03:00
Elad Salomons
cc21b55b68 Read and write demand categories names
Fixes #290
2018-09-22 11:19:05 +03:00
Elad Salomons
054c48c48a Merge pull request #287 from eladsal/dev-default-pattern
Add option to get\set default demand pattern
2018-09-21 17:22:28 +03:00
Michael Tryby
3afb14a6c8 Merge pull request #288 from michaeltryby/dev
Fixing memory leak
2018-09-18 16:10:35 -04:00
Michael Tryby
b1bb94fa74 Fixing memory leak 2018-09-18 16:02:56 -04:00
Elad Salomons
dad11cce8d Add option to get\set default demand pattern
also updates the net builder test
2018-09-15 14:22:20 +03:00
Michael Tryby
43e5c42d9d Merge pull request #285 from michaeltryby/dev
Fixes error messages
2018-09-14 16:29:03 -04:00
Michael Tryby
aadfb19a74 Reverting ENepanet from runconcurrent() to EN_runproject() 2018-09-14 15:59:41 -04:00
Michael Tryby
945280e441 Fixing bug in geterrmsg() 2018-09-14 15:51:51 -04:00
Michael Tryby
5cdb33110e Merge pull request #282 from LRossman/lrossman-dev
Fixes zero flow (#164) and D-W eqn. (#199) issues
2018-09-13 17:03:02 -04:00
Michael Tryby
d164293d8d Triggering appveyor build 2018-09-13 16:48:45 -04:00
Elad Salomons
902dac953f Merge pull request #278 from eladsal/net-builder-es
Test  for the net builder functions
2018-09-13 23:22:20 +03:00
Michael Tryby
2a86252a10 Updating benchmark 2018-09-13 16:20:52 -04:00
Michael Tryby
7e6ceb4366 Resolving merge conflicts 2018-09-13 10:54:11 -04:00
Michael Tryby
bec729a669 Fixing compiler warnings 2018-09-13 10:48:55 -04:00
Elad Salomons
8e96d1e7a3 Fixing casting of chars (take 2) 2018-09-13 17:21:33 +03:00
Elad Salomons
735811dd60 Revert "Fixing char casting in test file"
This reverts commit 8d5d20f542.
2018-09-13 16:17:06 +03:00
Elad Salomons
8d5d20f542 Fixing char casting in test file 2018-09-13 15:33:12 +03:00
Lew Rossman
e45a23c4ef More robust method for handling zero/low flows (#164) 2018-09-12 10:38:01 -04:00
Lew Rossman
dab7be8446 Updates to fix zero flow (#164) and D-W eqn. (#199) issues 2018-09-11 13:15:15 -04:00
Lew Rossman
836d9c3668 Revert "Fixes zero flow issue (#164) and DW eqn. (#199)"
This reverts commit 6b808c03ab.
2018-09-11 11:04:47 -04:00
Lew Rossman
6b808c03ab Fixes zero flow issue (#164) and DW eqn. (#199) 2018-09-11 09:48:01 -04:00
Elad Salomons
7cf8d53356 Explicitly set demant patterns for junctions
This is since there is currently no way to set the default demand pattern. Should be fixed in #280 and then the test can be changed.
2018-09-06 12:07:14 +03:00