The MAGMA Thermal Simulator/General