Generation scheduling with thermal stress constraints | Synapse