Solar PV system sizing for an off-grid installation is a balancing act: the design must meet power and energy requirements while controlling equipment and lifecycle costs. Simulation tools can compare configurations, but their results depend on the scenarios and options included in the analysis. Formal synthesis offers another approach, using mathematical verification to search for equipment combinations that satisfy specified constraints.
A 2019 study applied this approach to stand-alone photovoltaic systems, linking technical sizing requirements with cost analysis. Its method does not replace engineering judgment or site data. Instead, it provides a structured way to search among specified components and verify candidate configurations against defined requirements.
What a stand-alone PV design must account for
A typical stand-alone system combines a PV array, a charge controller and a battery bank. An inverter is also needed when the installation serves AC loads. The array generates DC electricity; batteries store energy for periods such as nighttime or rainy weather, while the controller manages charging. The inverter converts DC power to AC for compatible loads.
Sizing involves more than matching the array’s nominal output to daily consumption. The design must account for component efficiencies, site solar irradiance, operating voltages, peak demand, surge power and the desired battery autonomy. In the study’s model, the energy requirement is adjusted for battery, controller and inverter efficiencies. Panel output is estimated from irradiance, panel area and panel efficiency, and this supports an estimate of the minimum number of modules.
Electrical compatibility also matters. The number of panels in series must suit the charge controller’s operating-voltage range, while parallel strings affect the array current the controller must handle. Battery capacity is calculated from corrected energy demand, autonomy, system voltage and the assumed depth of discharge. The inverter must match the DC system voltage and AC load voltage, and be able to support both demand and surge power.
Solar PV system sizing with formal synthesis
The proposed method uses a variant of counterexample-guided inductive synthesis, or CEGIS, alongside symbolic model checking. In practical terms, synthesis proposes a configuration, while verification checks whether it meets the design specification. The specification can include load demand, energy use, battery autonomy and equipment data, including technical characteristics and prices.
From feasible configuration to lower cost
The process has two connected goals: first, find a technically feasible configuration; then, determine whether a lower-cost solution can satisfy the same requirements. The synthesizer selects candidate panels, controllers, batteries and inverters from the available equipment lists. It applies sizing calculations and constraints to check that the selected components work together.
Cost is assessed using life cycle cost (LCC), not simply the purchase price of the PV array. The study’s LCC model includes the costs of panels, batteries, controller, inverter, installation, battery replacement, and operation and maintenance. The verification loop uses a cost bound to guide the search. If a candidate does not satisfy the current bound, the search continues; when verification produces a counterexample, it can identify a configuration meeting the technical requirements at the relevant cost threshold.
This differs from a conventional simulation workflow. A simulation evaluates selected scenarios and configurations. Formal verification reasons over the model’s defined design space, which can help identify combinations that a limited set of simulation runs might not examine. That advantage applies to the model and inputs provided: the results remain dependent on the accuracy and completeness of equipment data, assumptions and constraints.
What the case studies showed
The researchers evaluated seven case studies based on estimated loads from houses in riverside communities in Brazil’s Amazonas region. The model used a critical-period solar energy sizing method and LCC analysis. Its assumptions included a 24 V DC system, a maximum battery depth of discharge of 25%, a 20-year LCC period, and cost inputs tailored to the region.
The formal synthesis approach found a solution for six of the seven cases within the study’s 240-minute limit. Run times for those cases ranged from about 135 to 236 minutes. The remaining case timed out under that limit, although the paper reports that it was solved in 44.97 hours when the limit was removed. This illustrates a practical trade-off: exhaustive, detailed search can require substantially more computation than simulation.
The comparison tool, HOMER Pro, evaluated six cases in less than 30 seconds, but it could not model one case’s battery-autonomy requirement. The approaches also differed in their modeled components and assumptions. In particular, the formal synthesis model treated the charge controller as an explicit piece of equipment, including its electrical characteristics and cost, while HOMER Pro did not report it in the same way. The tools also produced differences in array and battery-bank sizes, so their outputs were not directly interchangeable.
The study additionally compared results with four PV systems already deployed and monitored in the region. Their configurations were reported as closer to the formal synthesis results than to HOMER Pro’s results. This supports the authors’ assessment for those cases, but it does not establish that one model will be more accurate for every location or project.
Engineering considerations and limitations
The reliability analysis used a critical-period sizing method rather than time-series or probabilistic measures such as loss of load probability or loss of power supply probability. The authors note that incorporating changing weather and load data could provide a more detailed reliability analysis. They also identify the regional nature of their cost assumptions as a limitation; costs and replacement assumptions should be adapted before applying the method elsewhere.
For engineering teams considering formal synthesis, the central task is to define the model carefully. Useful inputs include:
- Load energy, peak demand and surge requirements.
- Site-specific solar irradiance and design assumptions.
- Equipment datasheets, prices and compatibility constraints.
- Battery autonomy, depth of discharge and replacement assumptions.
- The economic method and cost inputs used for comparison.
Results should be interpreted within those boundaries. A mathematically verified configuration is a solution to the modeled specification; it is not a substitute for validating assumptions, confirming equipment availability or assessing site conditions.
Conclusion
Formal synthesis provides a rigorous method for stand-alone solar PV system sizing by connecting equipment selection, electrical constraints and lifecycle cost in one automated search. The case studies demonstrate its potential to produce detailed, commercially grounded configurations, while also showing that computation time and input assumptions matter. For designers and integrators, the practical value lies in using verification to expand and structure the search for feasible, cost-conscious systems—and then validating the model against the project’s actual site, loads and equipment.