How to write a photovoltaic solar energy contract