This page was generated from docs/examples/complete_capacity_test.ipynb. Interactive online version: Binder badge

Example Capacity Test using pvcaptest

The captest module of the Captest package contains the CapData class and a few top level functions. CapData objects hold simulated data from PVsyst (or other simulation) or measured data from a DAS or SCADA system and provide methods for loading, filtering, visualizing and regressing.

This example goes through typical steps of performing a capacity test following the ASTM E2848 standard using the Captest package.

Imports

[1]:
%matplotlib inline

import pandas as pd

# import captest as pvc
from captest import capdata as pvc
from bokeh.io import output_notebook, show

# uncomment below two lines to use cptest.scatter_hv in notebook
import holoviews as hv
hv.extension('bokeh')

#if working offline with the CapData.plot() method may fail
#run 'export BOKEH_RESOURCES=inline' at the command line before
#running the jupyter notebook

output_notebook()