Quote Originally Posted by droog View Post
........................ You have 10v from the first cell, 20v from the first two in series and 30v from all three as all -ve of the cells are electrically connected to your point marked 0v.
I believe that replacing the diodes with poles on the switch is necessary to overcome that issue.