When do I know when to eliminate and DC voltage or current sources? when the switch is open or closed? and how about for inductors?