Find the market clearing price and market clearing quantity graphically using python.
Clone the repository using
git clone https://github.com/ksaswin/Electricity-Market-Clearing.git
Move into the cloned directory and install the packages required for the project
cd Electricity-Market-Clearing
pip install -r requirements.txt
Also, make sure you have a GUI backend for matplotlib.
Try GUI backends in this order:
- TkAgg
- wxAgg
- Qt5Agg
- Qt4Agg
I used tkinter.
Installation on Debian distributions
sudo apt-get install python3-tk
Installation on Arch
sudo pacman -S tk
See the backend FAQ in matlpotlib website for more info.