Buildings.Obsolete.Fluid.Movers

Package for obsolete models for fans and pumps

Information

This package contains obsolete models for fans and pumps.

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

Package Content

Name Description
Buildings.Obsolete.Fluid.Movers.SpeedControlled_Nrpm SpeedControlled_Nrpm Fan or pump with ideally controlled speed Nrpm as input signal
Buildings.Obsolete.Fluid.Movers.Preconfigured Preconfigured Obsolete preconfigured models
Buildings.Obsolete.Fluid.Movers.Data Data Package containing data for real pumps/fans
Buildings.Obsolete.Fluid.Movers.Examples Examples Obsolete example models
Buildings.Obsolete.Fluid.Movers.Validation Validation Obsolete validation models
Buildings.Obsolete.Fluid.Movers.BaseClasses BaseClasses Package with base classes for Buildings.Obsolete.Fluid.Movers

Buildings.Obsolete.Fluid.Movers.SpeedControlled_Nrpm Buildings.Obsolete.Fluid.Movers.SpeedControlled_Nrpm

Fan or pump with ideally controlled speed Nrpm as input signal

Buildings.Obsolete.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.


See the User's Guide for more information.

Extends from Buildings.Obsolete.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 Building...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
Control
InputTypeinputTypeBuildings.Fluid.Types.InputT...Control input type
Dynamics
Conservation equations
DynamicsenergyDynamicsModelica.Fluid.Types.Dynamic...Type of energy 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
Booleanuse_inputFiltertrue= 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 fan or pump speed that is used for computations [1]
output RealOutputPElectrical power consumed [W]
HeatPort_aheatPortHeat dissipation to environment
input RealInputNrpmPrescribed rotational speed [rev/min]

Modelica definition

model SpeedControlled_Nrpm "Fan or pump with ideally controlled speed Nrpm as input signal" extends Buildings.Obsolete.Fluid.Movers.BaseClasses.PartialFlowMachine( final preVar=Buildings.Fluid.Movers.BaseClasses.Types.PrescribedVariable.Speed, final nominalValuesDefineDefaultPressureCurve=false, final computePowerUsingSimilarityLaws=true, final stageInputs(each final unit="1") = per.speeds, final constInput(final unit="1") = per.constantSpeed, filter( final y_start=y_start, u(final unit="1"), y(final unit="1")), eff( per(final pressure = per.pressure, final etaHydMet = per.etaHydMet, final etaMotMet = per.etaMotMet), r_N(start=y_start)), gaiSpe(u(final unit="rev/min"), final k=1/per.speed_rpm_nominal)); parameter Real y_start(min=0, max=1, unit="1")=0 "Initial value of speed"; Modelica.Blocks.Interfaces.RealInput Nrpm(final unit="rev/min") if inputType == Buildings.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 use_inputFilter then connect(filter.y, eff.y_in); else connect(inputSwitch.y, eff.y_in); end if; end SpeedControlled_Nrpm;