Skip to content

Commit

Permalink
change dp_nominal = 0 Pa to dp_nominal = 1 Pa to avoid division by ze…
Browse files Browse the repository at this point in the history
…ro error
  • Loading branch information
lucasverleyen committed Oct 23, 2024
1 parent 0981725 commit 0b4d726
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ model Thermostatic3WayValve "Example of a thermostatic three way valve"
use_riseTime=false,
m_flow_nominal=m_flow_nominal,
tau=1,
dp_nominal = 0,
dp_nominal=1,
energyDynamics=Modelica.Fluid.Types.Dynamics.SteadyState)
annotation (Placement(transformation(extent={{38,8},{58,28}})));
Sources.Boundary_pT sou1(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ model ThreeWayValveMotor
use_riseTime=false,
m_flow_nominal=1,
tau=30,
dp_nominal = 0,
dp_nominal=1,
energyDynamics=Modelica.Fluid.Types.Dynamics.SteadyState)
annotation (Placement(transformation(
extent={{-10,10},{10,-10}},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ model ThreeWayValveSwitch "Test the new component ThreeWayValveSwitch"
use_riseTime=false,
m_flow_nominal=1,
tau=30,
dp_nominal = 0,
dp_nominal=1,
inputType=IDEAS.Fluid.Types.InputType.Constant,
energyDynamics=Modelica.Fluid.Types.Dynamics.SteadyState)
annotation (Placement(transformation(extent={{70,0},{90,20}})));
Expand Down

0 comments on commit 0b4d726

Please sign in to comment.