Series And Parallel Circuits As Constraints