modelSourceGas

source for gas

Extends from Icons.Color.GasSource.

Parameters

TypeNameDefaultDescription
Booleanuse_T_infalsetrue if temperature variable is set by an input connector
Booleanuse_x_infalsetrue if mole fraction variable is set by an input connector
Booleanuse_Flowtruetrue if flow variable is set by an input connector
SI.TemperatureT300temperature
ThermalSeparation.Components.SourcesSinks.Enumerations.FlowOptionflowOptionEnumerations.FlowOption.FlowVdotdetermines which flow variable shall be specified
RealFlow0.5value of flow variable, for the applicable unit see flowOption
SI.MoleFraction[Medium.nSubstance]x{1, 0}mole fraction

Connectors

TypeNameDefaultDescription
ThermalSeparation.Interfaces.GasPortOutgasPortOut
Modelica.Blocks.Interfaces.RealInputFlow_in
Modelica.Blocks.Interfaces.RealInputT_in
Modelica.Blocks.Interfaces.RealInput[Medium.nSubstance]x_in

Components

TypeNameDefaultDescription
Medium.BasePropertiesmedium
Realrho
Real[Medium.nSubstance]c
ThermalSeparation.Units.MolarEnthalpyh
SI.MolarMassMMmedium.MM

Contents

NameDescription
Mediummedium to be used