functionfromFormationEnergies

Inputs

TypeNameDefaultDescription
RealMM1Molar mass of the substance
Realz0Charge number of the substance (e.g., 0..uncharged, -1..electron, +2..Ca^(2+))
RealDfG0Gibbs energy of formation of the substance at SATP conditions (298.15, 1bar)
RealDfH0Enthalpy of formation of the substance at SATP conditions (298.15, 1bar)
RealS00Standart molar entropy of the substance at SATP conditions (298.15, 1bar)
RealCp1Molar heat capacity of the substance at SATP conditions (298.15, 1bar)
PhaseTypephasePhaseType.IncompressibleState of matter
RealVmif (phase == PhaseType.Gas) then ((1.380649e-23*6.02214076e23)*298.15)/100000 else 0.001*MMMolar volume of the pure substance at SATP conditions (298.15, 1bar) (default fron non-gaseous is to reach density 1kg/L)
Realgamma1Activity coefficient of the substance
BooleanSelfClusteringfalse
RealSelfClustering_dH0
RealSelfClustering_dS0

Outputs

TypeNameDefaultDescription
Definitionresult