Heating controller with neural thermal model written in Python