A method, system and computer program product for optimally placing photovoltaic arrays to maximize a value of energy production. Incident solar radiation for various placements of the photovoltaic arrays accommodating different azimuths and tilts is calculated. Alternating current solar photovoltaic electricity energy and power production is then estimated from the calculated solar radiation on a plane and weather data. Furthermore, a value of solar photovoltaic electricity energy and power produced by the photovoltaic arrays for the various placements is calculating using the estimated alternating current solar photovoltaic electricity production. A placement out of the various placements for the photovoltaic arrays is then selected corresponding to a highest value of the solar photovoltaic electricity produced by the photovoltaic arrays. In this manner, the appropriate placement for the photovoltaic arrays is determined that maximizes the value of energy production (where "value" may correspond to an economic value or a non-economic value).
 This invention was made with government support under Grant No. DE-OE0000219 awarded by United States Department of Energy. The U.S. government has certain rights in the invention.