modelOutside_Cp

Test model for source and sink with outside weather data and wind pressure

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model demonstrates the use of a source for ambient temperature, pressure and species concentration. The models bou1 and bou2 compute the ambient pressure based on the weather file and the wind pressure. The model bou1 uses a parameter for the wind pressure coefficient, whereas bou2 uses the wind pressure coefficient from its input port. The model bouFix does not compute any wind pressure. Adding the wind pressure to the models on the left-hand side induces a mass flow rate through the orifice models ori1 and ori2. Since both source models use the same constant wind pressure coefficient, the mass flow rate through the orifice model is the same. In more realistic applications, the constant source Cp would be replaced by a model that computes a wind pressure coefficient that takes into account the wind direction relative to the building.

Components

TypeNameDefaultDescription
Buildings.Fluid.Sources.Outside_Cpbou1Model with outside conditions
Buildings.BoundaryConditions.WeatherData.ReaderTMY3weaDat
Buildings.Fluid.Sources.OutsidebouFixModel with outside conditions
Modelica.Blocks.Sources.ConstantCpConstant value for Cp (used to demonstrate input connector)
Buildings.Airflow.Multizone.Orificeori1Orifice
Buildings.Fluid.Sources.Outside_Cpbou2Model with outside conditions
Buildings.Airflow.Multizone.Orificeori2Orifice

Contents

NameDescription
MediumMedium model for air

Revisions

  • December 22, 2014 by Michael Wetter:
    Removed Modelica.Fluid.System to address issue #311.
  • October 26, 2011 by Michael Wetter:
    First implementation.