Class HessLaw

java.lang.Object
org.episteme.natural.chemistry.thermochemistry.HessLaw

public class HessLaw extends Object
Thermochemistry calculations using Hess's Law.

Based on: G.H. Hess, "Thermochemische Untersuchungen", Annalen der Physik und Chemie, Vol. 50, pp. 385-404, 1840.

Hess's Law states that the total enthalpy change of a reaction is independent of the pathway taken (path independence of state functions).

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • calculateEnthalpyOfReaction

      public static Quantity<Energy> calculateEnthalpyOfReaction(Map<String,Real[]> productEnthalpies, Map<String,Real[]> reactantEnthalpies)
      Calculates the enthalpy of reaction using Hess's Law. ΔH_rxn = Σ(ΔHf products) - Σ(ΔHf reactants)
      Parameters:
      productEnthalpies - Map of product formula to (coefficient, ΔHf in kJ/mol)
      reactantEnthalpies - Map of reactant formula to (coefficient, ΔHf in kJ/mol)
      Returns:
      Enthalpy of reaction in kJ/mol
    • isExothermic

      public static boolean isExothermic(Quantity<Energy> enthalpyOfReaction)
      Determines if reaction is exothermic or endothermic.