Class CreateLineOnLine
java.lang.Object
com.powsybl.iidm.modification.AbstractNetworkModification
com.powsybl.iidm.modification.topology.CreateLineOnLine
- All Implemented Interfaces:
NetworkModification
Connect an existing voltage level (in practice a voltage level where we have some loads or generations) to an
existing line through a tee point.
This method cuts an existing line in two, creating a fictitious voltage level between them (the tee point). Then it links an existing voltage level to this fictitious voltage level in creating a new line from a given line adder.
This method cuts an existing line in two, creating a fictitious voltage level between them (the tee point). Then it links an existing voltage level to this fictitious voltage level in creating a new line from a given line adder.
- Author:
- Miora Vedelago <miora.ralambotiana at rte-france.com>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(Network network, NamingStrategy namingStrategy, boolean throwException, ComputationManager computationManager, ReportNode reportNode) Applies the modification to the given network.protected boolean
failChecks
(Network network, boolean throwException, ReportNode reportNode, org.slf4j.Logger logger) getLine()
double
boolean
setCreateFictSubstation
(boolean createFictSubstation) setFictitiousSubstationId
(String fictitiousSubstationId) setFictitiousSubstationName
(String fictitiousSubstationName) setFictitiousVlId
(String fictitiousVlId) setFictitiousVlName
(String fictitiousVlName) setLine1Id
(String line1Id) setLine1Name
(String line1Name) setLine2Id
(String line2Id) setLine2Name
(String line2Name) setPositionPercent
(double positionPercent)
-
Field Details
-
bbsOrBusId
-
line
-
line1Id
-
line1Name
-
line2Id
-
line2Name
-
positionPercent
protected double positionPercent -
voltageLevel
-
-
Method Details
-
setFictitiousVlId
-
setFictitiousVlName
-
setCreateFictSubstation
-
setFictitiousSubstationId
-
setFictitiousSubstationName
-
apply
public void apply(Network network, NamingStrategy namingStrategy, boolean throwException, ComputationManager computationManager, ReportNode reportNode) Description copied from interface:NetworkModification
Applies the modification to the given network. If throwException is set to true, then in case of error, an exception will be thrown. Otherwise, computation will continue but the injection will not be added to the network in case of error. -
getLineAdder
-
getFictitiousVlId
-
getFictitiousVlName
-
isCreateFictSubstation
public boolean isCreateFictSubstation() -
getFictitiousSubstationId
-
getFictitiousSubstationName
-
setLine1Id
-
setLine1Name
-
setLine2Id
-
setLine2Name
-
setPositionPercent
-
getPositionPercent
public double getPositionPercent() -
getBbsOrBusId
-
getLine
-
getLine1Id
-
getLine1Name
-
getLine2Id
-
getLine2Name
-
failChecks
protected boolean failChecks(Network network, boolean throwException, ReportNode reportNode, org.slf4j.Logger logger)
-