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
Elad Salomons
8a84668f63
Updated header files following #751
...
Updated header files following #751
2023-09-14 13:35:05 +03:00
Lew Rossman
a2c0ff7889
Fix trace node id parser error
2023-09-11 18:23:49 -04:00
Lew Rossman
6aa2a21327
Change PCV settings from fraction to percent
2023-08-17 14:54:59 -04:00
Lew Rossman
353ba4eb34
Allow API to get/set type of status report
...
The existing EN_setstatusreport function only allows one to set the level of status reporting and not retrieve this value. A new EN_STATUS_REPORT constant was added, to be used with EN_setoption and EN_getoption, to provide read/write access to the level of status reporting.
2023-07-19 09:15:25 -04:00
Lew Rossman
3acfb6dae3
Added retrieval of emitter flow to the API
2023-07-06 15:35:30 -04:00
Lew Rossman
a9079b023b
Allow simple controls to set valves OPEN/CLOSED
2023-05-13 12:29:35 -04:00
Luke Butler
843f1f4e37
Added support for cubic meters per second (CMS)
2023-02-20 09:43:42 -05:00
Lew Rossman
847fa82139
Add emitter backflow option
...
Adds a global hydraulic option to allow backflow or not through emitter elements. To maintain backward compatibility the default is YES.
2023-02-05 15:16:20 -05:00
Lew Rossman
5b3d75cc0d
Updated language binding files added.
2022-08-16 13:13:39 -04:00
Lew Rossman
67f7d8f76b
Merge branch 'dev' into dev_2.3
2020-07-10 14:36:46 -04:00
Elad Salomons
e7ccf5281f
Update include files
2020-05-22 21:43:14 +03:00
Lew Rossman
80f9acfe4d
Network building enhancements
2020-02-04 10:01:23 -05:00
Lew Rossman
bacedc87c9
Update epanet2.pas
2019-11-12 10:04:45 -05:00
Lew Rossman
6c54bb3a59
Adds error check to EN_setheadcurveindex
...
See issue #556 .
2019-11-09 09:36:10 -05:00
Lew Rossman
9998466d20
Bug fix for EN_getrule
...
Fixes possible seg fault condition in EN_getrule. Also defines EN_MISSING as an API constant since it can be assigned internally to several variables that are retrievable by the API.
2019-11-05 10:09:21 -05:00
Lew Rossman
3bd4039d95
Bug fix for EN_setcurve
...
Adjusts params of any pump that uses the curve whose data is modified by EN_setcurve or EN_setcurvevalue (issue #550 ).
2019-11-02 11:17:25 -04:00
Lew Rossman
7aadc83ddf
Adds link vertex get/set functions to the API
2019-10-29 16:33:40 -04:00
Lew Rossman
b640a8685c
Adds EN_getresultindex function to the API
...
See issue #546 . Also fixes a small bug in project.c.
2019-10-26 11:25:09 -04:00
Lew Rossman
a89f339525
PDA fixes
2019-07-22 09:50:41 -04:00