Report describing the basis for the Energy Balance method in HDM-4Report describing the basis for the Energy Balance method in HDM-4