Energy and Entropy: Equilibrium to Stationary States