Integration of solar thermal energy into processes with heat demand