diff --git a/src/rtctools_heat_network/esdl/esdl_heat_model.py b/src/rtctools_heat_network/esdl/esdl_heat_model.py index 6317e411..6238ffca 100644 --- a/src/rtctools_heat_network/esdl/esdl_heat_model.py +++ b/src/rtctools_heat_network/esdl/esdl_heat_model.py @@ -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: @@ -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: