Skip to content

Commit

Permalink
Fix wrong medium definition
Browse files Browse the repository at this point in the history
  • Loading branch information
nieweber committed Sep 28, 2023
1 parent fde5d85 commit 65eeb46
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ model CrossFlowNTU_zeroMassFlow
p0_par=100000) annotation (Placement(transformation(extent={{116,-10},{136,
10}})));

ThermofluidStream.Sensors.MultiSensor_Tpm multiSensor_Tpm1(redeclare package
Medium = MediumA,
ThermofluidStream.Sensors.MultiSensor_Tpm multiSensor_Tpm1(redeclare package Medium =
MediumA,
digits=3,
temperatureUnit="degC") annotation (Placement(transformation(
extent={{10,-10},{-10,10}},
Expand All @@ -49,14 +49,14 @@ model CrossFlowNTU_zeroMassFlow
annotation (Placement(transformation(extent={{10,-10},{-10,10}},
rotation=90,
origin={0,-54})));
ThermofluidStream.Sensors.MultiSensor_Tpm multiSensor_Tpm2(redeclare package
Medium = MediumB,
ThermofluidStream.Sensors.MultiSensor_Tpm multiSensor_Tpm2(redeclare package Medium =
MediumB,
temperatureUnit="degC")
annotation (Placement(transformation(extent={{10,-10},{-10,10}},
rotation=90,
origin={-10,-24})));
ThermofluidStream.Sensors.MultiSensor_Tpm multiSensor_Tpm3(redeclare package
Medium = MediumB, outputMassFlowRate=false,
ThermofluidStream.Sensors.MultiSensor_Tpm multiSensor_Tpm3(redeclare package Medium =
MediumB, outputMassFlowRate=false,
temperatureUnit="degC")
annotation (Placement(transformation(extent={{10,-10},{-10,10}},
rotation=90,
Expand All @@ -74,19 +74,19 @@ model CrossFlowNTU_zeroMassFlow
"if time < 1500 then sourceA.p0*0.8 else sourceA.p0"
annotation (Placement(transformation(extent={{162,-10},{142,10}})));
Processes.FlowResistance flowResistanceA(
redeclare package Medium = MediumB,
redeclare package Medium = MediumA,
initM_flow=ThermofluidStream.Utilities.Types.InitializationMethods.state,
r=0.005,
l=0.5,
redeclare function pLoss = Processes.Internal.FlowResistance.linearQuadraticPressureLoss(
redeclare function pLoss = Processes.Internal.FlowResistance.linearQuadraticPressureLoss (
k=1e5))
annotation (Placement(transformation(extent={{-102,-10},{-82,10}})));
Processes.FlowResistance flowResistanceB(
redeclare package Medium = MediumB,
initM_flow=ThermofluidStream.Utilities.Types.InitializationMethods.state,
r=0.005,
l=0.5,
redeclare function pLoss = Processes.Internal.FlowResistance.linearQuadraticPressureLoss(
redeclare function pLoss = Processes.Internal.FlowResistance.linearQuadraticPressureLoss (
k=1e5))
annotation (Placement(transformation(
extent={{10,-10},{-10,10}},
Expand Down

0 comments on commit 65eeb46

Please sign in to comment.