oemof / tespy

Thermal Engineering Systems in Python (TESPy). This package provides a powerful simulation toolkit for thermal engineering plants such as power plants, district heating systems or heat pumps.
https://tespy.readthedocs.io
MIT License
272 stars 85 forks source link

The parameters used for pressure loss calculation in pipe flow are not unique #261

Closed fwitte closed 12 months ago

fwitte commented 3 years ago

They should be. At the moment, it is possible to specify the method for the parameter group "hydro_group" by choosing "HW" for the Hazen-Williams equation and any other parameter (or no parameter at all) for the Darcy-Weisbach equation. The roughness parameter (ks) is entirely different for both methods. Therefore, the implementation should be changed in the following way:

fwitte commented 1 year ago

FutureWarning is issued in 510e89a71ef7af53e581c371c710161181b63849

fwitte commented 12 months ago

Closed via #384