blockPartialSurfaceCondition

Partial block for apparatus dew and dry point calculation

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block), Buildings.Fluid.DXSystems.Cooling.BaseClasses.EssentialParameters (A partial block for essential parameters for cooling DX coils).

Information

This partial block is the base class for Buildings.Fluid.DXSystems.Cooling.BaseClasses.ApparatusDewPoint and Buildings.Fluid.DXSystems.Cooling.BaseClasses.ApparatusDryPoint.

This block calculates the UA/cp value, the bypass factor and the enthalpy difference across the coil. It uses the function Buildings.Fluid.DXSystems.Cooling.BaseClasses.Functions.speedShift for intermediate compressor speeds.

Implementation

For coils that only have discrete compressor speeds, this block does not do an interpolation for intermediate speeds. For coils with variable speed compressors, the computations are also done if the coil is off, as this ensures that the derivatives are continuous near the off conditions.

Parameters

TypeNameDefaultDescription
Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.DXCoildatCoi (from EssentialParameters)Performance data
BooleanvariableSpeedCoilFlag, set to true to interpolate data
Modelica.Units.SI.MassFlowRatem_flow_smalldatCoi.m_flow_smallSmall mass flow rate for the evaporator, used for regularization
Modelica.Units.SI.AngularVelocitymaxSpedatCoi.sta[nSta].speMaximum rotational speed

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputspeRatSpeed index
Modelica.Blocks.Interfaces.RealInputQ_flowCooling capacity of the coil
Modelica.Blocks.Interfaces.RealInputm_flowEvaporator air mass flow rate
Modelica.Blocks.Interfaces.RealInputpEvaporator air static pressure
Modelica.Blocks.Interfaces.RealInputXEvaInEvaporator inlet air mass fraction
Modelica.Blocks.Interfaces.RealInputhEvaInEvaporator air inlet specific enthalpy
Modelica.Blocks.Interfaces.IntegerInputstageStage of coil, or 0/1 for variable-speed coil

Components

TypeNameDefaultDescription
RealbypassBypass factor
Modelica.Units.SI.AngularVelocityspeRotational speed
Buildings.Fluid.DXSystems.Cooling.BaseClasses.UACp[nSta]uacpCalculates UA/Cp of the coil

Contents

NameDescription
MediumMedium model

Revisions

  • June 26, 2018, by Michael Wetter:
    Replaced algorithm with equation.
  • October 9, 2013 by Michael Wetter:
    Corrected invalid Modelica syntax.
  • September 24, 2012 by Michael Wetter:
    Revised implementation.
  • August 24, 2012, by Michael Wetter:
    Moved function from Buildings.Fluid.DXSystems.BaseClasses to Buildings.Fluid.DXSystems.Cooling.BaseClasses.Functions because the package Buildings.Fluid.DXSystems.BaseClasses already contains a block called SpeedShift which gives a clash in file names on file systems that do not distinguish between upper and lower case letters.
  • August 1, 2012 by Kaustubh Phalak:
    First implementation.