modelOutside

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

Extends from Buildings.Fluid.Sources.BaseClasses.Outside (Boundary that takes weather data, and optionally trace substances, as an input).

Information

This model describes boundary conditions for pressure, enthalpy, and species concentration that can be obtained from weather data.

To use this model, connect weather data from Buildings.BoundaryConditions.WeatherData.ReaderTMY3 to the port weaBus of this model. This will cause the medium of this model to be at the pressure that is obtained from the weather file, and any flow that leaves this model to be at the temperature and humidity that are obtained from the weather data.

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_in (from Outside)falseGet the trace substances from the input connector
Medium.ExtraProperty[Medium.nC]C (from Outside)fill(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_in (from Outside)Prescribed boundary trace substances
Buildings.BoundaryConditions.WeatherData.BusweaBus (from Outside)Bus with weather data

Revisions

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