Skip to content

Commit

Permalink
update on int to float for pressure
Browse files Browse the repository at this point in the history
  • Loading branch information
FJanssen-TNO committed Mar 19, 2024
1 parent 4ba25e8 commit e76a64d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rtctools_heat_network/esdl/esdl_heat_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def get_density(self, asset_name, carrier):
"T",
273.15 + temperature,
"P",
carrier.pressure * 1e5,
carrier.pressure * 1.0e5,
NetworkSettings.NETWORK_COMPOSITION_GAS,
)
elif NetworkSettings.NETWORK_TYPE_HYDROGEN in carrier.name:
Expand All @@ -110,7 +110,7 @@ def get_density(self, asset_name, carrier):
"T",
273.15 + temperature,
"P",
carrier.pressure * 1e5,
carrier.pressure * 1.0e5,
str(NetworkSettings.NETWORK_TYPE_HYDROGEN).upper(),
)
else:
Expand Down

0 comments on commit e76a64d

Please sign in to comment.