Buildings.Fluid.Chillers.ModularReversible.Validation.BaseClasses
Package with partial validation models
Information
This package contains partial models for comparative validation.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
Name | Description |
---|---|
![]() |
Partial model for comparison to the Carnot model |
Buildings.Fluid.Chillers.ModularReversible.Validation.BaseClasses.PartialModularComparison
Partial model for comparison to the Carnot model
Information
Partial model to have consistent parameterization of the modular reversible model approaches.
Extends from Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.BaseClasses.PartialComparison (Partial model to allow heat pump and chiller model comparison).
Parameters
Type | Name | Default | Description |
---|---|---|---|
HeatFlowRate | QUse_flow_nominal | 30E3 | Nominal capacity [W] |
TemperatureDifference | dTEva_nominal | 10 | Temperature difference evaporator outlet-inlet [K] |
TemperatureDifference | dTCon_nominal | 10 | Temperature difference condenser outlet-inlet [K] |
Pressure | dp1_nominal | 6000 | Pressure difference over condenser [Pa] |
Pressure | dp2_nominal | 6000 | Pressure difference over evaporator [Pa] |
Real | etaCarnot_nominal | 0.3 | Carnot effectiveness (=COP/COP_Carnot) used during simulation if use_eta_Carnot_nominal = true |
Time | tau1 | 60 | Time constant at nominal flow rate (used if energyDynamics1 <> Modelica.Fluid.Types.Dynamics.SteadyState) [s] |
Temperature | T1_start | 303.15 | Initial or guess value of set point [K] |
Time | tau2 | 60 | Time constant at nominal flow rate (used if energyDynamics2 <> Modelica.Fluid.Types.Dynamics.SteadyState) [s] |
Temperature | T2_start | 278.15 | Initial or guess value of set point [K] |
Temperature | TConIn_nominal | 303.15 | Nominal condenser inlet temperature [K] |
Temperature | TEvaIn_nominal | 288.15 | Nominal condenser inlet temperature [K] |
Temperature | TCon_nominal | TConIn_nominal + dTCon_nominal | Nominal condenser temperature [K] |
Temperature | TEva_nominal | TEvaIn_nominal - dTEva_nominal | Nominal evaporator temperature [K] |
MassFlowRate | m2_flow_nominal | chi.mEva_flow_nominal | Nominal mass flow rate at chilled water side [kg/s] |
MassFlowRate | m1_flow_nominal | chi.mCon_flow_nominal | Nominal mass flow rate at condenser water wide [kg/s] |
Modelica definition
partial model PartialModularComparison
"Partial model for comparison to the Carnot model"
extends Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.BaseClasses.PartialComparison(
m1_flow_nominal=chi.mCon_flow_nominal,
m2_flow_nominal=chi.mEva_flow_nominal,
sou1(nPorts=1),
sin2(nPorts=1),
sou2(nPorts=1),
sin1(nPorts=1));
Modular chi(
redeclare final package MediumCon = Medium1,
redeclare final package MediumEva = Medium2,
QCoo_flow_nominal=-QUse_flow_nominal,
redeclare final model RefrigerantCycleInertia =
Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Inertias.NoInertia,
final use_rev=false,
final use_intSafCtr=false,
final tauCon=tau1,
final TConCoo_nominal=TCon_nominal,
final dTCon_nominal=dTCon_nominal,
final dpCon_nominal=dp1_nominal,
final use_conCap=false,
final CCon=0,
final GConOut=0,
final TEvaHea_nominal=0,
final TConHea_nominal=0,
final GConIns=0,
final tauEva=tau2,
final TEvaCoo_nominal=TEva_nominal,
final dTEva_nominal=dTEva_nominal,
final dpEva_nominal=dp2_nominal,
final use_evaCap=false,
final CEva=0,
final GEvaOut=0,
final GEvaIns=0,
final TCon_start=T1_start,
final TEva_start=T2_start,
final energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial)
"Modular chiller model";
equation
connect(chi.port_a1, sou1.ports[1]);
connect(chi.port_b2, sin2.ports[1]);
connect(chi.port_a2, sou2.ports[1]);
connect(chi.port_b1, sin1.ports[1]);
connect(chi.ySet, uCom.y);
end PartialModularComparison;