Fast Capacity Outage Probability Table (COPT) generator powered by NumPy
.
All notebooks are available in Colab.
-
Calculate Loss of Load Probability (COPT).
-
Calculate Expected Unserved Energy Cost (EUNC).
-
Calculate Capacity Credit (CC).
Program structure:
Forced Outage Data
└── Individual Generator Capacity Outage Probability Table
└── Combined Capacity Outage Probability Table
├── Loss of Load Probability
│ └── Loss Of Load Expectation
└────── Expected Energy Not Served
├── Expected Unserved Energy Cost
└── Capacity Credit
-
We use
nb-clean
to clean notebook metadata. It should not be added as a filter since Colab metadata will be added later.pip install nb-clean nb-clean clean notebooks/app_cc.ipynb -m tags cellView skip-ruff -M nb-clean clean notebooks/app_copt.ipynb -m tags cellView skip-ruff -M nb-clean clean notebooks/app_eunc.ipynb -m tags cellView skip-ruff -M
Warning
The
-M
arguments only available in this PR -
To better support Google Colab, add below cell metadata to hide the cell (only on the UI cell):
"metadata": { "cellView": "form", },
-
Autofix using pre-commit (optional):
To run on all files
pre-commit run --all-files
To run on
notebooks
:pre-commit run --files notebooks/app_cc.ipynb pre-commit run --files notebooks/app_copt.ipynb pre-commit run --files notebooks/app_eunc.ipynb
-
Download templates
-
Publish package