Algorithm for state estimation in a distribution grid
sudo apt update
sudo apt install pipx
pipx ensurepath --force
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.12
sudo apt install python3.12-venv
Reference: Tutorial is the following link
pipx install poetry
python3.12 -m venv .venv
poetry env use .venv/bin/python3.12
poetry update
Important
If psycopg-c installation raise the error: psycopg-c (3.1.18) not supporting PEP 517 builds
sudo apt install libpq-dev gcc
docker compose up
which python3.12
/usr/bin/python3 --version
or
python3.12 --version
poetry3.12 env info
lsb_release -a
poetry init