Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

sogno-platform/pyvolt-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README

Installation

First, install dependencies

pip install -r requirements.txt

Then, install the state estimation algorithm package itself by moving to the submodule folder

cd state-estimation

and following the corresponding instructions

Docker

docker build --no-cache -t pyvolt-service -f docker/Dockerfile .
docker run --env-file docker/env-file.txt pyvolt-service

The file docker/env-file.txt can be used to pass environment variables into the container.

Kubernetes

Install local Docker regestry

docker run -d -p 5000:5000 --restart=always --name registry registry:2

Install pyvolt-service using helm and local docker regestry

docker build --no-cache -t pyvolt-service -f docker/Dockerfile .
docker tag pyvolt-service:latest localhost:5000/pyvolt-service:latest
docker push localhost:5000/pyvolt-service
helm install pyvolt-service helm -f mqtt-values.yaml 

The file mqtt-values.yaml contains an example values file for providing mqtt configuration to the SE container.

About

Service for state-estimation based on pyvolt

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published