Skip to main content

Thermodynamics Overview

Jasper's thermodynamic engine calculates physical properties required for process simulation.

Capabilities

PropertyMethodStatus
Heat capacity (Cp)Polynomial correlationImplemented
EnthalpyIntegration of CpImplemented
Vapor pressureAntoine equationImplemented
VLERaoult's LawImplemented
DensityIdeal gas / liquid correlationsPartial

Property Calculation Flow

Component Data (MW, Tc, Pc, Cp coefficients, Antoine coefficients)


┌─────────────────┐
│ Heat Capacity │ → Cp(T) = a + bT + cT² + dT³
└─────────────────┘


┌─────────────────┐
│ Enthalpy │ → H(T) = ∫Cp dT + Hf
└─────────────────┘


┌─────────────────┐
│ Vapor Pressure │ → log(Psat) = A - B/(T+C)
└─────────────────┘


┌─────────────────┐
│ VLE │ → Ki = Psat,i / P
└─────────────────┘

Assumptions

Current assumptions:

  • Ideal gas behavior for vapor phase
  • Ideal liquid solutions (Raoult's Law)
  • No solid phases

Planned improvements:

  • Peng-Robinson equation of state
  • NRTL activity coefficient model
  • Steam tables (IAPWS-IF97)

Units

All internal calculations use SI units:

PropertyInternal Unit
TemperatureK
PressurePa
Flowmol/s
EnthalpyJ/mol
Heat capacityJ/(mol·K)