modelOutside
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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nPorts (from PartialAirSource) | 0 | Number of ports |
| Boolean | use_C_in | false | Get the trace substances from the input connector |
| Medium.ExtraProperty[Medium.nC] | C | fill(0, Medium.nC) | Fixed values of trace substances |
| Advanced | |||
| Boolean | verifyInputs (from PartialAirSource) | false | Set to true to stop the simulation with an error if the medium temperature is outside its allowable range |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts] | ports (from PartialAirSource) | Fluid ports | |
| Modelica.Blocks.Interfaces.RealInput[Medium.nC] | C_in | Prescribed boundary trace substances | |
| Buildings.BoundaryConditions.WeatherData.Bus | weaBus | Bus with weather data |
Revisions
-
March 11, 2024, by Michael Wetter:
Corrected use ofHideResult.
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:
CorrectedX_in_internal = zeros()to beX_in_internal = ones(). This is for #787. -
April, 25, 2016 by Marcus Fuchs:
Introduced missingeachkeyword. This is for #454, to prevent a warning in OpenModelica. -
January 26, 2016, by Michael Wetter:
Addedunitandquantityattributes. -
May 30, 2014, by Michael Wetter:
Removed undesirable annotationEvaluate=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.