modelOutside
Extends from Modelica.Fluid.Sources.BaseClasses.PartialSource (Partial component 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 PartialSource) | 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 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPorts_b[nPorts] | ports (from PartialSource) | ||
| Modelica.Blocks.Interfaces.RealInput[Medium.nC] | C_in | Prescribed boundary trace substances | |
| Annex60.BoundaryConditions.WeatherData.Bus | weaBus | Bus with weather data |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.BaseProperties | medium (from PartialSource) | Medium in the source |
Revisions
-
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.