Machine learning-based optimization of segmented thermoelectric power generators using temperature-dependent performance properties | Synapse