An open-source optimization tool for solar home systems: A case study in Namibia

Pietro Elia Campana, Aksel Holmberg, Oscar Pettersson, Patrik Klintenberg, Abraham Hangula, Fabian Andres Benavente, Yang Zhang, Bengt Stridh, Jinyue YanEnergy 2016 · DOI

TL;DR

This paper introduces an open-source, Excel-VBA based tool designed to help service providers optimally design Solar Home Systems (SHSs) in rural areas. By considering both system reliability and minimizing life cycle costs, the tool aims to reduce undersized or oversized installations, leading to increased user satisfaction and more efficient energy access in regions like Namibia.

What Problem Does This Paper Address?

Providing electricity to off-grid rural communities is a critical challenge, especially in developing countries. Solar Home Systems (SHSs) offer a viable solution, but their effectiveness is often hampered by service providers lacking the technical know-how to properly size components. This leads to systems that are either too small (causing power shortages and user dissatisfaction) or too large (resulting in unnecessary expenses for already low-income households). The paper addresses this by developing an accessible, open-source optimization tool to guide service providers in designing SHSs that are both reliable and cost-effective for end-users.

Methods

The core of this work is an MS Excel-VBA program that implements an optimization model. This model is based on the OptiCE (Optimization of Clean Energy) framework, which utilizes a genetic algorithm (GA) to find optimal system configurations. The tool operates on an hourly time step to accurately model solar power generation and load demands, considering various technical parameters like PV array size, battery capacity, tilt and azimuth angles, and cable sizes. It aims to simultaneously maximize system reliability and minimize the life cycle cost (LCC) of the SHS. The methodology includes a pre-sizing step to estimate initial component sizes, followed by iterative optimization to refine the design based on user-defined reliability targets and cost considerations.

Datasets

The study utilizes climatic data from the global Meteonorm database for Namibia. Additionally, it incorporates load profile data gathered from quotations provided by service providers to their clients, and a standard hourly load profile from a previous study conducted in Algeria. For validation, the tool's results are compared against data from three previously installed SHSs in Namibia and simulations from commercial software (PVsyst®) and another open-source code (OptiCE).

Key Insights and Ideas

  • Accessibility is Key: Developing an open-source tool within a familiar platform like MS Excel significantly lowers the barrier to entry for service providers who may not have access to expensive commercial software.
  • Balancing Act: The true challenge in SHS design lies in balancing system reliability with economic feasibility. The tool's dual objective function (maximizing reliability, minimizing LCC) directly addresses this trade-off.
  • Beyond Component Sizing: The optimization goes beyond just PV and battery sizing, incorporating crucial elements like cable dimensions and tilt angles, which can significantly impact system performance and longevity.
  • Economic Drivers of Poor Design: The study highlights that incorrect sizing isn't solely due to technical limitations but also economic pressures, such as loan limits that force providers to offer systems that don't match actual needs.
  • Reliability vs. Cost: There's a point where striving for 100% reliability becomes economically inefficient, suggesting that a pragmatic approach involving backup sources might be more cost-effective for certain applications.

Key Results

The developed MS Excel-VBA tool was validated against commercial software (PVsyst®) and an open-source model (OptiCE), showing minor deviations (below 4%) in key parameters like average battery state of charge and annual power generation. For a case study of a bar in Namibia, the optimized SHS configuration resulted in a payback period of approximately 9.3 years when compared to the cost of illegally purchased electricity. The tool also identified instances of undersized or oversized components in previously installed SHSs, demonstrating its utility in highlighting design deficiencies. For instance, one household's PV system was found to be undersized, while another had an oversized inverter.

Limitations and Future Work

The paper acknowledges that the current version of the MS Excel-VBA tool does not account for all potential losses, such as soiling or mismatching, which are considered by PVsyst®. The use of different models for PV arrays, charge controllers, and batteries between the tools also contributes to minor discrepancies. Future work could involve incorporating these additional loss factors and refining the models for greater accuracy. The authors also suggest that further research could explore the integration of advanced features or more sophisticated optimization algorithms within the tool.

Summary updated

BibTeX
@inproceedings{campana2016open,
  author = {Pietro Elia Campana and Aksel Holmberg and Oscar Pettersson and Patrik Klintenberg and Abraham Hangula and Fabian Andres Benavente and Yang Zhang and Bengt Stridh and Jinyue Yan},
  title = {{An open-source optimization tool for solar home systems: A case study in Namibia}},
  booktitle = {Energy},
  year = {2016},
  doi = {10.1016/j.enconman.2016.10.003},
}
Figure