Could be wrong, but I don't think either of them gives PDHW. The Y-plan doesn't, and if you wanthere is the wiring diagram for a logic
View attachment 43843
PDHW you would go for W-plan with either/or diverter valve. Cheaper and simpler.
With S-plan as shown there, if CH and HW are called, both valves open.
Interesting that there's now talk about PDHW, as that was the system way back, as in my first house in 1973, but then Y-plan and S-plan came out, presumably thought to be an improvement as no need to wait for HW to be satisfied before CH available.