Class ConnectVoltageLevelOnLine

  • All Implemented Interfaces:
    NetworkModification

    public class ConnectVoltageLevelOnLine
    extends AbstractNetworkModification
    This method cuts an existing line in two lines that will be created and connected to an existing voltage level (also called switching voltage level). The voltage level should be added to the network just before calling this method, and should contains at least a configured bus in bus/breaker topology or a bus bar section in node/breaker topology.
    Author:
    Miora Vedelago
    • Constructor Detail

      • ConnectVoltageLevelOnLine

        public ConnectVoltageLevelOnLine​(double percent,
                                         String voltageLevelId,
                                         String bbsOrBusId,
                                         String line1Id,
                                         String line1Name,
                                         String line2Id,
                                         String line2Name,
                                         Line line)
        Constructor.
        Parameters:
        percent - When the existing line is cut, percent is equal to the ratio between the parameters of the first line and the parameters of the line that is cut multiplied by 100. 100 minus percent is equal to the ratio between the parameters of the second line and the parameters of the line that is cut multiplied by 100.
        voltageLevelId - ID of the existing voltage level to be attached on the existing line.
        bbsOrBusId - The ID of the configured bus or bus bar section to which the lines will be linked to at the attachment point.
        line1Id - The non-null ID of the line segment at side 1.
        line1Name - The name of the line segment at side 1.
        line2Id - The non-null ID of the line segment at side 2.
        line2Name - The name of the line segment at side 2.
        line - The line on which the voltage level is to be attached. NB: This constructor will eventually be package-private, please use CreateLineOnLineBuilder instead.