Solenoid valve on steam generator