Optimal design, field performance and impact of energy legislation on the cost effectiveness of a domestic on-grid photovoltaic system in Morocco | IEEE Conference Publication | IEEE Xplore