I'm not sure I get what all this is for... It seems to me that you're headed for a Rube Goldberg conversion system of some kind, just adding losses as you go.
If your input is electric, and your output will be electric, other than seeing some peculiar physics happen between the two, you're not accomplishing anything with all this but reducing efficiency. If that's your goal, then you're 100% on track. If not, you're equally far off target.
Converting electric to mechanical thru a solenoid and transmitting that thru a series of gears, bearings, weights, yada, to go back into a generator is much better accomplished by going through one of a handful of electronic solutions, as it would be much more efficient.
Or am I missing something...