functionfromValues

Inputs

TypeNameDefaultDescription
PhasephasePhase of the chemical solution
RealT298.15Temperature of the solution
Realp100000Pressure of the solution
Realv0Electric potential in the solution
Realn1Amount of the solution
Realm1Mass of the solution
RealVif (phase == Phase.Gas) then n*(1.380649e-23*6.02214076e23)*T/p else 0.001Volume of the solution
RealG0Free Gibbs energy of the solution
RealQ0Electric charge of the solution
RealI0Mole fraction based ionic strength of the solution

Outputs

TypeNameDefaultDescription
SolutionStateresult