Software to simulate electrical system?

Any body know software that can simulate electrical system will working as expected or not? For example if I turn on a switch, a lamp will be on also (light on).

Or SW Electrical can do this?

SolidworksElectrical