thermodynamically-reversible chemical reactor