Class LayoutToCgmesExtensionsConverter


  • public class LayoutToCgmesExtensionsConverter
    extends Object
    Author:
    Christian Biasuzzi , Franck Lecuyer
    • 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, if null 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 -