Wanting to build a low-voltage simulator, and need a way I can simulate a piece of wire. For example if I draw a wire and I add +12 volts DC at the beginning of the wire, it would know that there is +12 volts at the other end. Also, if this end connects to a device, the device need to be able to detect the presence of the +12 Volts?
I can see this working in my mind, but I can't figure out how to do it in code.
What I have tried:
I thought of making the wire (Line) an object with properties like, Gauge, Length, Insertion Loss and Voltage. Then scan the area where the wire (line) starts for another object that the wire connects too. If that object is outputting a voltage, then add that voltage to this object...... and so on down to the device.