modelOutside_Cp

Boundary that takes weather data, and optionally the wind pressure coefficient and 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. The model is identical to Buildings.Fluid.Sources.Outside, except that it allows adding the wind pressure to the pressure at the fluid port ports.

The pressure p at the port ports is computed as

p = pw + Cp 1 ⁄ 2 v2 ρ

where pw is the atmospheric pressure from the weather bus, Cp is the wind pressure coefficient, v is the wind speed from the weather bus, and ρ is the fluid density. If use_Cp_in=true, then the wind pressure coefficient is obtained from the input connector Cp_in. Otherwise, it is set to the parameter Cp.

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
Booleanuse_Cp_infalseGet the wind pressure coefficient from the input connector
RealCp0.6Fixed value of wind pressure coefficient
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
Modelica.Blocks.Interfaces.RealInputCp_inPrescribed wind pressure coefficient

Components

TypeNameDefaultDescription
Modelica.Units.SI.PressurepWinChange in pressure due to wind force

Revisions

  • January 24, 2019, by Michael Wetter:
    Changed model to use new base class.
  • May 30, 2014, by Michael Wetter:
    Removed undesirable annotation Evaluate=true.
  • October 26, 2011 by Michael Wetter:
    First implementation.