Package com.powsybl.iidm.serde
Class AbstractTreeDataExporter
java.lang.Object
com.powsybl.iidm.serde.AbstractTreeDataExporter
- All Implemented Interfaces:
Exporter
- Direct Known Subclasses:
JsonExporter
,XMLExporter
Tree data export of an IIDM model.
property name | comment | possible values |
iidm.export.xml.indent | if true write indented xml (4 spaces) | true or false |
iidm.export.xml.with-branch-state-variables | if true export branches state (active and reactive flow) | true or false |
iidm.export.xml.only-main-cc | if true only export equipments of the main connected component | true or false |
iidm.export.xml.anonymised | if true then exported network is anonymous | true or false |
iidm.export.xml.iidm-version-incompatibility-behavior | behavior when there is an IIDM version incompatibility | THROW_EXCEPTION or LOG_ERROR |
iidm.export.xml.topology-level | the detail level used in the export of voltage levels | NODE_BREAKER, BUS_BREAKER, BUS_BRANCH |
iidm.export.xml.throw-exception-if-extension-not-found | if true throw exception when extension not found | true or false |
iidm.export.xml.extensions | list of exported extensions | comma-separated string |
iidm.export.xml.sorted | sort export output file | true or false |
iidm.export.xml.version | version in which files will be generated | 1.5 or 1.4 etc |
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
export
(Network network, Properties parameters, DataSource dataSource) Export a model.protected abstract String
Get a description of export parametersprotected abstract TreeDataFormat
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.iidm.network.Exporter
export, getComment, getFormat
-
Field Details
-
INDENT
- See Also:
-
WITH_BRANCH_STATE_VARIABLES
- See Also:
-
ONLY_MAIN_CC
- See Also:
-
ANONYMISED
- See Also:
-
IIDM_VERSION_INCOMPATIBILITY_BEHAVIOR
- See Also:
-
TOPOLOGY_LEVEL
- See Also:
-
THROW_EXCEPTION_IF_EXTENSION_NOT_FOUND
- See Also:
-
EXTENSIONS_LIST
- See Also:
-
SORTED
- See Also:
-
VERSION
- See Also:
-
-
Constructor Details
-
AbstractTreeDataExporter
-
-
Method Details
-
getTreeDataFormat
-
getExtension
-
export
Description copied from interface:Exporter
Export a model. -
getParameters
Description copied from interface:Exporter
Get a description of export parameters- Specified by:
getParameters
in interfaceExporter
- Returns:
-