modelOutside
Extends from Modelica.Fluid.Sources.BaseClasses.PartialSource.
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 |
|---|---|---|---|
| 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 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[Medium.nC] | C_in | Prescribed boundary trace substances | |
| IBPSA.BoundaryConditions.WeatherData.Bus | weaBus | Bus with weather data |
Revisions
-
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.