This paper gives a rigorous derivationof a functional proposed by Aftalion and Rivière [Phys. Rev. A64 (2001) 043611] to characterize the energy of vortex filamentsin a rotationally forced Bose-Einstein condensate. Thisfunctional is derived as a Γ-limitof scaled versions of the Gross-Pitaevsky functional for the wave function of such a condensate. In most situations, the vortex filament energy functional is either unbounded below or has only trivial minimizers, but we establish the existence of large numbers of nontrivial local minimizers and we prove that, given any suchlocal minimizer, the Gross-Pitaevsky functionalhas a local minimizer that is nearby (in a suitable sense) whenever a scalingparameter is sufficiently small.