modelBoundaryFore

Generic Boundary model (may act as source or sink)
Diagram of BoundaryFore

Information

A undirected boundary that can act as source and sink, depending on the rest of the system. The Boundary_fore has to be connected to the fore end of your model and therefore has a rear port. At positive massflow the rear port acts as an inlet and therefore the boundary_fore is a sink.

Parameters

TypeNameDefaultDescription
Substance
BooleanusePotentialfalseUse input connector for potential?
Modelica.Units.SI.ChemicalPotentialu0_par0ChemicalPotential set value
BooleanuseEnthalpyfalseUse input connector for molar enthalpy
Modelica.Units.SI.MolarEnthalpyh0_par0molar enthalpy set value
Advanced
Modelica.Units.SI.MolarFlowRaten_flow_regdropOfCommons.n_flow_regRegularization threshold of mass flow rate
Chemical.Utilities.Units.InertanceLdropOfCommons.LInertance of the boundary
Chemical solution
BooleanuseSolutionfalseUse input connector for solution?
Chemical.Interfaces.SolutionStatesolutionParamChemical.Interfaces.SolutionState(phase = Chemical.Interfaces.Phase.Incompressible)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu0_varChemicalPotential input connector [Pa]
Modelica.Blocks.Interfaces.RealInputh0_varEnthalpy input connector
Chemical.Interfaces.Rearrear
Chemical.Interfaces.SolutionPortsolution