Automatic feeding and discharging of high pressure steam generator