Design of District-level Photovoltaic Installations for Optimal Power Production and Economic Benefit