Optibess Algorithm - optimizing PV system combined with storage

Optibess Algorithm is a python 3.10+ library for simulating and optimizing a photovoltaic system with power storage. It uses data from pvgis and algorithms from the pvlib and Nevergrad python libraries, and is the backend part of the Optibess site.

Quick start

Optibess Algorithm can be installed with:

pip install optibess_algorithm

You can run an optimization on an example system with:

import logging
import time
from optibess_algorithm.power_system_optimizer import NevergradOptimizer

# make info logging show
logging.getLogger().setLevel(logging.INFO)
# start optimization
start_time = time.time()
optimizer = NevergradOptimizer(budget=100)
opt_output, res = optimizer.run()
# print results
print(optimizer.get_candid(opt_output), res)
print(f"Optimization took {time.time() - start_time} seconds")

Indices and tables