modelGasConsumerPipe_mFlow

Sink defining xi, h, m_flow with a pipe representing the distance to a consumer within this district

Extends from TransiEnt.Basics.Icons.GasSink (Icon for gas sinks).

Information

1. Purpose of model

Real gas consumer with one pipe.

Pipe can represent the average distance to a consumer.

2. Level of detail, physical effects considered, and physical insight

(no remarks)

3. Limits of validity

(no remarks)

4. Interfaces

fluidPortIn - RealGas

m_flow - Gas mass flow in [kg/s]

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no remarks)

8. Validation

(no validation or testing necessary)

9. References

(no remarks)

10. Version History

Model created by Tom Lindemann (tom.lindemann@tuhh.de) in Jun 2015

Edited by Lisa Andresen (andresen@tuhh.de) in May 2016

Edited by Carsten Bode(c.bode@tuhh.de) in May 2020 (added option to use isothermal pipe model)

Parameters

TypeNameDefaultDescription
Pipe Network › Parameters
SI.Lengthlength1000Average distance to a consumer within this district
SI.Lengthdiameter0.4Diameter
IntegerN_tubes1Number of parallel tubes
IntegerN_cv1Number of finite volumes
BooleanuseIsothPipefalsetrue: isothermal pipe model, false: adiabatic pipe model
General › General
TILMedia.VLEFluidTypes.BaseVLEFluidmediumsimCenter.gasModel1Medium to be used
IntegerflowDefinition1Flow definition for sensors
Booleanvariable_m_flowtrueTrue, if enthalpy flow defined by variable input
SI.MassFlowRatem_flow_const1e6Constant mass flow rate flow rate
Pipe Network › Initialization
SI.MassFraction[medium.nc - 1]xi_startmedium.xi_defaultComposition of the medium for initialization (nc-1)
SI.Pressure[N_cv]p_startones(N_cv)*15e5Pressure
SI.EnthalpyMassSpecific[N_cv]h_startones(N_cv)*788440Enthalpy
SI.MassFlowRate[N_cv + 1]m_flow_startones(N_cv + 1)*140Mass flow rate
Pipe Network › Nominal values
SI.MassFraction[medium.nc - 1]xi_nommedium.xi_defaultNominal composition of the medium (nc-1)
SI.Pressure[N_cv]p_nomones(N_cv)*15e5Nominal absolute pressure
SI.EnthalpyMassSpecific[N_cv]h_nomones(N_cv)*788440Nominal enthalpy
SI.MassFlowRatem_flow_nom140Nominal mass flow
SI.PressureDifferenceDelta_p_nom3e4Nominal pressure loss
Sink › General
SI.MassFraction[medium.nc - 1]xi_constmedium.xi_defaultConstant composition of medium (nc-1)
SI.TemperatureT_const283.15Constant temperature
Pipes
IntegermassBalance1Mass balance and species balance fomulation

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Gas.RealGasPortInfluidPortIn
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flowMass flow rate input

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
TransiEnt.Components.Gas.VolumesValvesFittings.Pipes.PipeFlow_L4_Simplepipe
TransiEnt.Components.Boundaries.Gas.BoundaryRealGas_Txim_flowsink
TransiEnt.Components.Sensors.RealGas.CompositionSensorvleCompositionSensor
TransiEnt.Components.Sensors.RealGas.MassFlowSensormassflowSensor
TransiEnt.Components.Sensors.RealGas.WobbeGCVSensorvleGCVSensor
Components.Gas.VolumesValvesFittings.Pipes.PipeFlow_L4_Simple_isothpipe_isoth

Contents

NameDescription
PressureLoss