modelTestGasFlow1DFV_D

Test case for Gas.Flow1DFV

Extends from ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B (Test case for Gas.Flow1DFV).

Information

Same as TestGasFlow1D_B, but with QuasiStatic = true; the model is purely algebraic (no mass and energy storage).

Parameters

TypeNameDefaultDescription
IntegerNnodes (from TestGasFlow1DFV_A)10number of Nodes
SI.LengthLhex (from TestGasFlow1DFV_A)200total length
SI.DiameterDihex (from TestGasFlow1DFV_A)0.02internal diameter
SI.Radiusrhex (from TestGasFlow1DFV_A)Dihex/2internal radius
SI.Lengthomegahex (from TestGasFlow1DFV_A)Modelica.Constants.pi*Dihexinternal perimeter
SI.AreaAhex (from TestGasFlow1DFV_A)Modelica.Constants.pi*rhex^2internal cross section
RealCfhex (from TestGasFlow1DFV_A)0.005friction coefficient
SI.MassFlowRatewhex (from TestGasFlow1DFV_A)0.05nominal (and initial) mass flow rate
SI.Pressurephex (from TestGasFlow1DFV_A)3e5initial pressure
SI.TemperatureTinhex (from TestGasFlow1DFV_A)300initial inlet temperature
SI.TemperatureTouthex (from TestGasFlow1DFV_A)300initial outlet temperature
SI.EnergyFlowRateW (from TestGasFlow1DFV_A)500height of power step
Real[2]deltaX (from TestGasFlow1DFV_B){0.05, -0.05}height of composition step

Components

TypeNameDefaultDescription
Realgamma (from TestGasFlow1DFV_A)Medium.specificHeatCapacityCp(hex.gas[1].state)/Medium.specificHeatCapacityCv(hex.gas[1].state)cp/cv
RealdMtot_dp (from TestGasFlow1DFV_A)hex.Mtot/(hex.p*gamma)compressibility
Realdw_dp (from TestGasFlow1DFV_A)valve.Kvsensitivity of valve flow to pressure
SI.Timetau (from TestGasFlow1DFV_A)dMtot_dp/dw_dptime constant of pressure transient
SI.MassMhex (from TestGasFlow1DFV_A)Mass in the heat exchanger
SI.MassMbal (from TestGasFlow1DFV_A)Mass resulting from the mass balance
SI.MassMerr (from TestGasFlow1DFV_A)Mass balance error
Gas.SourceMassFlowSource (from TestGasFlow1DFV_A)
Gas.SinkPressureSink (from TestGasFlow1DFV_A)
Gas.SensTSensT1 (from TestGasFlow1DFV_A)
Gas.SensTSensT2 (from TestGasFlow1DFV_A)
Gas.Flow1DFVhex (from TestGasFlow1DFV_A)
Gas.ValveLinvalve (from TestGasFlow1DFV_A)
Thermal.HeatSource1DFVheatSource (from TestGasFlow1DFV_A)
Modelica.Blocks.Sources.StepStep1 (from TestGasFlow1DFV_A)
Modelica.Blocks.Sources.StepStep4 (from TestGasFlow1DFV_A)
Modelica.Blocks.Sources.StepStep2 (from TestGasFlow1DFV_A)
Systemsystem (from TestGasFlow1DFV_A)
Modelica.Blocks.Sources.StepStep3 (from TestGasFlow1DFV_B)