modelOutside

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

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

TypeNameDefaultDescription
IntegernPorts (from PartialSource)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

Connectors

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

Components

TypeNameDefaultDescription
Medium.BasePropertiesmedium (from PartialSource)Medium in the source

Revisions

  • 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.