A nonlinear RLC solar cycle model