In this circuit there are many other topologies possible like V1 || V2, (V1+V2) ||V3, V1||V2||V3..should this switching configuration be solved for every topology? This will not give a general solution which may even be used if we add one or two more cells.
Thanks a lot for your reply. It was really helpful. Actually i have to deduce a forward equation in which i may insert any combination of switches to get the output voltage. How can this be extended through your equation?
I need to model circuit given at (https://drive.google.com/file/d/0B8MN0_dZJLHZRllhV2Y0M0FnaVU/view?usp=sharing) so that we may known output for any state of switches.
Given Information: Vector of State of Switches e.g. [s11 s12 s13 s21 s22 s23 s32]. I need to model a transformation matrix...