modelPureSubstance
Constant source of pure substance
Extends from Interfaces.PartialSubstance.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| stateOfMatter.SubstanceData | substanceData (from PartialSubstance) | Definition of the substance | |
| Modelica.Units.SI.Temperature | Temperature | system.T_ambient | Temperature |
| Modelica.Units.SI.Pressure | Pressure | system.p_ambient | Pressure |
| Modelica.Units.SI.ElectricPotential | ElectricPotential | 0 | Electric potential |
| Modelica.Units.SI.MoleFraction | MoleFractionBasedIonicStrength | 0 | Ionic strength |
| Conditional inputs | |||
| Boolean | useTemperatureInput | false | =true, if temperature is from input instead of parameter |
| Boolean | usePressureInput | false | =true, if pressure is from input instead of parameter |
| Boolean | useElectricPotentialInput | false | =true, if electric potential is from input instead of parameter |
| Boolean | useIonicStrengthInput | false | =true, if ionic strength is from input instead of parameter |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| SubstancePort_a | port_a (from PartialSubstance) | The substance | |
| Modelica.Blocks.Interfaces.RealInput | T | temperature | Temperature |
| Modelica.Blocks.Interfaces.RealInput | p | pressure | Pressure |
| Modelica.Blocks.Interfaces.RealInput | v | electricPotential | Electric potential |
| Modelica.Blocks.Interfaces.RealInput | I | moleFractionBasedIonicStrength | Pressure |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system (from PartialSubstance) | System wide properties | |
| Modelica.Units.SI.MoleFraction | x (from PartialSubstance) | Mole fraction of the substance | |
| Modelica.Units.SI.ActivityOfSolute | a (from PartialSubstance) | Activity of the substance (mole-fraction based) |
Revisions
2009-2015
Marek Matejak, Charles University, Prague, Czech Republic