modelOutsideAir

Outside boundary that takes temperature, pressure, humidity and CO2 from the SimInfoManager

Extends from IDEAS.Fluid.Sources.BaseClasses.PartialSource (Partial component source with one fluid connector).

Information

This model describes boundary conditions for pressure, enthalpy, and CO2 that can be obtained from weather data. These data are obtained from the SimInfoManager, which should be included in the model.

Note that boundary temperature, mass fractions and trace substances have only an effect if the mass flow is from the boundary into the port. If mass is flowing from the port into the boundary, the boundary definitions, with exception of boundary pressure, do not have an effect.

Parameters

TypeNameDefaultDescription
IntegernPorts (from PartialSource)0Number of ports
Booleanuse_TDryBul_infalse= true, to overwrite the dry bulb temperature
Real[:,:]table[0, 0.4; 45, 0.1; 90, -0.3; 135, -0.35; 180, -0.2; 225, -0.35; 270, -0.3; 315, 0.1; 360, 0.4]Cp at different angles of attack
Modelica.Units.SI.AngleaziSurface azimuth (South:0, West:pi/2)
Advanced
BooleanverifyInputs (from PartialSource)falseSet to true to stop the simulation with an error if the medium temperature is outside its allowable range
Wind
RealCs(A0*A0)*((Habs/sim.Hwind)^(2*a))Wind speed modifier
Modelica.Units.SI.LengthHabs10Absolute height of boundary for correcting the wind speed
Overwrite › Effect of surroundings on wind
RealA0sim.A0Local terrain coefficient.
Realasim.aVelocity profile exponent.

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts]ports (from PartialSource)Fluid ports
Modelica.Blocks.Interfaces.RealInputTDryBul_inOptional override input for the dry bulb temperature
Modelica.Blocks.Interfaces.RealOutputm_flowsum(ports.m_flow)Total mass flow rate

Components

TypeNameDefaultDescription
IDEAS.BoundaryConditions.SimInfoManagersimSimInfoManager
Modelica.Units.SI.DensityrhoIDEAS.Utilities.Psychrometrics.Functions.density_pTX(p = Medium.p_default, T = sim.Te, X_w = sim.XiEnv.X[1])
Modelica.Units.SI.AnglealphaWind incidence angle (0: normal to wall)
RealCpActwindPressureProfile(u = alpha, xd = xd, yd = yd, d = d)Actual wind pressure coefficient
Modelica.Units.SI.PressurepWinChange in pressure due to wind force
Modelica.Units.SI.PressurepTotSum of atmospheric pressure and wind pressure

Contents

NameDescription
windPressureProfileprotected

Revisions

  • August 18, 2025, by Klaas De Jonge:
    refactored embedded windPressureProfile function to receive support points and derivatives as fixed parameters to avoid overhead each time the funtion is called (which is often for pressure driven airflow models). Changed OutsideAir model accordingly.
  • July 9, 2025, by Jelger Jansen:
    Update documentation of A0 and a. See #1340.
  • October 30, 2024, by Klaas De Jonge:
    Modifications for wind pressure,ambient pressure and wind speed modifiers used in interzonal airflow.
  • November 13, 2023 by Filip Jorissen:
    Computing stack height.
  • July 21, 2022 by Filip Jorissen:
    Added optional dry bulb temperature input for #1270.
  • September 21, 2019 by Filip Jorissen:
    First implementation.