Reference direction of capacitors