modelBoundaryRear
Generic Boundary model (may act as source or sink)
Information
A undirected boundary that can act as source and sink, depending on the rest of the system. The Boundary_rear has to be connected to the rear end of your model and therefore has a fore port. At positive massflow the fore port acts as an outlet and therefore the boundary_rear is a source.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Substance | |||
| Chemical.Interfaces.Definition | substanceDefinition | Chemical.Substances.Liquid.Unknown | Definition of the substance |
| Boolean | usePotential | false | Use input connector for chemical potential |
| Modelica.Units.SI.ChemicalPotential | u0_par | 0 | ChemicalPotential set value |
| Boolean | useEnthalpy | false | Use input connector for molar enthalpy |
| Modelica.Units.SI.MolarEnthalpy | h0_par | 0 | molar enthalpy set value |
| Chemical solution | |||
| Boolean | useSolution | false | Use input connector for solution? |
| Chemical.Interfaces.SolutionState | solutionParam | Chemical.Interfaces.SolutionState(phase = Chemical.Interfaces.Phase.Incompressible) | |
| Advanced | |||
| Modelica.Units.SI.MolarFlowRate | n_flow_reg | dropOfCommons.n_flow_reg | Regularization threshold of mass flow rate |
| Chemical.Utilities.Units.Inertance | L | dropOfCommons.L | Inertance of the boundary |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u0_var | Chemical potential input connector [J/mol] | |
| Modelica.Blocks.Interfaces.RealInput | h0_var | Enthalpy input connector | |
| Interfaces.Fore | fore | ||
| Chemical.Interfaces.SolutionPort | solution |