modelSolution

Chemical solution as homogenous mixture of the substances
Diagram of Solution

Extends from Icons.Solution, Interfaces.PartialSolutionWithHeatPort (Chemical solution as homogenous mixture of the substances).

Information

amountOfSolution = ∑ amountOfSubstances

mass = ∑ massOfSubstances

volume = ∑ volumeOfSubstances

freeGibbsEnergy = ∑ freeGibbsEnergiesOfSubstances

To calculate the sum of extensive substance's properties is misused the Modelica "flow" prefix even there are not real physical flows.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.PressureBasePressuresystem.p_ambientPressure at zero mechanic force (or if not useMechanicPorts)
Modelica.Units.SI.AreaSurfaceArea0.01Area for surfacePort to connect MultiBody components
BooleanisPistonPositionAbsolutefalseRelavite position has zero at initial state without force
Environment relationships
BooleanElectricGround (from PartialSolution)trueIs electric potential equal to zero?
BooleanConstantTemperature (from PartialSolutionWithHeatPort)trueIs temperature constant (if not useThermalPort)?
Initialization
Modelica.Units.SI.Temperaturetemperature_start (from PartialSolutionWithHeatPort)system.T_ambientInitial temperature of the solution
Conditional inputs
BooleanuseThermalPort (from PartialSolutionWithHeatPort)falseIs thermal port pressent?
BooleanuseMechanicPortsfalseAre mechanic ports pressent?

Connectors

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from PartialSolutionWithHeatPort)
Modelica.Mechanics.Translational.Interfaces.Flange_asurfaceFlangeThe pressure of solution generate force on prescribed surface.
Modelica.Mechanics.Translational.Interfaces.Flange_bbottomFix of the cilinder on bottom.
Interfaces.SolutionPortsolutionSolution nonflows and flows

Components

TypeNameDefaultDescription
Modelica.Fluid.Systemsystem (from PartialSolution)System wide properties
Modelica.Units.SI.Temperaturetemperature (from PartialSolution)Temperature
Modelica.Units.SI.Pressurepressure (from PartialSolution)Pressure
Modelica.Units.SI.Volumevolume (from PartialSolution)Current volume of the solution
Modelica.Units.SI.Massmass (from PartialSolution)Current mass of the solution
Totaltotal (from PartialSolution)

Revisions

2015-2020 by Marek Matejak, Charles University, Prague, Czech Republic