Buildings.Obsolete.Fluid.Sources
Package with boundary condition models
Information
Package Sources contains generic sources for fluid connectors to define fixed or prescribed ambient conditions.
Extends from Modelica.Icons.SourcesPackage (Icon for packages containing sources).
Package Content
Name | Description |
---|---|
FixedBoundary | Boundary source component |
Buildings.Obsolete.Fluid.Sources.FixedBoundary
Boundary source component
Information
This model defines constant values for boundary conditions:
- Boundary pressure or boundary density.
- Boundary temperature or boundary specific enthalpy.
- Boundary composition (only for multi-substance or trace-substance flow).
Note, that boundary temperature, density, specific enthalpy, 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.
Extends from Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions), Buildings.Fluid.Sources.BaseClasses.PartialSource (Partial component source with one fluid connector).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Boundary pressure or Boundary density | |||
Boolean | use_p | true | select p or d |
AbsolutePressure | p | Medium.p_default | Boundary pressure [Pa] |
Density | d | Medium.density_pTX(p=Medium.... | Boundary density [kg/m3] |
Boundary temperature or Boundary specific enthalpy | |||
Boolean | use_T | true | select T or h |
Temperature | T | Medium.T_default | Boundary temperature [K] |
SpecificEnthalpy | h | Medium.h_default | Boundary specific enthalpy [J/kg] |
Only for multi-substance flow | |||
MassFraction | X[Medium.nX] | Medium.X_default | Boundary mass fractions m_i/m [kg/kg] |
Only for trace-substance flow | |||
ExtraProperty | C[Medium.nC] | fill(0, Medium.nC) | Boundary trace substances |
Advanced | |||
Boolean | verifyInputs | true | Set to true to stop the simulation with an error if the medium temperature is outside its allowable range |
Connectors
Type | Name | Description |
---|---|---|
FluidPorts_b | ports[nPorts] | Fluid ports |