modelStream
Flow of whole solution
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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.VolumeFlowRate | SolutionFlow (from ConditionalSolutionFlow) | 0 | Volume flow rate of the solution if useSolutionFlowInput=false |
| Modelica.Units.SI.AmountOfSubstance | AmountOfSolutionIn1L (from ConditionalSolutionFlow) | 55.508 | The amount of all particles in one liter of the solution |
| stateOfMatter.SubstanceData | substanceData | Definition of the substance | |
| Conditional inputs | |||
| Boolean | useSolutionFlowInput (from ConditionalSolutionFlow) | false | =true, if solution flow is provided via input |
| Advanced › Performance | |||
| Boolean | EnthalpyNotUsed | false | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | solutionFlow (from ConditionalSolutionFlow) | q*OneLiter/AmountOfSolutionIn1L | |
| Interfaces.SubstancePort_b | port_b | ||
| Interfaces.SubstancePort_b | port_a | ||
| Interfaces.SolutionPort | solution |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MolarFlowRate | q (from ConditionalSolutionFlow) | Current molar solution flow | |
| Sensors.MoleFractionSensor | moleFractionSensor | ||
| Sensors.MoleFractionSensor | moleFractionSensor1 | ||
| SubstancePump | substancePump | ||
| Modelica.Blocks.Logical.Switch | switch1 | ||
| Modelica.Blocks.Logical.GreaterThreshold | greaterThreshold | ||
| Modelica.Blocks.Math.Product | product | ||
| Modelica.Blocks.Math.Product | product1 |
Contents
| Name | Description |
|---|---|
| stateOfMatter |
Revisions
2009-2018 by Marek Matejak, Charles University, Prague, Czech Republic