epanet-python
epanet-python copied to clipboard
Set Head for Reservoir
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 ?