Power Contracts For Solar Microgrids