Text this: Thermodynamic optimization of complex energy systems /