Skip to content

Commit

Permalink
Bugfix: Export correct pressure unit
Browse files Browse the repository at this point in the history
  • Loading branch information
andreArtelt committed Jun 14, 2024
1 parent 03d8fa4 commit 386365b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epyt_flow/simulation/scada/scada_data_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def create_column_desc(self, scada_data: ScadaData) -> np.ndarray:

def __get_sensor_unit(sensor_type):
if sensor_type == "pressure":
if is_flowunit_simetric(scada_data.sensor_config.flow_unit):
if not is_flowunit_simetric(scada_data.sensor_config.flow_unit):
return "psi"
else:
return "meter"
Expand Down

0 comments on commit 386365b

Please sign in to comment.