Skip to content

Commit

Permalink
Change energy balances in FlowMachines_m_flow
Browse files Browse the repository at this point in the history
To avoid the use of default start values, the energy balances have been
set to fixed initial. #31
  • Loading branch information
marcusfuchs committed Jun 12, 2014
1 parent 28b8f6d commit f9aaa17
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Annex60/Fluid/Movers/Examples/FlowMachine_m_flow.mo
Expand Up @@ -7,11 +7,13 @@ model FlowMachine_m_flow
redeclare Annex60.Fluid.Movers.FlowMachine_m_flow floMacSta(
redeclare package Medium = Medium,
m_flow_nominal=m_flow_nominal,
filteredSpeed=false),
filteredSpeed=false,
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial),
redeclare Annex60.Fluid.Movers.FlowMachine_m_flow floMacDyn(
redeclare package Medium = Medium,
m_flow_nominal=m_flow_nominal,
filteredSpeed=false));
filteredSpeed=false,
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial));

equation
connect(gain.y, floMacSta.m_flow_in) annotation (Line(
Expand Down

0 comments on commit f9aaa17

Please sign in to comment.