Class SwitchConversion
- java.lang.Object
-
- com.powsybl.cgmes.conversion.elements.AbstractObjectConversion
-
- com.powsybl.cgmes.conversion.elements.AbstractIdentifiedObjectConversion
-
- com.powsybl.cgmes.conversion.elements.AbstractConductingEquipmentConversion
-
- com.powsybl.cgmes.conversion.elements.SwitchConversion
-
- All Implemented Interfaces:
EquipmentAtBoundaryConversion
public class SwitchConversion extends AbstractConductingEquipmentConversion implements EquipmentAtBoundaryConversion
- Author:
- Luma ZamarreƱo
-
-
Field Summary
-
Fields inherited from class com.powsybl.cgmes.conversion.elements.AbstractIdentifiedObjectConversion
id, name
-
Fields inherited from class com.powsybl.cgmes.conversion.elements.AbstractObjectConversion
context, p, ps, type
-
-
Constructor Summary
Constructors Constructor Description SwitchConversion(PropertyBag sw, Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundaryLine
asBoundaryLine(String node)
void
convert()
void
convertAtBoundary()
boolean
valid()
-
Methods inherited from class com.powsybl.cgmes.conversion.elements.AbstractConductingEquipmentConversion
addAliasesAndProperties, boundaryNode, calculateVoltageAndAngleInBoundaryBus, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connectivityNodeId, convertedTerminals, convertInsideBoundary, convertToDanglingLine, convertToDanglingLine, createBoundaryLine, findUcteXnodeCode, findUcteXnodeCode, insideBoundary, isBoundary, nodeId, nodeId, nodeIdPropertyName, p0, q0, stateVariablesPowerFlow, substation, topologicalNodeId, voltageLevel
-
Methods inherited from class com.powsybl.cgmes.conversion.elements.AbstractIdentifiedObjectConversion
complete, id, identify, identify, identify, identify, iidmId, iidmName, name, what
-
-
-
-
Constructor Detail
-
SwitchConversion
public SwitchConversion(PropertyBag sw, Context context)
-
-
Method Detail
-
valid
public boolean valid()
- Overrides:
valid
in classAbstractConductingEquipmentConversion
-
convert
public void convert()
- Specified by:
convert
in classAbstractObjectConversion
-
convertAtBoundary
public void convertAtBoundary()
- Specified by:
convertAtBoundary
in interfaceEquipmentAtBoundaryConversion
-
asBoundaryLine
public BoundaryLine asBoundaryLine(String node)
- Specified by:
asBoundaryLine
in interfaceEquipmentAtBoundaryConversion
-
-