menu

powsybl

Powsybl stands for Power System Blocks : let's play lego and make complex power tools !

Channels
Team
Posts
Members
Info

TopologyCalculation vs FictitiousNode

Hi @benoit-jeanson , We are using the TopologyCalculation Algorithm , and it works good for Graphs without FictitiousNodes , but with other ones , it also counts the fictitious nodes in the calculation of the topology, knowing that these fictitious nodes do not really reflect…

thumbsup
0
message-simple
0

RawGraphBuilder.VoltageLevelBuilder is not visible

Hi @geofjamg , We cannot use the VoltageLevelBuilder methods to create Graph elements since RawGraphBuilder.VoltageLevelBuilder is not visible from outside package. Thanks !

thumbsup
0
message-simple
0

Try to remove all uses of raw types ?

The biggest problem with raw types is that the generics are removed from all the method, not only the methods using the missing generic type For example: List<Injection> injections = area.getScalable().filterInjections(network); Injection i = injections.get(0); …

thumbsup
0
message-simple
0

GraphBuilderPostProcessor Replace a Graph Node

Hi, We're using the GraphBuilderPostProcessor to update a node (SwitchNode) with a custom componentType, so, while the Graph nodes are immutables (cannot call setComponentType ...), we tried to apply graph.removeNode(oldeNode) and graph.addNode(newSwitchNode) but this error…

thumbsup
1
message-simple
7

Node's componentType setter

Hi , In v1.3 single-line-diagram release , the Node.setComponentType method is removed, this setter was helpful to update componentType programmatically using a custom extension in the GraphBuildPostProcessor. Thanks.

thumbsup
0
message-simple
1

FeederNode Constructor

Hello, In the last powsybl-single-line-diagram release (v1.3), the scope of FeederNode Constructor was changed to protected. So we cannot recreate a FeederNode via params (id, name, equipmentId, componentType, fictitious, graph, feederType) from other Custom GraphBuilder. …

thumbsup
0
message-simple
2

What is my version of itools?

Hello, I'm using powsybl on multiple servers, with different versions (i.e. more or less recent). Sometimes I made the installation myself, and sometimes not. I usually script around itools, and may use personal extensions. Unless I missed something obvious, there is currently…

thumbsup
1
message-simple
8

Properties to a network

As the Network class is an Identifiable, it's possible to add properties. But these properties are not allowed in the XSD. During XML export, the properties of the network are skipped. Is this a bug or a feature?

thumbsup
0
message-simple
4

GroovyDslContingencyProvider

Since we refactor groovy DSL, there are two GroovyDslContingencyProvider classes. The first one is in the contingency-dsl module, the other one in action-dsl. With the first implementation you cannot use expressions (from powsybl-dsl) to create a contingency list whereas it’s…

thumbsup
0
message-simple
2

Sonar & duplicated code

In PR #840, Sonar detects duplicated code. Is it real code duplication or false positive? Any idea what is the best way to fix it?

thumbsup
0
message-simple
6