Buildings.Templates.AirHandlersFans.Interfaces

Interface classes

Information

This package contains interface classes.

Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).

Package Content

Name Description
Buildings.Templates.AirHandlersFans.Interfaces.Bus Bus Control bus for air handler
Buildings.Templates.AirHandlersFans.Interfaces.PartialAirHandler PartialAirHandler Interface class for air handler

Buildings.Templates.AirHandlersFans.Interfaces.Bus Buildings.Templates.AirHandlersFans.Interfaces.Bus

Control bus for air handler

Buildings.Templates.AirHandlersFans.Interfaces.Bus

Information

This expandable connector provides a standard interface for all control signals required by an air handler controller.

Extends from Modelica.Icons.SignalBus (Icon for signal bus).

Contents

TypeNameDescription
BusfanSupSupply fan points
BusfanRelRelief fan points
BusfanRetReturn fan points
BuscoiHeaHeating coil (preheat or reheat position, only one coil allowed) points
BuscoiCooCooling coil points
BusdamOutOA damper points
BusdamOutMinMinimum OA damper points
BusdamRelRelief damper points
BusdamRetReturn damper points

Modelica definition

expandable connector Bus "Control bus for air handler" extends Modelica.Icons.SignalBus; Buildings.Templates.Components.Interfaces.Bus fanSup "Supply fan points"; Buildings.Templates.Components.Interfaces.Bus fanRel "Relief fan points"; Buildings.Templates.Components.Interfaces.Bus fanRet "Return fan points"; Buildings.Templates.Components.Interfaces.Bus coiHea "Heating coil (preheat or reheat position, only one coil allowed) points"; Buildings.Templates.Components.Interfaces.Bus coiCoo "Cooling coil points"; Buildings.Templates.Components.Interfaces.Bus damOut "OA damper points"; Buildings.Templates.Components.Interfaces.Bus damOutMin "Minimum OA damper points"; Buildings.Templates.Components.Interfaces.Bus damRel "Relief damper points"; Buildings.Templates.Components.Interfaces.Bus damRet "Return damper points"; end Bus;

Buildings.Templates.AirHandlersFans.Interfaces.PartialAirHandler Buildings.Templates.AirHandlersFans.Interfaces.PartialAirHandler

Interface class for air handler

Buildings.Templates.AirHandlersFans.Interfaces.PartialAirHandler

Information

This partial class provides a standard interface for air handler templates.

Parameters

TypeNameDefaultDescription
replaceable package MediumAirBuildings.Media.AirAir medium
replaceable package MediumChiWatBuildings.Media.WaterCHW medium
replaceable package MediumHeaWatBuildings.Media.WaterHHW medium
PartialAirHandlerdatdat(final typ=typ, final typ...Design and operating parameters
Configuration
Configurationtyp Type of system
IntegernZon Number of served zones
Booleanhave_porReltyp == Buildings.Templates.A...Set to true for relief (exhaust) fluid port
Booleanhave_souChiWat Set to true if system uses CHW
Booleanhave_souHeaWat Set to true if system uses HHW
FantypFanSup Type of supply fan
FantypFanRet Type of return fan
FantypFanRel Type of relief fan
Nominal condition
MassFlowRatemChiWat_flow_nominal Total CHW mass flow rate [kg/s]
MassFlowRatemHeaWat_flow_nominal Total HHW mass flow rate [kg/s]
HeatFlowRateQChiWat_flow_nominal Total CHW heat flow rate [W]
HeatFlowRateQHeaWat_flow_nominal Total HHW heat flow rate [W]
Dynamics
Conservation equations
DynamicsenergyDynamicsModelica.Fluid.Types.Dynamic...Type of energy balance: dynamic (3 initialization options) or steady state
Assumptions
BooleanallowFlowReversalLiqtrue= true to allow flow reversal, false restricts to design direction - CHW and HW side
Advanced
Diagnostics
Booleanshow_Tfalse= true, if actual temperature at ports of subcomponents is computed

Connectors

TypeNameDescription
replaceable package MediumAirAir medium
replaceable package MediumChiWatCHW medium
replaceable package MediumHeaWatHHW medium
FluidPort_aport_OutOutdoor air intake
FluidPort_bport_SupSupply air
FluidPort_bport_SupColDual duct cold deck air supply
FluidPort_bport_SupHotDual duct hot deck air supply
FluidPort_aport_RetReturn air
FluidPort_bport_RelRelief (exhaust) air
FluidPort_bport_bChiWatCHW return port
FluidPort_aport_aChiWatCHW supply port
FluidPort_bport_bHeaWatHHW return port
FluidPort_aport_aHeaWatHHW supply port
BusbusAHU control bus
BusbusWeaWeather bus
BusbusTer[nZon]Terminal unit control bus

Modelica definition

partial model PartialAirHandler "Interface class for air handler" inner replaceable package MediumAir=Buildings.Media.Air constrainedby Modelica.Media.Interfaces.PartialMedium "Air medium"; inner replaceable package MediumChiWat=Buildings.Media.Water constrainedby Modelica.Media.Interfaces.PartialMedium "CHW medium"; inner replaceable package MediumHeaWat=Buildings.Media.Water constrainedby Modelica.Media.Interfaces.PartialMedium "HHW medium"; parameter Buildings.Templates.AirHandlersFans.Types.Configuration typ "Type of system"; inner parameter Integer nZon(min=1) "Number of served zones"; replaceable parameter Buildings.Templates.AirHandlersFans.Data.PartialAirHandler dat( final typ=typ, final typFanSup=typFanSup, final typFanRel=typFanRel, final typFanRet=typFanRet, final have_souChiWat=have_souChiWat, final have_souHeaWat=have_souHeaWat) "Design and operating parameters"; final parameter String id=dat.id "System tag"; parameter Boolean have_porRel= typ==Buildings.Templates.AirHandlersFans.Types.Configuration.ExhaustOnly "Set to true for relief (exhaust) fluid port"; parameter Boolean have_souChiWat "Set to true if system uses CHW"; parameter Boolean have_souHeaWat "Set to true if system uses HHW"; inner parameter Buildings.Templates.Components.Types.Fan typFanSup "Type of supply fan"; inner parameter Buildings.Templates.Components.Types.Fan typFanRet "Type of return fan"; inner parameter Buildings.Templates.Components.Types.Fan typFanRel "Type of relief fan"; // Design parameters final parameter Modelica.Units.SI.MassFlowRate mAirSup_flow_nominal= dat.mAirSup_flow_nominal "Supply air mass flow rate"; final parameter Modelica.Units.SI.MassFlowRate mAirRet_flow_nominal= dat.mAirRet_flow_nominal "Return air mass flow rate"; parameter Modelica.Units.SI.MassFlowRate mChiWat_flow_nominal "Total CHW mass flow rate"; parameter Modelica.Units.SI.MassFlowRate mHeaWat_flow_nominal "Total HHW mass flow rate"; parameter Modelica.Units.SI.HeatFlowRate QChiWat_flow_nominal "Total CHW heat flow rate"; parameter Modelica.Units.SI.HeatFlowRate QHeaWat_flow_nominal "Total HHW heat flow rate"; parameter Modelica.Fluid.Types.Dynamics energyDynamics= Modelica.Fluid.Types.Dynamics.DynamicFreeInitial "Type of energy balance: dynamic (3 initialization options) or steady state"; final parameter Boolean allowFlowReversalAir=true "= true to allow flow reversal, false restricts to design direction - Air side"; parameter Boolean allowFlowReversalLiq=true "= true to allow flow reversal, false restricts to design direction - CHW and HW side"; parameter Boolean show_T = false "= true, if actual temperature at ports of subcomponents is computed"; Modelica.Fluid.Interfaces.FluidPort_a port_Out( redeclare final package Medium = MediumAir, m_flow(min=if allowFlowReversalAir then -Modelica.Constants.inf else 0), h_outflow(start=MediumAir.h_default, nominal=MediumAir.h_default)) if typ <> Buildings.Templates.AirHandlersFans.Types.Configuration.ExhaustOnly "Outdoor air intake"; Modelica.Fluid.Interfaces.FluidPort_b port_Sup( redeclare final package Medium =MediumAir, m_flow(max=if allowFlowReversalAir then +Modelica.Constants.inf else 0), h_outflow(start=MediumAir.h_default, nominal=MediumAir.h_default)) if typ == Buildings.Templates.AirHandlersFans.Types.Configuration.SupplyOnly or typ == Buildings.Templates.AirHandlersFans.Types.Configuration.SingleDuct "Supply air"; Modelica.Fluid.Interfaces.FluidPort_b port_SupCol( redeclare final package Medium =MediumAir, m_flow(max=if allowFlowReversalAir then +Modelica.Constants.inf else 0), h_outflow(start=MediumAir.h_default, nominal=MediumAir.h_default)) if typ == Buildings.Templates.AirHandlersFans.Types.Configuration.DualDuct "Dual duct cold deck air supply"; Modelica.Fluid.Interfaces.FluidPort_b port_SupHot( redeclare final package Medium =MediumAir, m_flow(max=if allowFlowReversalAir then +Modelica.Constants.inf else 0), h_outflow(start=MediumAir.h_default, nominal=MediumAir.h_default)) if typ == Buildings.Templates.AirHandlersFans.Types.Configuration.DualDuct "Dual duct hot deck air supply"; Modelica.Fluid.Interfaces.FluidPort_a port_Ret( redeclare final package Medium =MediumAir, m_flow(min=if allowFlowReversalAir then -Modelica.Constants.inf else 0), h_outflow(start=MediumAir.h_default, nominal=MediumAir.h_default)) if typ <> Buildings.Templates.AirHandlersFans.Types.Configuration.SupplyOnly "Return air"; Modelica.Fluid.Interfaces.FluidPort_b port_Rel( redeclare final package Medium = MediumAir, m_flow(max=if allowFlowReversalAir then +Modelica.Constants.inf else 0), h_outflow(start=MediumAir.h_default, nominal=MediumAir.h_default)) if typ <> Buildings.Templates.AirHandlersFans.Types.Configuration.SupplyOnly and have_porRel "Relief (exhaust) air"; Modelica.Fluid.Interfaces.FluidPort_b port_bChiWat( redeclare final package Medium = MediumChiWat, m_flow(max=if allowFlowReversalLiq then +Modelica.Constants.inf else 0), h_outflow(start=MediumChiWat.h_default, nominal=MediumChiWat.h_default)) if have_souChiWat "CHW return port"; Modelica.Fluid.Interfaces.FluidPort_a port_aChiWat( redeclare final package Medium = MediumChiWat, m_flow(min=if allowFlowReversalLiq then -Modelica.Constants.inf else 0), h_outflow(start=MediumChiWat.h_default, nominal=MediumChiWat.h_default)) if have_souChiWat "CHW supply port"; Modelica.Fluid.Interfaces.FluidPort_b port_bHeaWat( redeclare final package Medium = MediumHeaWat, m_flow(max=if allowFlowReversalLiq then +Modelica.Constants.inf else 0), h_outflow(start=MediumHeaWat.h_default, nominal=MediumHeaWat.h_default)) if have_souHeaWat "HHW return port"; Modelica.Fluid.Interfaces.FluidPort_a port_aHeaWat( redeclare final package Medium = MediumHeaWat, m_flow(min=if allowFlowReversalLiq then -Modelica.Constants.inf else 0), h_outflow(start=MediumHeaWat.h_default, nominal=MediumHeaWat.h_default)) if have_souHeaWat "HHW supply port"; Buildings.Templates.AirHandlersFans.Interfaces.Bus bus "AHU control bus"; Buildings.BoundaryConditions.WeatherData.Bus busWea "Weather bus"; Buildings.Templates.ZoneEquipment.Interfaces.Bus busTer[nZon] "Terminal unit control bus"; end PartialAirHandler;