what are the three conditions of an electrical circuit​