Package com.powsybl.cgmes.conversion
Class CgmesExport
java.lang.Object
com.powsybl.cgmes.conversion.CgmesExport
- All Implemented Interfaces:
Exporter
- Author:
- Luma ZamarreƱo <zamarrenolm at aia.es>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
export
(Network network, Properties parameters, DataSource dataSource, ReportNode reportNode) Export the requested network to the CGMES format.Get some information about this exporter.Get a unique identifier of the format.Get a description of export parametersstatic CgmesMetadataModel
initializeModelForExport
(Network network, CgmesSubset subset, CgmesExportContext context, boolean mainNetwork, boolean modelUpdate) Initialize the model (= the metadata information) that is used by the export.
-
Field Details
-
BASE_NAME
- See Also:
-
BOUNDARY_EQ_ID
- See Also:
-
BOUNDARY_TP_ID
- See Also:
-
CIM_VERSION
- See Also:
-
EXPORT_BOUNDARY_POWER_FLOWS
- See Also:
-
EXPORT_POWER_FLOWS_FOR_SWITCHES
- See Also:
-
NAMING_STRATEGY
- See Also:
-
PROFILES
- See Also:
-
CGM_EXPORT
- See Also:
-
MODELING_AUTHORITY_SET
- See Also:
-
MODEL_DESCRIPTION
- See Also:
-
EXPORT_TRANSFORMERS_WITH_HIGHEST_VOLTAGE_AT_END1
- See Also:
-
EXPORT_LOAD_FLOW_STATUS
- See Also:
-
MAX_P_MISMATCH_CONVERGED
- See Also:
-
MAX_Q_MISMATCH_CONVERGED
- See Also:
-
EXPORT_SV_INJECTIONS_FOR_SLACKS
- See Also:
-
SOURCING_ACTOR
- See Also:
-
UUID_NAMESPACE
- See Also:
-
MODEL_VERSION
- See Also:
-
BUSINESS_PROCESS
- See Also:
-
UPDATE_DEPENDENCIES
- See Also:
-
-
Constructor Details
-
CgmesExport
-
CgmesExport
public CgmesExport()
-
-
Method Details
-
getParameters
Description copied from interface:Exporter
Get a description of export parameters- Specified by:
getParameters
in interfaceExporter
- Returns:
-
export
public void export(Network network, Properties parameters, DataSource dataSource, ReportNode reportNode) Export the requested network to the CGMES format. -
initializeModelForExport
public static CgmesMetadataModel initializeModelForExport(Network network, CgmesSubset subset, CgmesExportContext context, boolean mainNetwork, boolean modelUpdate) Initialize the model (= the metadata information) that is used by the export. If existing, the network model extension is used for the initialization. If existing, optional parameters are also used for the initialization. If both are present, the optional parameters prevail the values in the network extension.- Parameters:
network
- The network in which to look for an existing model extension as basis for initialization.subset
- The subset of the model to initialize.context
- The context used by the export.mainNetwork
- A boolean indicating whether the exported network is the main network (not a subnetwork).modelUpdate
- A boolean indicating whether the model version and ID should be updated.- Returns:
- A model with all necessary metadata information for the export.
-
getComment
Description copied from interface:Exporter
Get some information about this exporter.- Specified by:
getComment
in interfaceExporter
-
getFormat
Description copied from interface:Exporter
Get a unique identifier of the format.
-