4C modeling of pulsed-load smoothing in the HELIOS facility using a controlled bypass valve