Numerical transient simulations of heating plants for buildings