function specificAmountOfFreeBaseMolecule
extends Modelica.Icons.Function;
input SubstanceData substanceData "Data record of substance";
input Modelica.Units.SI.Temperature T = 298.15 "Temperature";
input Modelica.Units.SI.Pressure p = 100000 "Pressure";
input Modelica.Units.SI.ElectricPotential v = 0 "Electric potential of the substance";
input Modelica.Units.SI.MoleFraction I = 0 "Ionic strengh (mole fraction based)";
input Modelica.Units.SI.Mass massH2O = 1 "Mass of H2O";
input Modelica.Units.SI.AmountOfSubstance nSolution = 1 "Amount of substances in solution";
output Real specificAmountOfFreeBaseMolecule(unit = "mol/kg") "Amount of substance free base molecule per substance mass";
end specificAmountOfFreeBaseMolecule;