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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nPorts (from PartialSource) | 0 | Number of ports |
| Boolean | use_TDryBul_in | false | = 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.Angle | azi | Surface azimuth (South:0, West:pi/2) | |
| Advanced | |||
| Boolean | verifyInputs (from PartialSource) | false | Set to true to stop the simulation with an error if the medium temperature is outside its allowable range |
| Wind | |||
| Real | Cs | (A0*A0)*((Habs/sim.Hwind)^(2*a)) | Wind speed modifier |
| Modelica.Units.SI.Length | Habs | 10 | Absolute height of boundary for correcting the wind speed |
| Overwrite › Effect of surroundings on wind | |||
| Real | A0 | sim.A0 | Local terrain coefficient. |
| Real | a | sim.a | Velocity profile exponent. |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts] | ports (from PartialSource) | Fluid ports | |
| Modelica.Blocks.Interfaces.RealInput | TDryBul_in | Optional override input for the dry bulb temperature | |
| Modelica.Blocks.Interfaces.RealOutput | m_flow | sum(ports.m_flow) | Total mass flow rate |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| IDEAS.BoundaryConditions.SimInfoManager | sim | SimInfoManager | |
| Modelica.Units.SI.Density | rho | IDEAS.Utilities.Psychrometrics.Functions.density_pTX(p = Medium.p_default, T = sim.Te, X_w = sim.XiEnv.X[1]) | |
| Modelica.Units.SI.Angle | alpha | Wind incidence angle (0: normal to wall) | |
| Real | CpAct | windPressureProfile(u = alpha, xd = xd, yd = yd, d = d) | Actual wind pressure coefficient |
| Modelica.Units.SI.Pressure | pWin | Change in pressure due to wind force | |
| Modelica.Units.SI.Pressure | pTot | Sum of atmospheric pressure and wind pressure |
Contents
| Name | Description |
|---|---|
| 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.