modelOutside_Cp
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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nPorts (from PartialAirSource) | 0 | Number of ports |
| Boolean | use_C_in (from Outside) | false | Get the trace substances from the input connector |
| Medium.ExtraProperty[Medium.nC] | C (from Outside) | fill(0, Medium.nC) | Fixed values of trace substances |
| Boolean | use_Cp_in | false | Get the wind pressure coefficient from the input connector |
| Real | Cp | 0.6 | Fixed value of wind pressure coefficient |
| Advanced | |||
| Boolean | verifyInputs (from PartialAirSource) | false | Set to true to stop the simulation with an error if the medium temperature is outside its allowable range |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| 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.Bus | weaBus (from Outside) | Bus with weather data | |
| Modelica.Blocks.Interfaces.RealInput | Cp_in | Prescribed wind pressure coefficient |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Pressure | pWin | Change 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 annotationEvaluate=true. -
October 26, 2011 by Michael Wetter:
First implementation.