Project to automate a distillation apparatus
You need to draw out a diagram and write out a control narrative - what is connected to what, for what purpose/reason, so that an object like a window motor has some significance in your control strategy. Labeled blocks, lines and arrows work for a diagram, words work for a narrative.
Without either, there remain some very basic questions:
Is the distiller a commercial product? Or are you converting a coffee maker? Does it distill by electric heating/boiling water? How is the water cooled for condensing? by ambient air or by some form of refrigeration?
Is the heating element in the distiller controlled to/at a certain temperature (thermocouple)?
What does a window motor (whatever that is) do in a distillation apparatus?
What does the photo-electric laser do in your control scheme?
How does water get into the distiller? What prevents the water from overflowing? How does the water know when to stop flowing? What starts and stops the water flow?
What happens to the condensed water exiting the distiller? Can it overflow the water container?
What happens if the water in the distiller runs out/runs dry? Will the heater continue to run and burn your house down?
Could the boiled water ever be contained to the point that steam pressure could build and the device explode? For instance, if the power goes out, the water cools and any steam condenses. But then the power returns, the heated water boils, pressure builds up and the condenser explodes?
FYI.
In automation, ‘components’ are not sent anywhere. Sensor signals and control signals are communicated back and forth.
A power supply (what you call a converter) supplies DC power to specific elements/components. It does not control anything, it just supplies appropriate power to the components.
To size a power supply you need to know exactly how much power is consumed. How much current (amps) does the window motor draw?
To turn the AC on or off to the heating element, you need to know how much current the heater element draws.
Picking hardware is putting the horse before the cart. It isn’t clear what the control scheme is yet.
You don’t have an I/O count, nor a list of what the control signals need to be, not whether you need timing or counting operations, or more analog than a thermocouple for pressure control.
That said, “Programmed in an on-off way”; you might consider adding a 3rd choice to your control scheme - relay logic - in addition to the PLC or raspberry pi controller. Doing control with relays and timers can be an advantage because relays and timers (in many cases) are already capable of handing real-world ‘loads’, whereas micro-electronics are not so equipped.