Could be wrong, but I don't think either of them gives PDHW. The Y-plan doesn't, and if you want
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...