Temperature dependent iterative model of thermoelectric generator including thermal losses in passive elements. (5th March 2019)