modelSolution
Chemical solution as homogenous mixture of the substances
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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Pressure | BasePressure | system.p_ambient | Pressure at zero mechanic force (or if not useMechanicPorts) |
| Modelica.Units.SI.Area | SurfaceArea | 0.01 | Area for surfacePort to connect MultiBody components |
| Boolean | isPistonPositionAbsolute | false | Relavite position has zero at initial state without force |
| Environment relationships | |||
| Boolean | ElectricGround (from PartialSolution) | true | Is electric potential equal to zero? |
| Boolean | ConstantTemperature (from PartialSolutionWithHeatPort) | true | Is temperature constant (if not useThermalPort)? |
| Initialization | |||
| Modelica.Units.SI.Temperature | temperature_start (from PartialSolutionWithHeatPort) | system.T_ambient | Initial temperature of the solution |
| Conditional inputs | |||
| Boolean | useThermalPort (from PartialSolutionWithHeatPort) | false | Is thermal port pressent? |
| Boolean | useMechanicPorts | false | Are mechanic ports pressent? |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from PartialSolutionWithHeatPort) | ||
| Modelica.Mechanics.Translational.Interfaces.Flange_a | surfaceFlange | The pressure of solution generate force on prescribed surface. | |
| Modelica.Mechanics.Translational.Interfaces.Flange_b | bottom | Fix of the cilinder on bottom. | |
| Interfaces.SolutionPort | solution | Solution nonflows and flows |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system (from PartialSolution) | System wide properties | |
| Modelica.Units.SI.Temperature | temperature (from PartialSolution) | Temperature | |
| Modelica.Units.SI.Pressure | pressure (from PartialSolution) | Pressure | |
| Modelica.Units.SI.Volume | volume (from PartialSolution) | Current volume of the solution | |
| Modelica.Units.SI.Mass | mass (from PartialSolution) | Current mass of the solution | |
| Total | total (from PartialSolution) |
Revisions
2015-2020 by Marek Matejak, Charles University, Prague, Czech Republic