I don't understand everything perfectly myself, and was actually looking at information about generators when I stopped in here, but I'll do my best to help you out.
It seems from your post that you have things pretty much correct. Opposite charges attract each other and same charges repel...