Note that validation is described in the model "Weather" and the construction is invoked in the section "finally". In the X-definition there are declared global variables "sum" and "num" used for computing of average temperature. The section "finally" in the model "Weather" invokes construction of the model "html". The method "returnElement" sets the returned value.

X-definition
Input data
 You can edit both X-definition and/or Input data