Method for temperature prediction and/or heat demand prediction of a building, comprising - Provision of a measured indoor temperature in the building, - Provision of an outdoor temperature in the vicinity of the building, - Provision of a heat amount supplied to the building, - Provision of a thermal model of the building, wherein the thermal model has the following three model parameters: a) a thermal resistance for heat transfer from inside the building to outside the building, b) a coefficient to describe a solar heat input, and c) a heat storage capacity of the building, wherein the method comprises a step of adjusting the model parameters of the thermal model such that the thermal model approximates the relationship between indoor temperature, outdoor temperature and heat amount, wherein the model parameters are adjusted regularly, in particular daily, preferably as close as possible to the end of each day under consideration, wherein the model parameters are stored regularly, in particular daily, and final values of the model parameters are obtained by averaging, in particular by median taking, of the stored model parameters, wherein the model parameters are only adjusted if the observation period fulfils at least one precondition, wherein the precondition for determining the thermal resistance comprises: - Measurement data is available in full for the observation period, - The differential temperature between indoor temperature and outdoor temperature is at least 10 K, and/or - The heat amount must have been supplied by heating. - Provision of a measured indoor temperature in the building, - Provision of an outdoor temperature in the vicinity of the building, - Provision of a heat amount supplied to the building, - Provision of a thermal model of the building, wherein the thermal model has the following three model parameters: a) a thermal resistance for heat transfer from inside the building to outside the building, b) a coefficient to describe a solar heat input, and c) a heat storage capacity of the building, wherein the method comprises a step of adjusting the model parameters of the thermal model such that the thermal model approximates the relationship between indoor temperature, outdoor temperature and heat amount, wherein the model parameters are adjusted regularly, in particular daily, preferably as close as possible to the end of each day under consideration, wherein the model parameters are stored regularly, in particular daily, and final values of the model parameters are obtained by averaging, in particular by median taking, of the stored model parameters, wherein the model parameters are only adjusted if the observation period fulfils at least one precondition, wherein the precondition for determining the thermal resistance comprises: a) a thermal resistance for heat transfer from inside the building to outside the building, b) a coefficient to describe a solar heat input, and c) a heat storage capacity of the building, wherein the method comprises a step of adjusting the model parameters of the thermal model such that the thermal model approximates the relationship between indoor temperature, outdoor temperature and heat amount, wherein the model parameters are adjusted regularly, in particular daily, preferably as close as possible to the end of each day under consideration, wherein the model parameters are stored regularly, in particular daily, and final values of the model parameters are obtained by averaging, in particular by median taking, of the stored model parameters, wherein the model parameters are only adjusted if the observation period fulfils at least one precondition, wherein the precondition for determining the thermal resistance comprises: - Measurement data is available in full for the observation period, - The differential temperature between indoor temperature and outdoor temperature is at least 10 K, and/or - The heat amount must have been supplied by heating. <EOS>