modelPipeFlowGas_L4_Advanced
Extends from ClaRa.Basics.ControlVolumes.GasVolumes.VolumeGas_L4_advanced (An array of gas cells with dynamic momentum balance.), ClaRa.Basics.Icons.Pipe_L4_a, ClaRa.Basics.Icons.ComplexityLevel (Displays the complexity level inside model icon ).
Information
For detailed model documentation please consult the html-documentation shipped with ClaRa.
Authorship and Copyright Statement for original (initial) Contribution
Author:
DYNCAP/DYNSTART development team, Copyright © 2011-2024.References:
For references please consult the html-documentation shipped with ClaRa.
Remarks:
This component was developed by ClaRa development team under the 3-clause BSD License.
Acknowledgements:ClaRa originated from the collaborative research projects DYNCAP and DYNSTART. Both research projects were supported by the German Federal Ministry for Economic Affairs and Energy (FKZ 03ET2009 and FKZ 03ET7060).
CLA:
The author(s) have agreed to ClaRa CLA, version 1.0. See https://claralib.com/pdf/CLA.pdf
By agreeing to ClaRa CLA, version 1.0 the author has granted the ClaRa development team a permanent right to use and modify his initial contribution as well as to publish it or its modified versions under the 3-clause BSD License.
The ClaRa development team consists of the following partners:
TLK-Thermo GmbH (Braunschweig, Germany)
XRG Simulation GmbH (Hamburg, Germany).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.DensityMassSpecific[geo.N_cv] | rho_nom (from VolumeGas_L4_advanced) | TILMedia.Gas.Functions.density_pTxi(medium, p_nom, T_nom, xi_nom) | Nominal density |
| Boolean | showData (from VolumeGas_L4_advanced) | false | |Summary and Visualisation||True, if a data port containing p,T,h,s,m_flow shall be shown, else false |
| ClaRa.Basics.Units.Length | length | 1 | |Geometry|Length of the pipe |
| ClaRa.Basics.Units.Length | diameter_i | 0.1 | |Geometry|Inner diameter of the pipe |
| Integer | N_tubes | 1 | |Geometry|Number Of parallel pipes |
| Integer | N_cv | 3 | |Discretisation|Number of finite volumes |
| ClaRa.Basics.Units.Length[N_cv] | Delta_x | ClaRa.Basics.Functions.GenerateGrid({0}, length, N_cv) | |Discretisation|Discretisation scheme |
| Fundamental Definitions | |||
| TILMedia.Gas.Types.BaseGas | medium (from VolumeGas_L4_advanced) | simCenter.flueGasModel | Medium to be used |
| Boolean | use2HeatPorts (from VolumeGas_L4_advanced) | false | True, if a second heat port should be used |
| Boolean | frictionAtInlet (from VolumeGas_L4_advanced) | false | True if pressure loss between first cell and inlet shall be considered |
| Boolean | frictionAtOutlet (from VolumeGas_L4_advanced) | false | True if pressure loss between last cell and outlet shall be considered |
| Nominal Values | |||
| SI.Pressure[geo.N_cv] | p_nom (from VolumeGas_L4_advanced) | 1e5*ones(geo.N_cv) | Nominal pressure |
| SI.Temperature[geo.N_cv] | T_nom (from VolumeGas_L4_advanced) | 293.15*ones(geo.N_cv) | Nominal temperature for single tube |
| SI.MassFraction[medium.nc - 1] | xi_nom (from VolumeGas_L4_advanced) | medium.xi_default | Nominal gas composition |
| SI.MassFlowRate | m_flow_nom (from VolumeGas_L4_advanced) | 100 | Nominal mass flow w.r.t. all parallel tubes |
| SI.Pressure | Delta_p_nom (from VolumeGas_L4_advanced) | 1e4 | Nominal pressure loss w.r.t. all parallel tubes |
| Initialisation | |||
| Integer | initOption (from VolumeGas_L4_advanced) | 0 | Type of initialisation |
| SI.Temperature[:] | T_start (from VolumeGas_L4_advanced) | 293.15*ones(geo.N_cv) | Initial temperature for single tube |
| SI.Pressure[:] | p_start (from VolumeGas_L4_advanced) | 1e5*ones(geo.N_cv) | Initial pressure |
| SI.MassFlowRate[geo.N_cv + 1] | m_flow_start (from VolumeGas_L4_advanced) | ones(geo.N_cv + 1)*100 | Initial mass flow rate |
| SI.MassFraction[medium.nc - 1] | xi_start (from VolumeGas_L4_advanced) | medium.xi_default | Initial gas composition |
| Initialisation › Model Settings | |||
| Boolean | useHomotopy (from VolumeGas_L4_advanced) | simCenter.useHomotopy | true, if homotopy method is used during initialisation |
| Geometry | |||
| Basics.Units.Length | z_in | 0 | Height of inlet above ground |
| Basics.Units.Length | z_out | 0 | Height of outlet above ground |
| Summary and Visualisation | |||
| Boolean | contributeToCycleSummary | simCenter.contributeToCycleSummary | True if component shall contribute to automatic efficiency calculation |
| Boolean | heatFlowIsLoss | true | True if negative heat flow is a loss (not a process product) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ClaRa.Basics.Interfaces.GasPortIn | inlet (from VolumeGas_L4_advanced) | Inlet port | |
| ClaRa.Basics.Interfaces.GasPortOut | outlet (from VolumeGas_L4_advanced) | Outlet port | |
| ClaRa.Basics.Interfaces.HeatPort_a[geo.N_cv] | heatOuter (from VolumeGas_L4_advanced) | ||
| ClaRa.Basics.Interfaces.HeatPort_b[geo.N_cv] | heatInner (from VolumeGas_L4_advanced) | ||
| ClaRa.Basics.Interfaces.EyeOutGas | eye |
Components
Revisions
For revisions please consult the html-documentation shipped with ClaRa.