There's a restriction on the size of the micro-generator in that you cannot produce more than what you will consume over a given period of time.
In Alberta, all generation has to go through the Alberta electric system operator. They're the ones they are basically selling that energy to, unless it's contracted separately to a specific firm. All agreements and all flow of electricity has to go through the electric system's operator, and it's dealt with from there.