optimPV logo

optimPV: Optimization & Modeling Tools for PV Research



Welcome to the optimPV documentation!

Authors

Institution

SDU logo

CAPE - Centre for Advanced Photovoltaics and Thin-film Energy Devices, University of Southern Denmark, Denmark

Description

This repository contains the code to run optimPV. optimPV combines several optimization procedures and modeling utilities used to:

  1. Optimize simulation parameters to fit experimental data.

  2. Optimize the processing conditions in a self-driving experimental set-up.

Installation

With pip:

  • Install from PyPI:

    pip install optimpv
    
  • Or install from GitHub:

    pip install git+https://github.com/openPV-lab/optimPV
    

With conda:

conda create -n optimpv
conda activate optimpv
pip install optimpv

To clone your base environment:

conda create -n optimpv --clone base

Additional Necessary Installs for the Agents

Drift-diffusion agent:

The drift-diffusion agent uses SIMsalabim to run simulations.

  • SIMsalabim is included as a submodule.

  • Install it following the instructions on the SIMsalabim GitHub repository.

  • Only works for parallel simulations on Linux (all other agents work on Windows).

Parallel simulations:

To run parallel simulations on Linux, install GNU Parallel:

sudo apt update
sudo apt install parallel

Disclaimer

This repository is still under development. If you find any bugs or have any questions, please contact us.

Notebook gallery: