Power calculation of VVER-1000 reactor using a thermal method, applied to primary–secondary circuits