thermodynamic_generator.sm