Collection of validation models
Information
This package contains validation models for the classes in
Annex60.Fluid.Movers.BaseClasses.
Note that most validation models contain simple input data
which may not be realistic, but for which the correct
output can be obtained through an analytic solution.
The examples plot various outputs, which have been verified against these
solutions. These model outputs are stored as reference data and
used for continuous validation whenever models in the library change.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name |
Description |
FlowMachineInterface
|
Simple model to validate FlowMachineInterface |
PowerInterface
|
Simple model to validate PowerInterface |
Simple model to validate FlowMachineInterface
Information
Simple validation model for the flow machine interface model.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
model FlowMachineInterface
extends Modelica.Icons.Example;
Annex60.Fluid.Movers.BaseClasses.FlowMachineInterface eff(
per(pressure(V_flow={0,1}, dp={1000,0})),
rho_default=1.2,
haveVMax=true,
V_flow_max=1,
nOri=2,
preVar=Annex60.Fluid.Movers.BaseClasses.Types.PrescribedVariable.Speed,
computePowerUsingSimilarityLaws=true) ;
Modelica.Blocks.Sources.Constant y(k=1) ;
Modelica.Blocks.Sources.Constant rho(k=1.2) ;
Modelica.Blocks.Sources.Ramp m_flow(height=1.2, duration=1) ;
equation
connect(eff.rho, rho.y);
connect(m_flow.y, eff.m_flow);
connect(y.y, eff.y_in);
end FlowMachineInterface;
Simple model to validate PowerInterface
Information
Simple validation model for the power interface model.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
model PowerInterface
extends Modelica.Icons.Example;
Annex60.Fluid.Movers.BaseClasses.PowerInterface powCoo(
motorCooledByFluid=true,
delta_V_flow=0.05) ;
Modelica.Blocks.Sources.Constant WFlo(k=1*1000) ;
Modelica.Blocks.Sources.Ramp V_flow(
duration=1,
height=1) ;
Modelica.Blocks.Sources.Constant etaHyd(k=0.8) ;
Modelica.Blocks.Sources.Constant PEle(k=1*1000*4) ;
Annex60.Fluid.Movers.BaseClasses.PowerInterface powNonCoo(
motorCooledByFluid=false,
delta_V_flow=0.05) ;
equation
connect(powCoo.etaHyd, etaHyd.y);
connect(V_flow.y, powCoo.V_flow);
connect(powCoo.WFlo, WFlo.y);
connect(PEle.y, powCoo.PEle);
connect(powNonCoo.etaHyd, etaHyd.y);
connect(V_flow.y, powNonCoo.V_flow);
connect(powNonCoo.WFlo, WFlo.y);
connect(PEle.y, powNonCoo.PEle);
end PowerInterface;
http://iea-annex60.org