OpenWaterAnalytics / epanet-python

python wrapper for epanet library
76 stars 40 forks source link

Update epamodule.py #55

Closed GalPerelman closed 4 years ago

GalPerelman commented 4 years ago

Following the release of epanet 2.2 version and new API functions available, two functions were added to epamodule.py : 1) ENsettitle 2) ENsetflowunits

eladsal commented 4 years ago

Thank you @GalPerelman.

The ENsettitle function should take three title lines, see here: https://github.com/OpenWaterAnalytics/EPANET/blob/dev/src/epanet2.c#L107

GalPerelman commented 4 years ago

@eladsal You are absolutely right, I fixed it according to the ENsettitle documentation