modelOutside

Boundary that takes weather data, and optionally trace substances, as an input

Extends from Buildings.Fluid.Sources.BaseClasses.PartialAirSource (Partial component air source with one fluid connector).

Information

This is the base class for models that describes boundary conditions for pressure, enthalpy, and species concentration that can be obtained from weather data, and that may be modified based on the wind pressure.

If the parameter use_C_in is false (default option), the C parameter is used as the trace substance for flow that leaves the component, and the C_in input connector is disabled; if use_C_in is true, then the C parameter is ignored, and the value provided by the input connector is used instead.

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 PartialAirSource)0Number of ports
Booleanuse_C_infalseGet the trace substances from the input connector
Medium.ExtraProperty[Medium.nC]Cfill(0, Medium.nC)Fixed values of trace substances
Advanced
BooleanverifyInputs (from PartialAirSource)falseSet to true to stop the simulation with an error if the medium temperature is outside its allowable range

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts]ports (from PartialAirSource)Fluid ports
Modelica.Blocks.Interfaces.RealInput[Medium.nC]C_inPrescribed boundary trace substances
Buildings.BoundaryConditions.WeatherData.BusweaBusBus with weather data

Revisions

  • March 11, 2024, by Michael Wetter:
    Corrected use of HideResult.
    This is for #1850.
  • January 09, 2023, by Jianjun Hu:
    Changed base class to constrain medium to moist air.
    This is for IBPSA, #1681.
  • February 25, 2020, by Michael Wetter:
    Changed icon to display its operating state.
    This is for #1294.
  • November 14, 2019, by Michael Wetter:
    Removed duplicate connector.
    This is for #1248.
  • January 14, 2019 by Jianjun Hu:
    Changed to extend Buildings.Fluid.Sources.BaseClasses.PartialSource. This is for #1050.
  • May 30, 2017 by Jianjun Hu:
    Corrected X_in_internal = zeros() to be X_in_internal = ones(). This is for #787.
  • April, 25, 2016 by Marcus Fuchs:
    Introduced missing each keyword. This is for #454, to prevent a warning in OpenModelica.
  • January 26, 2016, by Michael Wetter:
    Added unit and quantity attributes.
  • May 30, 2014, by Michael Wetter:
    Removed undesirable annotation Evaluate=true.
  • October 26, 2011 by Michael Wetter:
    Introduced new base class to allow implementation of wind pressure for natural ventilation.
  • April 27, 2011 by Michael Wetter:
    Revised implementation to allow medium model that do not have water vapor.
  • Feb. 9, 2011 by Michael Wetter:
    First implementation.