All Projects → powsybl → powsybl-single-line-diagram

powsybl / powsybl-single-line-diagram

Licence: MPL-2.0 license
Single line diagram generation

Programming Languages

java
68154 projects - #9 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to powsybl-single-line-diagram

powsybl-core
A framework to build power system oriented software
Stars: ✭ 87 (+222.22%)
Mutual labels:  energy-system, power-systems, power-system-simulation, powsybl
dynawo
This repository contains Dynaωo's simulation tool code.
Stars: ✭ 34 (+25.93%)
Mutual labels:  energy-system, power-systems, power-system-simulation
TDNetGen
A MATLAB toolbox to generate large-scale combined Transmission and Distribution networks
Stars: ✭ 30 (+11.11%)
Mutual labels:  power-systems
scdDiagram
smart substation connection and configuration software based on IEC 61850 protocal and SCD file. Email: [email protected]
Stars: ✭ 17 (-37.04%)
Mutual labels:  power-systems
tsam
A python-based time series aggregation module (tsam) which can be used to reduce the number of time steps using typical periods or by decreasing the temporal resolution
Stars: ✭ 112 (+314.81%)
Mutual labels:  energy-system
COVID-EMDA
A Cross-Domain Data Hub with Electricity Market, Coronavirus Case, Mobility and Satellite Data in U.S.
Stars: ✭ 53 (+96.3%)
Mutual labels:  power-systems
PSP
PSP-UFU (Power Systems Platform of Federal University of Uberlândia) is a cross-platform, multilingual, Free and Open-Source Software with advanced GUI features and CAD tools for electrical power system studies.
Stars: ✭ 30 (+11.11%)
Mutual labels:  power-system-simulation
ixmp
The ix modeling platform for integrated and cross-cutting scenario analysis
Stars: ✭ 29 (+7.41%)
Mutual labels:  energy-system
pypmu
pyPMU - Python implementation of the IEEE C37.118 synchrophasor standard
Stars: ✭ 49 (+81.48%)
Mutual labels:  power-systems

PowSyBl Single Line Diagram

Actions Status Coverage Status Quality Gate MPL-2.0 License Slack

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.

PowSyBl Logo

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 [email protected].

PowSyBl vs PowSyBl Single Line Diagram

PowSyBl Single Line Diagram is a component build on top of the Network model available in the PowSyBl Core repository responsible for generating a single line diagram.

The main features are:

  • Node/Breaker and bus/breaker topology.
  • SVG diagram to be used in various front-end technologies.
  • Voltage level, substation and zone diagrams.
  • Highly customizable rendering using equipment component libraries, CSS and configurable labels (position and content).
  • Multiple layout modes: fully automatic, semi-automatic (using relative positions for busbar sections and feeders), CGMES DL.

Diagram demo The example above corresponds to a CGMES file from the ENTSO-E sample files. A guide to generate this diagram is available here.

Getting started

To generate a SVG single line diagram from a voltage level, we first need to add a Maven dependency for the Network model and additionally for this example three other ones: two for the Network test case, one for simple logging capabilities:

<dependency>
    <groupId>com.powsybl</groupId>
    <artifactId>powsybl-iidm-impl</artifactId>
    <version>4.8.0</version>
</dependency>
<dependency>
    <groupId>com.powsybl</groupId>
    <artifactId>powsybl-iidm-test</artifactId>
    <version>4.8.0</version>
</dependency>
<dependency>
    <groupId>com.powsybl</groupId>
    <artifactId>powsybl-config-test</artifactId>
    <version>4.8.0</version>
</dependency>
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-simple</artifactId>
    <version>1.7.22</version>
</dependency>

We can now load a node/breaker test Network:

Network network = FictitiousSwitchFactory.create();

After adding the single line diagram core module dependency:

<dependency>
    <groupId>com.powsybl</groupId>
    <artifactId>powsybl-single-line-diagram-core</artifactId>
    <version>2.10.0</version>
</dependency>

We can now generate a SVG for the voltage level N with the following simple unique code line:

SingleLineDiagram.draw(network, "N", "/tmp/n.svg");

We obtain the SVG below.

Diagram demo

Note that a JSON file named n_metadata.json is also generated in the same folder, containing all the metadata needed to interact with the diagram.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].