Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien Picard committed Mar 4, 2015
1 parent 780f9e6 commit da07015
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions Annex60/Fluid/Movers/BaseClasses/ControlledFlowMachine.mo
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ model ControlledFlowMachine
final rho_default = Medium.density(sta_default));

import cha = Annex60.Fluid.Movers.BaseClasses.Characteristics;
// parameter Modelica.SIunits.MassFlowRate m_flow_nominal
// "Nominal mass flow rate, used as flow rate if control_m_flow";
// parameter Modelica.SIunits.MassFlowRate m_flow_max = m_flow_nominal
// "Maximum mass flow rate (at zero head)";

// what to control
constant Boolean control_m_flow "= false to control head instead of m_flow"
annotation(Evaluate=true);
Expand Down
1 change: 0 additions & 1 deletion Annex60/Fluid/Movers/BaseClasses/PowerInterface.mo
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ initial algorithm

equation
eta = etaHyd * etaMot;
// WFlo = eta * P;
// Flow work
WFlo = dpMachine*VMachine_flow;
// Hydraulic power (transmitted by shaft), etaHyd = WFlo/WHyd
Expand Down

0 comments on commit da07015

Please sign in to comment.