Package com.powsybl.sld.cgmes.layout
Class LayoutToCgmesExtensionsConverter
- java.lang.Object
-
- com.powsybl.sld.cgmes.layout.LayoutToCgmesExtensionsConverter
-
public class LayoutToCgmesExtensionsConverter extends Object
- Author:
- Christian Biasuzzi
, Franck Lecuyer
-
-
Constructor Summary
Constructors Constructor Description LayoutToCgmesExtensionsConverter()
LayoutToCgmesExtensionsConverter(SubstationLayoutFactory sFactory, VoltageLevelLayoutFactory vFactory, LayoutParameters lparams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
convertLayout(com.powsybl.iidm.network.Network network)
Apply the layout to the network, creating one CGMES-DL diagrams per substation.void
convertLayout(com.powsybl.iidm.network.Network network, String diagramName)
Apply the layout to the network, creating one or more CGMES-DL diagrams.
-
-
-
Constructor Detail
-
LayoutToCgmesExtensionsConverter
public LayoutToCgmesExtensionsConverter(SubstationLayoutFactory sFactory, VoltageLevelLayoutFactory vFactory, LayoutParameters lparams)
-
LayoutToCgmesExtensionsConverter
public LayoutToCgmesExtensionsConverter()
-
-
Method Detail
-
convertLayout
public void convertLayout(com.powsybl.iidm.network.Network network, String diagramName)
Apply the layout to the network, creating one or more CGMES-DL diagrams. Note that a CGMES-DL diagram refers to a global coordinate system and can include all the network equipments, whereas layouts are currently created per-substation (or per-voltage), using a coordinate system that is local to the specific substation/voltage. This method creates either a single CGMES-DL diagram (where each substation is placed on a single row, one next to the other), or multiple CGMES_DL diagrams, one per substation.- Parameters:
network
-diagramName
- the diagram's name, ifnull
it creates one CGMES-DL diagram for each substation (where each diagram name is the substation's name). Otherwise it creates a single CGMES-DL diagram (named diagramName).
-
convertLayout
public void convertLayout(com.powsybl.iidm.network.Network network)
Apply the layout to the network, creating one CGMES-DL diagrams per substation.- Parameters:
network
-
-
-