.Chemical.Processes.Internal.Kinetics.partialPotentialDiff

Interface for potential difference functions

Information

Interface definition for a potential loss in a chemical process. Inputs are information about flow condition and the chemical solution state, output is the electro-chemical potential drop.

Interface

partial function partialPotentialDiff
  extends Modelica.Icons.Function;
  input Modelica.Units.SI.MolarFlowRate q "Molar flow rate of the process";
  input Modelica.Units.SI.MolarFlowRate q_f "Forward rate (e.g. k_forward*x_substrates)";
  input Modelica.Units.SI.MolarFlowRate q_b "Backward rate (e.g. k_backward*x_products)";
  input Chemical.Interfaces.SolutionState solutionState "Solution state";
  input Modelica.Units.SI.MolarFlowRate q_reg "Smallest significant rate near forward and backward rate";
  output Modelica.Units.SI.ChemicalPotential potentialDiff "Electro-chemical potential difference in chemical process";
end partialPotentialDiff;

Generated at 2025-09-18T18:21:15Z by OpenModelicaOpenModelica 1.25.4 using GenerateDoc.mos