Replies: 6 comments
-
That is a good point. I remember that we once tried to mainly use basic SI units for the variables, but from the usability point of view, this doesn't really make much sense. Yet, this would also be a change to the API and requires some work to be backwards compatible, as we already learnt with pandapower v2.0 . If we agree to such a change, we should consider also changing other units, e.g. for mass flow from kg/s to kg/h, or rather use norm volume flows (e.g. for sinks), as they are typically less dependent on fluid properties (they can vary greatly between liquids and gases). |
Beta Was this translation helpful? Give feedback.
-
Regarding the diameter, maybe millimeter would be a good choice, as it also used in the standards. |
Beta Was this translation helpful? Give feedback.
-
Is there an equivalent function to the pandapower convert_format function in pandapipes? |
Beta Was this translation helpful? Give feedback.
-
Yes, convert_format also exists in pandapipes. |
Beta Was this translation helpful? Give feedback.
-
I guess the best solution is the following: We change m to mm in case of diameter as this is the standard. In case of all other units: I would suggest we don't change them, however, we could think about convenience function which enable switches between the units. |
Beta Was this translation helpful? Give feedback.
-
What about kg/s -> kg/h? I would not hesitate to change the units if it makes the data structure more user friendly. Better to change the units once than to sustain a suboptimal user interface... |
Beta Was this translation helpful? Give feedback.
-
The diameter unit is currently given in meters.
For normal pipe diameters it seems more user friendly to me to allow the input in cm instead of meters. "This pipe has a diameter of 86 cm" seems much more intuitive to me than "This pipe has a diameter of 0.86 m".
Is there a good reason to use meters instead of centimeters here?
Beta Was this translation helpful? Give feedback.
All reactions