modelBoundaryRealGas_TxV_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, temperature and mole 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: mole fraction in mol/mol
Modelica RealInput: temperature in K
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
Modified by Carsten Bode (c.bode@tuhh.de), Feb 2018 (did not work correctly for incoming mass flow before)
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_T | false | True, if temperature defined by variable input |
| Boolean | variable_x | false | True, if composition defined by variable input |
| Constant Boundaries | |||
| SI.VolumeFlowRate | V_flow_n_const | 0 | Constant volume flow rate under normal conditions (negative sign for outflowing) |
| SI.Temperature | T_const | simCenter.T_ground | Constant temperature of source |
| SI.MoleFraction[medium.nc - 1] | x_const | zeros(medium.nc - 1) | Constant molar 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.TemperatureIn | T | T_in | Variable temperature |
| TransiEnt.Basics.Interfaces.General.MoleFractionIn[medium.nc - 1] | x | x_in | Variable molar composition |
| Modelica.Blocks.Interfaces.RealOutput | H_NCV | ||
| Modelica.Blocks.Interfaces.RealOutput | H_GCV |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Mass | m | ||
| SI.MolarMass | M_i | ||
| SI.MolarMass | M | ||
| TransiEnt.SimCenter | simCenter | ||
| 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 | ||
| 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 |