
modelSourceLiquid
Extends from Icons.Color.LiquidSource.
Information
Liquid source. The user can choose whether to prescribe the mass flow rate, the molar flow rate or the volume flow rate. Therefore the enumeration parameter flowOption has to be set to the desired option. The value entered for the parameter Flow therefore corresponds either to mass flow rate in kg/s, molar flow rate in mol/s or volume flow rate in m3/s.
By default the flow rate, the temperature and the molar composition are prescribed but not the pressure. If the pressure is also to be prescribed, the parameter p_fixed has to be set to true.
Parameters
| Type | Name | Default | Description |
| Boolean | use_x_in | false | true if mole fraction variable is set by an input connector |
| Integer | nS | MediumLiquid.nSubstance | |
| SI.Temperature | T | 300 | temperature |
| SI.MoleFraction[nS] | x | {0, 1, 0} | mole fraction |
| Boolean | useT_In | false | true if temperature variable is set by an input connector |
| Boolean | fixed_pressure | false | true if pressure variable is set by an input connector |
| SI.Pressure | p_fixed | 1e5 | pressure |
| Advanced |
| SI.Temperature | T_ref | systemTS.T_ref | reference temperature |
| Flow option |
| ThermalSeparation.Components.SourcesSinks.Enumerations.FlowOption | flowOption | Enumerations.FlowOption.FlowVdot | determines which flow variable shall be specified |
| Real | Flow | 1 | value of flow variable, for the applicable unit see flowOption |
| Boolean | use_Flow | false | true if flow variable is set by an input connector |
Contents
| Name | Description |
| MediumLiquid | medium to be used |