These test notebooks run through typical simulations that can be performed to calculate space charge properties, using data generated from classical atomistic techniques. To verify the results from running the calculations, the outputs from running each notebook will be stored in a generated_outputs
directory and can be compared to the controlled outputs previously computed and stored in an expected_outputs
directory. The notebooks run the calculations using a variety of typical space charge model assumptions, including site explicit and continuum modelling, Mott-Schottky and Gouy-Chapman approximations and the inclusion of a site charge term.
Running these notebooks requires additional Python dependencies. These can be installed using
cd tests/test_notebooks
pip install -r requirements.txt
- Test 1 - Site explicit modelling under Mott-Schottky conditions. (nbviewer)
- Test 2 - Continuum modelling under Mott-Schottky conditions. (nbviewer)
- Test 3 - Site explicit modelling under Gouy-Chapman conditions. (nbviewer)
- Test 4 - Site explicit modelling under Mott-Schottky conditions including the additional site charge. (nbviewer)
Some of these notebooks contain relatively intensive calculations. If you rerun these from scratch, in some cases please be prepared to wait for the calculation to reach completion.
Typical running times for each notebook (4 GHz i7 iMac):
- Test 1: 2 minutes
- Test 2: 6.5 minutes
- Test 3: 27 minutes
- Test 4: 3 minutes