I'm working on building a GIS for Electric power distribution system. Can someone help me on representing an electric switch( With On/OFF state which will connect /disconnect downstream lines from the network) in QGIS. I want to detect the number of customers who will get affected due to turning off an upstream switch in a power line.