Finite element modeling of an electrically variable inductor