An efficient numerical scheme for the thermo-hydraulic simulations of thermal grids. (November 2020)