IEA EBC Annex 60 EBC logo

Annex60.Fluid.Movers

Package with fan and pump models

Information

This package contains components models for fans and pumps.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Annex60.Fluid.Movers.UsersGuide UsersGuide User's Guide
Annex60.Fluid.Movers.FlowControlled_dp FlowControlled_dp Fan or pump with ideally controlled head dp as input signal
Annex60.Fluid.Movers.FlowControlled_m_flow FlowControlled_m_flow Fan or pump with ideally controlled mass flow rate as input signal
Annex60.Fluid.Movers.SpeedControlled_Nrpm SpeedControlled_Nrpm Fan or pump with ideally controlled speed Nrpm as input signal
Annex60.Fluid.Movers.SpeedControlled_y SpeedControlled_y Fan or pump with ideally controlled normalized speed y as input signal
Annex60.Fluid.Movers.Data Data Package containing data for real pumps/fans
Annex60.Fluid.Movers.Examples Examples Collection of models that illustrate model use and test models
Annex60.Fluid.Movers.Validation Validation Collection of validation models
Annex60.Fluid.Movers.BaseClasses BaseClasses Package with base classes for Annex60.Fluid.Movers

Annex60.Fluid.Movers.FlowControlled_dp Annex60.Fluid.Movers.FlowControlled_dp

Fan or pump with ideally controlled head dp as input signal

Annex60.Fluid.Movers.FlowControlled_dp

Information

This model describes a fan or pump with prescribed head. The input connector provides the difference between outlet minus inlet pressure. The efficiency of the device is computed based on the efficiency and pressure curves that are defined in record per, which is of type Annex60.Fluid.Movers.SpeedControlled_Nrpm.

If filteredSpeed=true, then the parameter dp_nominal is used to normalize the filter. This is used to improve the numerics of the transient response. The actual pressure raise of the mover at steady-state is independent of the value of dp_nominal. It is recommended to set dp_nominal to approximately the pressure raise that the fan has during full speed.

See the User's Guide for more information.

Extends from Annex60.Fluid.Movers.BaseClasses.PartialFlowMachine (Partial model to interface fan or pump models with the medium).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium in the component
Genericperredeclare parameter Annex60....Record with performance data
BooleancomputePowerUsingSimilarityLawsper.havePressureCurve= true, compute power exactly, using similarity laws. Otherwise approximate.
BooleanaddPowerToMediumtrueSet to false to avoid any power (=heat and flow work) being added to medium (may give simpler equations)
BooleannominalValuesDefineDefaultPressureCurvefalseSet to true to avoid warning if m_flow_nominal and dp_nominal are used to construct the default pressure curve
PressureDifferenceconstantHeaddp_nominalConstant pump head, used when inputType=Constant [Pa]
PressureDifferenceheads[:]dp_nominal*{(per.speeds[i]/p...Vector of head set points, used when inputType=Stages [Pa]
Nominal condition
MassFlowRatem_flow_nominal Nominal mass flow rate [kg/s]
PressureDifferencedp_nominalif rho_default < 500 then 50...Nominal pressure raise, used to normalized the filter if filteredSpeed=true, to set default values of constantHead and heads, and and for default pressure curve if not specified in record per [Pa]
Control
InputTypeinputTypeAnnex60.Fluid.Types.InputTyp...Control input type
Dynamics
Equations
DynamicsenergyDynamicsModelica.Fluid.Types.Dynamic...Type of energy balance: dynamic (3 initialization options) or steady state
DynamicsmassDynamicsenergyDynamicsType of mass balance: dynamic (3 initialization options) or steady state
Nominal condition
Timetau1Time constant of fluid volume for nominal flow, used if energy or mass balance is dynamic [s]
Filtered speed
BooleanfilteredSpeedtrue= true, if speed is filtered with a 2nd order CriticalDamping filter
TimeriseTime30Rise time of the filter (time to reach 99.6 % of the speed) [s]
InitinitModelica.Blocks.Types.Init.I...Type of initialization (no init/steady state/initial state/initial output)
Realy_start0Initial value of speed [1]
PressureDifferencedp_start0Initial value of pressure raise [Pa]
Initialization
AbsolutePressurep_startMedium.p_defaultStart value of pressure [Pa]
TemperatureT_startMedium.T_defaultStart value of temperature [K]
MassFractionX_start[Medium.nX]Medium.X_defaultStart value of mass fractions m_i/m [kg/kg]
ExtraPropertyC_start[Medium.nC]fill(0, Medium.nC)Start value of trace substances
ExtraPropertyC_nominal[Medium.nC]fill(1E-2, Medium.nC)Nominal value of trace substances. (Set to typical order of magnitude.)
Assumptions
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Advanced
MassFlowRatem_flow_small1E-4*abs(m_flow_nominal)Small mass flow rate for regularization of zero flow [kg/s]
Diagnostics
Booleanshow_Tfalse= true, if actual temperature at port is computed

Connectors

TypeNameDescription
FluidPort_aport_aFluid connector a (positive design flow direction is from port_a to port_b)
FluidPort_bport_bFluid connector b (positive design flow direction is from port_a to port_b)
input IntegerInputstageStage input signal for the pressure head
output RealOutputy_actualActual normalised pump speed that is used for computations [1]
output RealOutputPElectrical power consumed [W]
HeatPort_aheatPortHeat dissipation to environment
input RealInputdp_inPrescribed pressure rise [Pa]
output RealOutputdp_actual[Pa]

Modelica definition

model FlowControlled_dp "Fan or pump with ideally controlled head dp as input signal" extends Annex60.Fluid.Movers.BaseClasses.PartialFlowMachine( final preVar=Annex60.Fluid.Movers.BaseClasses.Types.PrescribedVariable.PressureDifference, final computePowerUsingSimilarityLaws=per.havePressureCurve, preSou(dp_start=dp_start), final stageInputs(each final unit="Pa") = heads, final constInput(final unit="Pa") = constantHead, filter( final y_start=dp_start, u_nominal=abs(dp_nominal), u(final unit="Pa"), y(final unit="Pa")), eff( per( final pressure = if per.havePressureCurve then per.pressure else Annex60.Fluid.Movers.BaseClasses.Characteristics.flowParameters( V_flow = {i/(nOri-1)*2.0*m_flow_nominal/rho_default for i in 0:(nOri-1)}, dp = {i/(nOri-1)*2.0*dp_nominal for i in (nOri-1):-1:0}), final use_powerCharacteristic = if per.havePressureCurve then per.use_powerCharacteristic else false))); parameter Modelica.SIunits.PressureDifference dp_start( min=0, displayUnit="Pa")=0 "Initial value of pressure raise"; // For air, we set dp_nominal = 600 as default, for water we set 10000 parameter Modelica.SIunits.PressureDifference dp_nominal( min=0, displayUnit="Pa")= if rho_default < 500 then 500 else 10000 "Nominal pressure raise, used to normalized the filter if filteredSpeed=true, to set default values of constantHead and heads, and and for default pressure curve if not specified in record per"; parameter Modelica.SIunits.PressureDifference constantHead( min=0, displayUnit="Pa")=dp_nominal "Constant pump head, used when inputType=Constant"; // By default, set heads proportional to sqrt(speed/speed_nominal) parameter Modelica.SIunits.PressureDifference[:] heads( each min=0, each displayUnit="Pa")= dp_nominal*{(per.speeds[i]/per.speeds[end])^2 for i in 1:size(per.speeds, 1)} "Vector of head set points, used when inputType=Stages"; Modelica.Blocks.Interfaces.RealInput dp_in(final unit="Pa") if inputType == Annex60.Fluid.Types.InputType.Continuous "Prescribed pressure rise"; Modelica.Blocks.Interfaces.RealOutput dp_actual(final unit="Pa"); protected Modelica.Blocks.Math.Gain gain(final k=-1); equation assert(inputSwitch.u >= -1E-3, "Pressure set point for mover cannot be negative. Obtained dp = " + String(inputSwitch.u)); if filteredSpeed then connect(filter.y, gain.u); else connect(inputSwitch.y, gain.u); end if; connect(inputSwitch.u, dp_in); connect(preSou.dp_in, gain.y); connect(gain.u, dp_actual); end FlowControlled_dp;

Annex60.Fluid.Movers.FlowControlled_m_flow Annex60.Fluid.Movers.FlowControlled_m_flow

Fan or pump with ideally controlled mass flow rate as input signal

Annex60.Fluid.Movers.FlowControlled_m_flow

Information

This model describes a fan or pump with prescribed mass flow rate. The efficiency of the device is computed based on the efficiency and pressure curves that are defined in record per, which is of type Annex60.Fluid.Movers.SpeedControlled_Nrpm.

See the User's Guide for more information.

Extends from Annex60.Fluid.Movers.BaseClasses.PartialFlowMachine (Partial model to interface fan or pump models with the medium).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium in the component
Genericperredeclare parameter Annex60....Record with performance data
BooleancomputePowerUsingSimilarityLawsper.havePressureCurve= true, compute power exactly, using similarity laws. Otherwise approximate.
BooleanaddPowerToMediumtrueSet to false to avoid any power (=heat and flow work) being added to medium (may give simpler equations)
BooleannominalValuesDefineDefaultPressureCurvefalseSet to true to avoid warning if m_flow_nominal and dp_nominal are used to construct the default pressure curve
MassFlowRateconstantMassFlowRatem_flow_nominalConstant pump mass flow rate, used when inputType=Constant [kg/s]
MassFlowRatemassFlowRates[:]m_flow_nominal*{per.speeds[i...Vector of mass flow rate set points, used when inputType=Stage [kg/s]
Nominal condition
MassFlowRatem_flow_nominal Nominal mass flow rate [kg/s]
PressureDifferencedp_nominalif rho_default < 500 then 50...Nominal pressure raise, used for default pressure curve if not specified in record per [Pa]
Control
InputTypeinputTypeAnnex60.Fluid.Types.InputTyp...Control input type
Dynamics
Equations
DynamicsenergyDynamicsModelica.Fluid.Types.Dynamic...Type of energy balance: dynamic (3 initialization options) or steady state
DynamicsmassDynamicsenergyDynamicsType of mass balance: dynamic (3 initialization options) or steady state
Nominal condition
Timetau1Time constant of fluid volume for nominal flow, used if energy or mass balance is dynamic [s]
Filtered speed
BooleanfilteredSpeedtrue= true, if speed is filtered with a 2nd order CriticalDamping filter
TimeriseTime30Rise time of the filter (time to reach 99.6 % of the speed) [s]
InitinitModelica.Blocks.Types.Init.I...Type of initialization (no init/steady state/initial state/initial output)
Realy_start0Initial value of speed [1]
MassFlowRatem_flow_start0Initial value of mass flow rate [kg/s]
Initialization
AbsolutePressurep_startMedium.p_defaultStart value of pressure [Pa]
TemperatureT_startMedium.T_defaultStart value of temperature [K]
MassFractionX_start[Medium.nX]Medium.X_defaultStart value of mass fractions m_i/m [kg/kg]
ExtraPropertyC_start[Medium.nC]fill(0, Medium.nC)Start value of trace substances
ExtraPropertyC_nominal[Medium.nC]fill(1E-2, Medium.nC)Nominal value of trace substances. (Set to typical order of magnitude.)
Assumptions
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Advanced
MassFlowRatem_flow_small1E-4*abs(m_flow_nominal)Small mass flow rate for regularization of zero flow [kg/s]
Diagnostics
Booleanshow_Tfalse= true, if actual temperature at port is computed

Connectors

TypeNameDescription
FluidPort_aport_aFluid connector a (positive design flow direction is from port_a to port_b)
FluidPort_bport_bFluid connector b (positive design flow direction is from port_a to port_b)
input IntegerInputstageStage input signal for the pressure head
output RealOutputy_actualActual normalised pump speed that is used for computations [1]
output RealOutputPElectrical power consumed [W]
HeatPort_aheatPortHeat dissipation to environment
input RealInputm_flow_inPrescribed mass flow rate [kg/s]
output RealOutputm_flow_actualActual mass flow rate [kg/s]

Modelica definition

model FlowControlled_m_flow "Fan or pump with ideally controlled mass flow rate as input signal" extends Annex60.Fluid.Movers.BaseClasses.PartialFlowMachine( final preVar=Annex60.Fluid.Movers.BaseClasses.Types.PrescribedVariable.FlowRate, final computePowerUsingSimilarityLaws=per.havePressureCurve, final stageInputs(each final unit="kg/s")=massFlowRates, final constInput(final unit="kg/s")=constantMassFlowRate, filter( final y_start=m_flow_start, u_nominal=m_flow_nominal, u(final unit="kg/s"), y(final unit="kg/s")), eff( per( final pressure = if per.havePressureCurve then per.pressure else Annex60.Fluid.Movers.BaseClasses.Characteristics.flowParameters( V_flow = {i/(nOri-1)*2.0*m_flow_nominal/rho_default for i in 0:(nOri-1)}, dp = {i/(nOri-1)*2.0*dp_nominal for i in (nOri-1):-1:0}), final use_powerCharacteristic = if per.havePressureCurve then per.use_powerCharacteristic else false)), preSou(m_flow_start=m_flow_start)); // For air, we set dp_nominal = 600 as default, for water we set 10000 parameter Modelica.SIunits.PressureDifference dp_nominal(min=0, displayUnit="Pa")= if rho_default < 500 then 500 else 10000 "Nominal pressure raise, used for default pressure curve if not specified in record per"; parameter Modelica.SIunits.MassFlowRate m_flow_start(min=0)=0 "Initial value of mass flow rate"; parameter Modelica.SIunits.MassFlowRate constantMassFlowRate=m_flow_nominal "Constant pump mass flow rate, used when inputType=Constant"; // By default, set massFlowRates proportional to (speed/speed_nominal) parameter Modelica.SIunits.MassFlowRate[:] massFlowRates= m_flow_nominal*{per.speeds[i]/per.speeds[end] for i in 1:size(per.speeds, 1)} "Vector of mass flow rate set points, used when inputType=Stage"; Modelica.Blocks.Interfaces.RealInput m_flow_in( final unit="kg/s", nominal=m_flow_nominal) if inputType == Annex60.Fluid.Types.InputType.Continuous "Prescribed mass flow rate"; Modelica.Blocks.Interfaces.RealOutput m_flow_actual( final unit="kg/s", nominal=m_flow_nominal) "Actual mass flow rate"; equation if filteredSpeed then connect(filter.y, m_flow_actual); else connect(inputSwitch.y, preSou.m_flow_in); end if; connect(m_flow_actual, preSou.m_flow_in); connect(inputSwitch.u, m_flow_in); end FlowControlled_m_flow;

Annex60.Fluid.Movers.SpeedControlled_Nrpm Annex60.Fluid.Movers.SpeedControlled_Nrpm

Fan or pump with ideally controlled speed Nrpm as input signal

Annex60.Fluid.Movers.SpeedControlled_Nrpm

Information

This model describes a fan or pump with prescribed speed in revolutions per minute. The head is computed based on the performance curve that take as an argument the actual volume flow rate divided by the maximum flow rate and the relative speed of the fan. The efficiency of the device is computed based on the efficiency curves that take as an argument the actual volume flow rate divided by the maximum possible volume flow rate, or based on the motor performance curves.

See the User's Guide for more information.

Extends from Annex60.Fluid.Movers.BaseClasses.PartialFlowMachine (Partial model to interface fan or pump models with the medium).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium in the component
Genericperredeclare parameter Annex60....Record with performance data
BooleancomputePowerUsingSimilarityLawstrue= true, compute power exactly, using similarity laws. Otherwise approximate.
BooleanaddPowerToMediumtrueSet to false to avoid any power (=heat and flow work) being added to medium (may give simpler equations)
BooleannominalValuesDefineDefaultPressureCurvefalseSet to true to avoid warning if m_flow_nominal and dp_nominal are used to construct the default pressure curve
Nominal condition
MassFlowRatem_flow_nominalmax(per.pressure.V_flow)*rho...Nominal mass flow rate [kg/s]
Control
InputTypeinputTypeAnnex60.Fluid.Types.InputTyp...Control input type
Dynamics
Equations
DynamicsenergyDynamicsModelica.Fluid.Types.Dynamic...Type of energy balance: dynamic (3 initialization options) or steady state
DynamicsmassDynamicsenergyDynamicsType of mass balance: dynamic (3 initialization options) or steady state
Nominal condition
Timetau1Time constant of fluid volume for nominal flow, used if energy or mass balance is dynamic [s]
Filtered speed
BooleanfilteredSpeedtrue= true, if speed is filtered with a 2nd order CriticalDamping filter
TimeriseTime30Rise time of the filter (time to reach 99.6 % of the speed) [s]
InitinitModelica.Blocks.Types.Init.I...Type of initialization (no init/steady state/initial state/initial output)
Realy_start0Initial value of speed [1]
Initialization
AbsolutePressurep_startMedium.p_defaultStart value of pressure [Pa]
TemperatureT_startMedium.T_defaultStart value of temperature [K]
MassFractionX_start[Medium.nX]Medium.X_defaultStart value of mass fractions m_i/m [kg/kg]
ExtraPropertyC_start[Medium.nC]fill(0, Medium.nC)Start value of trace substances
ExtraPropertyC_nominal[Medium.nC]fill(1E-2, Medium.nC)Nominal value of trace substances. (Set to typical order of magnitude.)
Assumptions
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Advanced
MassFlowRatem_flow_small1E-4*abs(m_flow_nominal)Small mass flow rate for regularization of zero flow [kg/s]
Diagnostics
Booleanshow_Tfalse= true, if actual temperature at port is computed

Connectors

TypeNameDescription
FluidPort_aport_aFluid connector a (positive design flow direction is from port_a to port_b)
FluidPort_bport_bFluid connector b (positive design flow direction is from port_a to port_b)
input IntegerInputstageStage input signal for the pressure head
output RealOutputy_actualActual normalised pump speed that is used for computations [1]
output RealOutputPElectrical power consumed [W]
HeatPort_aheatPortHeat dissipation to environment
input RealInputNrpmPrescribed rotational speed [1/min]

Modelica definition

model SpeedControlled_Nrpm "Fan or pump with ideally controlled speed Nrpm as input signal" extends Annex60.Fluid.Movers.BaseClasses.PartialFlowMachine( final preVar=Annex60.Fluid.Movers.BaseClasses.Types.PrescribedVariable.Speed, final nominalValuesDefineDefaultPressureCurve=false, final computePowerUsingSimilarityLaws=true, final m_flow_nominal = max(per.pressure.V_flow)*rho_default, final stageInputs(each final unit="1") = per.speeds, final constInput(final unit="1") = per.constantSpeed, filter( final y_start=y_start, u_nominal=1, u(final unit="1"), y(final unit="1")), eff( per(final pressure = per.pressure, final use_powerCharacteristic = per.use_powerCharacteristic)), gaiSpe(u(final unit="1/min"), final k=1/per.speed_rpm_nominal)); Modelica.Blocks.Interfaces.RealInput Nrpm(final unit="1/min") if inputType == Annex60.Fluid.Types.InputType.Continuous "Prescribed rotational speed"; protected Modelica.Blocks.Math.Gain gain(final k=-1) "Pressure gain"; initial equation assert(per.havePressureCurve, "SpeedControlled_Nrpm model requires to set the pressure vs. flow rate curve in record 'per'."); equation connect(Nrpm, gaiSpe.u); connect(gaiSpe.y, inputSwitch.u); connect(eff.dp, gain.u); connect(gain.y, preSou.dp_in); if filteredSpeed then connect(filter.y, eff.y_in); else connect(inputSwitch.y, eff.y_in); end if; end SpeedControlled_Nrpm;

Annex60.Fluid.Movers.SpeedControlled_y Annex60.Fluid.Movers.SpeedControlled_y

Fan or pump with ideally controlled normalized speed y as input signal

Annex60.Fluid.Movers.SpeedControlled_y

Information

This model describes a fan or pump with prescribed normalized speed. The input connector provides the normalized rotational speed (between 0 and 1). The head is computed based on the performance curve that take as an argument the actual volume flow rate divided by the maximum flow rate and the relative speed of the fan. The efficiency of the device is computed based on the efficiency curves that take as an argument the actual volume flow rate divided by the maximum possible volume flow rate, or based on the motor performance curves.

See the User's Guide for more information.

Extends from Annex60.Fluid.Movers.BaseClasses.PartialFlowMachine (Partial model to interface fan or pump models with the medium).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium in the component
Genericperredeclare parameter Annex60....Record with performance data
BooleancomputePowerUsingSimilarityLawstrue= true, compute power exactly, using similarity laws. Otherwise approximate.
BooleanaddPowerToMediumtrueSet to false to avoid any power (=heat and flow work) being added to medium (may give simpler equations)
BooleannominalValuesDefineDefaultPressureCurvefalseSet to true to avoid warning if m_flow_nominal and dp_nominal are used to construct the default pressure curve
Nominal condition
MassFlowRatem_flow_nominalmax(per.pressure.V_flow)*rho...Nominal mass flow rate [kg/s]
Control
InputTypeinputTypeAnnex60.Fluid.Types.InputTyp...Control input type
Dynamics
Equations
DynamicsenergyDynamicsModelica.Fluid.Types.Dynamic...Type of energy balance: dynamic (3 initialization options) or steady state
DynamicsmassDynamicsenergyDynamicsType of mass balance: dynamic (3 initialization options) or steady state
Nominal condition
Timetau1Time constant of fluid volume for nominal flow, used if energy or mass balance is dynamic [s]
Filtered speed
BooleanfilteredSpeedtrue= true, if speed is filtered with a 2nd order CriticalDamping filter
TimeriseTime30Rise time of the filter (time to reach 99.6 % of the speed) [s]
InitinitModelica.Blocks.Types.Init.I...Type of initialization (no init/steady state/initial state/initial output)
Realy_start0Initial value of speed [1]
Initialization
AbsolutePressurep_startMedium.p_defaultStart value of pressure [Pa]
TemperatureT_startMedium.T_defaultStart value of temperature [K]
MassFractionX_start[Medium.nX]Medium.X_defaultStart value of mass fractions m_i/m [kg/kg]
ExtraPropertyC_start[Medium.nC]fill(0, Medium.nC)Start value of trace substances
ExtraPropertyC_nominal[Medium.nC]fill(1E-2, Medium.nC)Nominal value of trace substances. (Set to typical order of magnitude.)
Assumptions
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Advanced
MassFlowRatem_flow_small1E-4*abs(m_flow_nominal)Small mass flow rate for regularization of zero flow [kg/s]
Diagnostics
Booleanshow_Tfalse= true, if actual temperature at port is computed

Connectors

TypeNameDescription
FluidPort_aport_aFluid connector a (positive design flow direction is from port_a to port_b)
FluidPort_bport_bFluid connector b (positive design flow direction is from port_a to port_b)
input IntegerInputstageStage input signal for the pressure head
output RealOutputy_actualActual normalised pump speed that is used for computations [1]
output RealOutputPElectrical power consumed [W]
HeatPort_aheatPortHeat dissipation to environment
input RealInputyConstant normalized rotational speed [1]

Modelica definition

model SpeedControlled_y "Fan or pump with ideally controlled normalized speed y as input signal" extends Annex60.Fluid.Movers.BaseClasses.PartialFlowMachine( final preVar=Annex60.Fluid.Movers.BaseClasses.Types.PrescribedVariable.Speed, final nominalValuesDefineDefaultPressureCurve=false, final computePowerUsingSimilarityLaws=true, final m_flow_nominal = max(per.pressure.V_flow)*rho_default, final stageInputs(each final unit="1") = per.speeds, final constInput(final unit="1") = per.constantSpeed, filter( final y_start=y_start, u_nominal=1, u(final unit="1"), y(final unit="1")), eff( per(final pressure = per.pressure, final use_powerCharacteristic = per.use_powerCharacteristic)), gaiSpe(u(final unit="1"), final k=1/per.speed_nominal)); Modelica.Blocks.Interfaces.RealInput y( unit="1") if inputType == Annex60.Fluid.Types.InputType.Continuous "Constant normalized rotational speed"; protected Modelica.Blocks.Math.Gain gain(final k=-1) "Pressure gain"; initial equation assert(per.havePressureCurve, "SpeedControlled_y requires to set the pressure vs. flow rate curve in record 'per'."); equation connect(gaiSpe.u, y); connect(gaiSpe.y, inputSwitch.u); connect(eff.dp, gain.u); connect(gain.y, preSou.dp_in); if filteredSpeed then connect(filter.y, eff.y_in); else connect(inputSwitch.y, eff.y_in); end if; end SpeedControlled_y;

http://iea-annex60.org