functionfromValues
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Phase | phase | Phase of the chemical solution | |
| Real | T | 298.15 | Temperature of the solution |
| Real | p | 100000 | Pressure of the solution |
| Real | v | 0 | Electric potential in the solution |
| Real | n | 1 | Amount of the solution |
| Real | m | 1 | Mass of the solution |
| Real | V | if (phase == Phase.Gas) then n*(1.380649e-23*6.02214076e23)*T/p else 0.001 | Volume of the solution |
| Real | G | 0 | Free Gibbs energy of the solution |
| Real | Q | 0 | Electric charge of the solution |
| Real | I | 0 | Mole fraction based ionic strength of the solution |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SolutionState | result |