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
Buildings.Fluid.Chillers.ModularReversible.Validation.BaseClasses.PartialModularComparison PartialModularComparison Partial model for comparison to the Carnot model

Buildings.Fluid.Chillers.ModularReversible.Validation.BaseClasses.PartialModularComparison

Partial model for comparison to the Carnot model

Buildings.Fluid.Chillers.ModularReversible.Validation.BaseClasses.PartialModularComparison

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

TypeNameDefaultDescription
HeatFlowRateQUse_flow_nominal30E3Nominal capacity [W]
TemperatureDifferencedTEva_nominal10Temperature difference evaporator outlet-inlet [K]
TemperatureDifferencedTCon_nominal10Temperature difference condenser outlet-inlet [K]
Pressuredp1_nominal6000Pressure difference over condenser [Pa]
Pressuredp2_nominal6000Pressure difference over evaporator [Pa]
RealetaCarnot_nominal0.3Carnot effectiveness (=COP/COP_Carnot) used during simulation if use_eta_Carnot_nominal = true
Timetau160Time constant at nominal flow rate (used if energyDynamics1 <> Modelica.Fluid.Types.Dynamics.SteadyState) [s]
TemperatureT1_start303.15Initial or guess value of set point [K]
Timetau260Time constant at nominal flow rate (used if energyDynamics2 <> Modelica.Fluid.Types.Dynamics.SteadyState) [s]
TemperatureT2_start278.15Initial or guess value of set point [K]
TemperatureTConIn_nominal303.15Nominal condenser inlet temperature [K]
TemperatureTEvaIn_nominal288.15Nominal condenser inlet temperature [K]
TemperatureTCon_nominalTConIn_nominal + dTCon_nominalNominal condenser temperature [K]
TemperatureTEva_nominalTEvaIn_nominal - dTEva_nominalNominal evaporator temperature [K]
MassFlowRatem2_flow_nominalchi.mEva_flow_nominalNominal mass flow rate at chilled water side [kg/s]
MassFlowRatem1_flow_nominalchi.mCon_flow_nominalNominal 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;