Package com.powsybl.iidm.xml
Class ConnectableXmlUtil
java.lang.Object
com.powsybl.iidm.xml.ConnectableXmlUtil
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
hasValidOperationalLimits
(Branch<?> branch, NetworkXmlWriterContext context) static boolean
hasValidOperationalLimits
(FlowsLimitsHolder limitsHolder, NetworkXmlWriterContext context) static void
readActivePowerLimits
(Integer index, ActivePowerLimitsAdder activePowerLimitsAdder, XMLStreamReader reader) static void
readApparentPowerLimits
(Integer index, ApparentPowerLimitsAdder apparentPowerLimitsAdder, XMLStreamReader reader) static void
readCurrentLimits
(Integer index, CurrentLimitsAdder currentLimitsAdder, XMLStreamReader reader) static void
readNodeOrBus
(int index, ThreeWindingsTransformerAdder.LegAdder adder, NetworkXmlReaderContext context) static void
readNodeOrBus
(BranchAdder<?, ?> adder, NetworkXmlReaderContext context) static void
readNodeOrBus
(InjectionAdder<?, ?> adder, NetworkXmlReaderContext context) static void
readNodeOrBus
(InjectionAdder<?, ?> adder, String suffix, NetworkXmlReaderContext context) static void
readPQ
(Integer index, Terminal t, XMLStreamReader reader) static void
writeCurrentLimits
(Integer index, CurrentLimits limits, XMLStreamWriter writer, IidmXmlVersion version) Deprecated.static void
writeCurrentLimits
(Integer index, CurrentLimits limits, XMLStreamWriter writer, IidmXmlVersion version, boolean valid, ExportOptions exportOptions) static void
writeCurrentLimits
(Integer index, CurrentLimits limits, XMLStreamWriter writer, IidmXmlVersion version, ExportOptions exportOptions) static void
writeCurrentLimits
(Integer index, CurrentLimits limits, XMLStreamWriter writer, String nsUri, IidmXmlVersion version) Deprecated.static void
writeCurrentLimits
(Integer index, CurrentLimits limits, XMLStreamWriter writer, String nsUri, IidmXmlVersion version, boolean valid, ExportOptions exportOptions) static void
writeCurrentLimits
(Integer index, CurrentLimits limits, XMLStreamWriter writer, String nsUri, IidmXmlVersion version, ExportOptions exportOptions) static void
writeNodeOrBus
(Integer index, Terminal t, NetworkXmlWriterContext context) static void
writePQ
(Integer index, Terminal t, XMLStreamWriter writer)
-
Method Details
-
hasValidOperationalLimits
-
hasValidOperationalLimits
public static boolean hasValidOperationalLimits(FlowsLimitsHolder limitsHolder, NetworkXmlWriterContext context) -
writeNodeOrBus
public static void writeNodeOrBus(Integer index, Terminal t, NetworkXmlWriterContext context) throws XMLStreamException - Throws:
XMLStreamException
-
readNodeOrBus
-
readNodeOrBus
public static void readNodeOrBus(InjectionAdder<?, ?> adder, String suffix, NetworkXmlReaderContext context) -
readNodeOrBus
-
readNodeOrBus
public static void readNodeOrBus(int index, ThreeWindingsTransformerAdder.LegAdder adder, NetworkXmlReaderContext context) -
writePQ
public static void writePQ(Integer index, Terminal t, XMLStreamWriter writer) throws XMLStreamException - Throws:
XMLStreamException
-
readPQ
-
readActivePowerLimits
public static void readActivePowerLimits(Integer index, ActivePowerLimitsAdder activePowerLimitsAdder, XMLStreamReader reader) throws XMLStreamException - Throws:
XMLStreamException
-
readApparentPowerLimits
public static void readApparentPowerLimits(Integer index, ApparentPowerLimitsAdder apparentPowerLimitsAdder, XMLStreamReader reader) throws XMLStreamException - Throws:
XMLStreamException
-
readCurrentLimits
public static void readCurrentLimits(Integer index, CurrentLimitsAdder currentLimitsAdder, XMLStreamReader reader) throws XMLStreamException - Throws:
XMLStreamException
-
writeCurrentLimits
@Deprecated(since="3.2.0") public static void writeCurrentLimits(Integer index, CurrentLimits limits, XMLStreamWriter writer, IidmXmlVersion version) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeCurrentLimits
public static void writeCurrentLimits(Integer index, CurrentLimits limits, XMLStreamWriter writer, IidmXmlVersion version, ExportOptions exportOptions) throws XMLStreamException - Throws:
XMLStreamException
-
writeCurrentLimits
public static void writeCurrentLimits(Integer index, CurrentLimits limits, XMLStreamWriter writer, IidmXmlVersion version, boolean valid, ExportOptions exportOptions) throws XMLStreamException - Throws:
XMLStreamException
-
writeCurrentLimits
@Deprecated(since="3.2.0") public static void writeCurrentLimits(Integer index, CurrentLimits limits, XMLStreamWriter writer, String nsUri, IidmXmlVersion version) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeCurrentLimits
public static void writeCurrentLimits(Integer index, CurrentLimits limits, XMLStreamWriter writer, String nsUri, IidmXmlVersion version, ExportOptions exportOptions) throws XMLStreamException - Throws:
XMLStreamException
-
writeCurrentLimits
public static void writeCurrentLimits(Integer index, CurrentLimits limits, XMLStreamWriter writer, String nsUri, IidmXmlVersion version, boolean valid, ExportOptions exportOptions) throws XMLStreamException - Throws:
XMLStreamException
-
writeCurrentLimits(Integer, CurrentLimits, XMLStreamWriter, IidmXmlVersion, ExportOptions)
instead.