PowSyBl (Power System Blocks) is an open source framework written in Java, that makes it easy to write complex software for power systems’ simulations and analysis. Its modular approach allows developers to extend or customize its features.
PowSyBl is part of the LF Energy Foundation, a project of The Linux Foundation that supports open source innovation projects within the energy and electricity sectors.
Read more at https://www.powsybl.org !
This project and everyone participating in it is governed by the PowSyBl Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to powsybl-tsc@lists.lfenergy.org.
PowSyBl Network Store is an alternative implementation of PowSyBl Core Network API that persists in a PostgreSQL database.
cd powsybl-network-store-server
mvn clean install
Install postgresql with your system package manager or with a dedicated docker container (or any other method) and connect to the sql shell and create a database:
CREATE DATABASE iidm;
Copy paste src/main/resources/schema.sql in the sql shell to create the iidm tables.
In an other shell:
cd target/
java -jar powsybl-network-store-server-1.0.0-SNAPSHOT-exec.jar
Spring boot server should start and connect to the postgresql database (localhost hardcoded...)
You can run the integration tests:
$ mvn verify