Use the python version of Matpower to extract Admittance matrix for further processing
- Update Conda
conda update -n base conda
- if you don't have the package manager conda, you can install it from anaconda (website)
- Create a new virtual environment with the conda package manager
conda create -n <env_name> -c pypoweror using the pip package managerpip install pypower - Activate the environment
source activate <env_name> - Test within the Jupyter Notebook if you may using the getAdmittanceMatrix notebook
If you cannot load the virtual environment in your jupyter notebook, try the following,
Install the ipython kernel module into your virtualenv
pip install ipykernel
Now run the kernel self-install script:
python -m ipykernel install --user --name=my-virtualenv-name