modelStream

Flow of whole solution
Diagram of Stream

Extends from Interfaces.ConditionalSolutionFlow (Input of solution molar flow vs. parametric solution molar flow).

Information

Bidirectional mass flow by concentration

Possible field values:

forward flow

backward flow

solutionFlow

>=0

<=0

q_in.q

=solutionFlow*q_in.conc

=-q_out.q

q_out.q

=-q_in.q

=solutionFlow*q_out.conc


Parameters

TypeNameDefaultDescription
Modelica.Units.SI.VolumeFlowRateSolutionFlow (from ConditionalSolutionFlow)0Volume flow rate of the solution if useSolutionFlowInput=false
Modelica.Units.SI.AmountOfSubstanceAmountOfSolutionIn1L (from ConditionalSolutionFlow)55.508The amount of all particles in one liter of the solution
stateOfMatter.SubstanceDatasubstanceDataDefinition of the substance
Conditional inputs
BooleanuseSolutionFlowInput (from ConditionalSolutionFlow)false=true, if solution flow is provided via input
Advanced › Performance
BooleanEnthalpyNotUsedfalse

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputsolutionFlow (from ConditionalSolutionFlow)q*OneLiter/AmountOfSolutionIn1L
Interfaces.SubstancePort_bport_b
Interfaces.SubstancePort_bport_a
Interfaces.SolutionPortsolution

Components

TypeNameDefaultDescription
Modelica.Units.SI.MolarFlowRateq (from ConditionalSolutionFlow)Current molar solution flow
Sensors.MoleFractionSensormoleFractionSensor
Sensors.MoleFractionSensormoleFractionSensor1
SubstancePumpsubstancePump
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Logical.GreaterThresholdgreaterThreshold
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Math.Productproduct1

Contents

NameDescription
stateOfMatter

Revisions

2009-2018 by Marek Matejak, Charles University, Prague, Czech Republic