Skip to content

sogno-platform/pgm-service

pgm-service

Run with Docker Compose

Run inside the project root directory.

docker-compose up -d

Run the example loadflow case (requires requests package).

python -m test.powerflow

Install

Create and activate a Python 3.12z virtual environment. Go to the root folder of this repository. Run

python -m pip install build
python -m build --wheel --outdir dist
docker build --no-cache -t pgm-service .

Run

After you have created a docker image. You can run it.

docker run -p 80:80 pgm-service

About

REST API service based on power grid model

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published