Thermal-hydraulic performance of primary system of RBMK in case of accidents