Interface ThermodynamicState

All Known Implementing Classes:
IdealGas

public interface ThermodynamicState
Interface representing the thermodynamic state of a system.

Defines standard state variables with type-safe Quantity types:

  • $T$: Temperature (K)
  • $P$: Pressure (Pa)
  • $V$: Volume (m³)
  • $S$: Entropy (J/K)
Also provides an Equation of State (EOS) mechanism.

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

    • getTemperature

      Quantity<Temperature> getTemperature()
      Returns the temperature of this state.
      Returns:
      temperature in standard units (Kelvin)
    • getPressure

      Quantity<Pressure> getPressure()
      Returns the pressure of this state.
      Returns:
      pressure in standard units (Pascal)
    • getVolume

      Quantity<Volume> getVolume()
      Returns the volume of this state.
      Returns:
      volume in standard units (cubic meters)
    • getEntropy

      Quantity<Entropy> getEntropy()
      Returns the entropy of this state.
      Returns:
      entropy (J/K)
    • getInternalEnergy

      Quantity<Energy> getInternalEnergy()
      Internal energy ($U$).
      Returns:
      internal energy in standard units (Joules)
    • getEnthalpy

      Quantity<Energy> getEnthalpy()
      Enthalpy ($H = U + PV$).
      Returns:
      enthalpy in standard units (Joules)