modelBoundaryRealGas_hxiV_flow_stp
Extends from TransiEnt.Basics.Icons.GasSource (Icon for gas sources).
Information
1. Purpose of model
Boundary for real gases with volume flow at STP, specific enthalpy and mass fraction input.
2. Level of detail, physical effects considered, and physical insight
(Purely technical component without physical modeling.)
3. Limits of validity
(Purely technical component without physical modeling.)
4. Interfaces
Gas
IdealGasEnthPortIn
Modelica RealInput: volume flow rate in m3/s
Modelica RealInput: mass fraction in kg/kg
Modelica RealInput: specific enthalpy in kJ/kg
5. Nomenclature
(no elements)
6. Governing Equations
(no equations)
7. Remarks for Usage
(no remarks)
8. Validation
(no remarks)
9. References
(no remarks)
10. Version History
Created by Lisa Andresen (andresen@tuhh.de), Aug 2015
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Fundamental Definitions | |||
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium | simCenter.gasModel1 | Medium to be used |
| Boolean | calculateMass | false | True if mass in boundary shall be calculated |
| Boolean | calculateH_GCV | false | True if energy related to GCV shall be calculated |
| Boolean | calculateH_NCV | false | True if energy related to NCV shall be calculated |
| Define Variable Boundaries | |||
| Boolean | variable_V_flow_n | false | True, if volume flow under normal conditions defined by variable input |
| Boolean | variable_h | false | True, if enthalpy defined by variable input |
| Boolean | variable_xi | false | True, if composition defined by variable input |
| Boolean | verbose | false | Show initial gas compostion in log |
| Constant Boundaries | |||
| SI.VolumeFlowRate | V_flow_n_const | 0 | Constant volume flow rate under normal conditions (negative sign for outflowing) |
| SI.SpecificEnthalpy | h_const | 8e5 | Constant specific enthalpy of source |
| SI.MassFraction[medium.nc - 1] | xi_const | medium.xi_default | Constant mass composition |
| Nominal Values | |||
| SI.Pressure | p_nom | 1e5 | Nominal flange pressure |
| SI.MassFlowRate | m_flow_nom | 0 | Nominal flange mass flow (zero refers to ideal boundary) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Gas.RealGasPortIn | gasPort | ||
| TransiEnt.Basics.Interfaces.General.VolumeFlowRateIn | V_flow_n | V_flow_n_in | Variable volume flow rate under normal conditions |
| TransiEnt.Basics.Interfaces.General.SpecificEnthalpyIn | h | h_in | Variable specific enthalpy |
| TransiEnt.Basics.Interfaces.General.MassFractionIn[medium.nc - 1] | xi | xi_in | Variable mass composition |
| Modelica.Blocks.Interfaces.RealOutput | H_GCV | ||
| Modelica.Blocks.Interfaces.RealOutput | H_NCV |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Mass | m | ||
| TransiEnt.SimCenter | simCenter | ||
| Modelica.Blocks.Sources.RealExpression[medium.nc - 1] | xi_actual | ||
| Modelica.Blocks.Math.Product | product | ||
| Modelica.Blocks.Continuous.Integrator | integrator | ||
| Modelica.Blocks.Sources.Constant | zero | ||
| Modelica.Blocks.Sources.RealExpression | MassFlow | ||
| Modelica.Blocks.Sources.RealExpression[medium.nc - 1] | xi_actual2 | ||
| Modelica.Blocks.Math.Product | product1 | ||
| Modelica.Blocks.Continuous.Integrator | integrator1 | ||
| Modelica.Blocks.Sources.Constant | zero1 | ||
| Modelica.Blocks.Sources.RealExpression | Massflow2 |