Buildings.Examples.FanCoils
Package with an example of fan coil units
Information
This package demonstrates the use of models for fan coil units with controls according to ASHRAE Guideline 36.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
| Name | Description |
|---|---|
| Model of a five zone floor with fan coil units |
Buildings.Examples.FanCoils.FourPipe
Model of a five zone floor with fan coil units
Information
This model demonstrates the usage of Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Controller, a controller for four-pipe fan coil units based on the sequences defined in ASHRAE Guideline 36, 2021. A generic schematic for such a system is shown below.
This model consists of
- 3 identical thermal zone models with time-varying internal heat gains and interaction with ambient air through building envelope.
- 3 fan-coil units serving each zone.
- 3 fan coil unit controllers that output the supply fan enable signal and speed signal, the supply air temperature setpoint, the zone air heating and cooling setpoints, and valve positions for heating and cooling coils.
The 3 fan coil units each have a supply fan and a chilled-water cooling coil. The heating coil varies as follows for each instance:
-
fanCoiUnihas no heating coil. -
fanCoiUni1has a hot-water heating coil. -
fanCoiUni2has an electric heating coil.
The HVAC system switches between occupied, unoccupied, unoccupied warm-up and unoccupied pre-cool modes. The cooling coil and heating coil output are modulated to maintain the heating and cooling setpoints. The supply air temperature is modulated based on the differential between the temperature setpoint and the zone temperature to avoid unecessary heating and cooling use and avoid extreme temperature fluctuations.
See the model Buildings.Fluid.ZoneEquipment.FourPipe and Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Controller for a description of the fan coil unit and the controller, respectively.
The thermal zone is a south-facing thermal zone of the medium office building that is also used in Buildings.Examples.VAVReheat, but here only this one room is modeled, and instanciated three times for the three different fan coil units. The external facade is 49.91 meters long, the north-facing interior wall is 40.76 meters, and the room width is 4.58 meters. The room height is 2.74 meters.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package MediumA | Buildings.Media.Air | Medium for air | |
| replaceable package MediumW | Buildings.Media.Water | Medium for hot-water and chilled-water | |
| Length | wSou | 49.91 | Length of south facing exterior wall [m] |
| Length | wNor | 40.76 | Lenght of north facing interior wall [m] |
| Length | wSid | 6.47 | Length of each of the two side walls [m] |
| Length | dRoo | sqrt(wSid^2 - ((wSou - wNor)... | Room depth [m] |
| Length | hRoo | 2.74 | Room height [m] |
| Area | AFlo | (wSou + wNor)/2*dRoo | Floor area [m2] |
| Volume | VRoo | AFlo*hRoo | Room volume [m3] |
| Real | winWalRat | 0.33 | Window to wall ratio for exterior wall |
| Length | hWin | 1.5 | Height of windows [m] |
| Real | kInt | 1 | Gain factor to scale internal heat gain in each zone |
| Plywood | matCarTra | matCarTra(k=0.11, d=544, nSt... | Wood for floor |
| Plywood | matFur | matFur(x=0.15, nStaRef=5) | Material for furniture |
| Concrete | matCon | matCon(x=0.1, k=1.311, c=836... | Concrete |
| Plywood | matWoo | matWoo(x=0.01, k=0.11, d=544... | Wood for exterior construction |
| GypsumBoard | matGyp | matGyp(x=0.0127, k=0.16, c=8... | Gypsum board |
| Carpet | matCar | Carpet | |
| Generic | matIns | matIns(x=0.087, k=0.049, c=8... | Steelframe construction with insulation |
| GypsumBoard | matGyp2 | matGyp2(x=0.025, k=0.16, c=8... | Gypsum board |
| DoubleClearAir13Clear | glaSys | glaSys(UFra=2, shade=Buildin... | Data record for the glazing system |
| Generic | conExtWal | conExtWal(nLay=3, material={... | Exterior construction |
| Generic | conIntWal | conIntWal(nLay=1, material={... | Interior wall construction |
| Generic | conFur | conFur(nLay=1, material={mat... | Construction for internal mass of furniture |
| Generic | conFlo | conFlo(nLay=1, material={mat... | Floor construction (opa_a is carpet) |
Connectors
| Type | Name | Description |
|---|---|---|
| replaceable package MediumA | Medium for air | |
| replaceable package MediumW | Medium for hot-water and chilled-water | |
Modelica definition
Buildings.Examples.FanCoils.FourPipe.MixedAir
Thermal zone model
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| ParameterConstruction | datConExt[NConExt] | datConExt(each T_a_start=T_s... | Data for exterior construction |
| ParameterConstruction | datConBou[NConBou] | datConBou(each T_a_start=T_s... | Data for construction boundary |
| OpaqueSurface | surBou[NSurBou] | Record for data of surfaces whose heat conduction is modeled outside of this room | |
| Brick120 | dummyCon | Dummy construction to assign a parameter to the instance | |
| SingleClear3 | dummyGlaSys | Dummy construction to assign a parameter to the instance | |
| replaceable package Medium | PartialMedium | Medium in the component | |
| Area | AFlo | AFlo | Floor area [m2] |
| Length | hRoo | hRoo | Average room height [m] |
| Boolean | linearizeRadiation | true | Set to true to linearize emissive power |
| Exterior constructions | |||
| Integer | nConExt | 0 | Number of exterior constructions |
| Integer | nConExtWin | 1 | Number of window constructions |
| Partition constructions | |||
| Integer | nConPar | 3 | Number of partition constructions |
| Boundary constructions | |||
| Integer | nConBou | 0 | Number of constructions that have their outside surface exposed to the boundary of this room |
| Integer | nSurBou | 0 | Number of surface heat transfer models that connect to constructions that are modeled outside of this room |
| Ports | |||
| Boolean | use_C_flow | false | Set to true to enable input connector for trace substance that is connected to room air |
| Convective heat transfer | |||
| InteriorConvection | intConMod | Buildings.HeatTransfer.Types... | Convective heat transfer model for room-facing surfaces of opaque constructions |
| CoefficientOfHeatTransfer | hIntFixed | 3.0 | Constant convection coefficient for room-facing surfaces of opaque constructions [W/(m2.K)] |
| ExteriorConvection | extConMod | Buildings.HeatTransfer.Types... | Convective heat transfer model for exterior facing surfaces of opaque constructions |
| CoefficientOfHeatTransfer | hExtFixed | 10.0 | Constant convection coefficient for exterior facing surfaces of opaque constructions [W/(m2.K)] |
| Nominal condition | |||
| MassFlowRate | m_flow_nominal | V*1.2/3600 | Nominal mass flow rate [kg/s] |
| Dynamics | |||
| Glazing system | |||
| Boolean | steadyStateWindow | false | Set to false to add thermal capacity at window, which generally leads to faster simulation |
| Zone air | |||
| Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance for zone air: dynamic (3 initialization options) or steady state |
| Real | mSenFac | 1 | Factor for scaling the sensible thermal mass of the zone air volume |
| Experimental (may be changed in future releases) | |||
| Boolean | sampleModel | false | Set to true to time-sample the model, which can give shorter simulation time if there is already time sampling in the system model |
| Initialization | |||
| AbsolutePressure | p_start | Medium.p_default | Start value of zone air pressure [Pa] |
| Temperature | T_start | Medium.T_default | Start value of zone air temperature [K] |
| MassFraction | X_start[Medium.nX] | Medium.X_default | Start value of zone air mass fractions m_i/m [kg/kg] |
| ExtraProperty | C_start[Medium.nC] | fill(0, Medium.nC) | Start value of zone air trace substances |
| ExtraProperty | C_nominal[Medium.nC] | fill(1E-2, Medium.nC) | Nominal value of zone air trace substances. (Set to typical order of magnitude.) |
Connectors
| Type | Name | Description |
|---|---|---|
| replaceable package Medium | Medium in the component | |
| VesselFluidPorts_b | ports[nPorts] | Fluid inlets and outlets |
| HeatPort_a | heaPorAir | Heat port to air volume |
| HeatPort_a | heaPorRad | Heat port for radiative heat gain and radiative temperature |
| input RealInput | uWin[nConExtWin] | Control signal for window state (used for electrochromic windows, removed otherwise) [1] |
| HeatPort_a | surf_conBou[nConBou] | Heat port at surface b of construction conBou |
| HeatPort_a | surf_surBou[nSurBou] | Heat port of surface that is connected to the room air |
| input RealInput | qGai_flow[3] | Radiant, convective and latent heat input into room (positive if heat gain) [W/m2] |
| Bus | weaBus | Weather data |
| input RealInput | uSha[nConExtWin] | Control signal for the shading device (removed if no shade is present) |
| input RealInput | C_flow[Medium.nC] | Trace substance mass flow rate added to the room air. Enable if use_C_flow = true |
| output RealOutput | HGlo[NConExtWin] | Global solar irradiance [W/m2] |
| output RealOutput | QTraGlo[NConExtWin] | Transmitted global solar radiation [W] |