epanet-python icon indicating copy to clipboard operation
epanet-python copied to clipboard

Set Head for Reservoir

Open pajarrige opened this issue 2 years ago • 0 comments

The function setnodevalue does not accept property EN_HEAD for a node of type EN_RESERVOIR (Error 251: function call contains invalid parameter code). It seems that the only way to set a reservoir head is using EN_ELEVATION. This works fine but is not consistent with the reservoir documentation (reservoir attribute is head, not elevation). Maybe a specific function needed ?

pajarrige avatar Oct 27 '23 13:10 pajarrige