modelPartialSubstance
Chemical substance base
Extends from PartialBoundary (Boundary enabling rear and fore connector).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Advanced | |||
| Chemical.Utilities.Units.Inertance | L (from PartialBoundaryBase) | dropOfCommons.L | |
| Modelica.Units.SI.MolarFlowRate | n_flow_reg (from PartialBoundaryBase) | dropOfCommons.n_flow_reg | Regularization threshold of mass flow rate |
| Substance | |||
| Chemical.Interfaces.Definition | substanceDefinition (from PartialBoundary) | dropOfCommons.DefaultSubstance | Definition of the substance |
| Modelica.Units.SI.Mass | m_start | Start value for mass of the substance | |
| Conditional inputs | |||
| Boolean | useRear (from PartialBoundary) | false | Use rearwards conector? |
| Boolean | useFore (from PartialBoundary) | true | Use forwards connector? |
| Chemical solution | |||
| Boolean | useSolution | false | Use solution port? |
| Boolean | useRearSolution | useRear and (not useSolution) | Use solution from rear? |
| Chemical.Interfaces.SolutionState | solutionParam | Chemical.Interfaces.SolutionState(phase = Chemical.Interfaces.Phase.Incompressible) | Constant chemical solution state if not from rear or input |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Chemical.Interfaces.Rear | rear (from PartialBoundary) | ||
| Chemical.Interfaces.Fore | fore (from PartialBoundary) | ||
| Chemical.Interfaces.SolutionPort | solution | To connect substance with solution, where is pressented |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system (from PartialBoundaryBase) | System wide properties | |
| Modelica.Units.SI.AmountOfSubstance | n | Amount of base molecules inside all clusters in compartment | |
| Chemical.Interfaces.Properties.SubstanceProperties | substance | ||
| Modelica.Units.SI.Concentration | c | Concentration | |
| Modelica.Units.SI.MassConcentration | M | Mass concentration | |
| Modelica.Units.SI.Molality | b | Molality | |
| Modelica.Units.SI.MoleFraction | x | Mole fraction | |
| Modelica.Units.SI.MassFraction | X | Mass fraction |