Class CreateMissingContainersPreProcessor
- All Implemented Interfaces:
CgmesImportPreProcessor
A CGMES pre-processor that defines missing containers in input data.
The pre-processor will analyze the input data and check if there are missing container definitions. It will then create a CIM-XML file with all required objects (voltage levels, substations, regions, ...) that will be used during CGMES import to allow the conversion to PowSyBl Network.
It is assumed that all containers missing are voltage levels.
The user can specify the location folder of the output files using the parameter iidm.import.cgmes.fixes-for-missing-containers-folder
.
The CIM version of the output file will be the same detected for the input data.
Because no information about voltage level is available, a default arbitrary value for nominal voltage is used.
The user may edit the generated files and reuse them in successive imports.
- Author:
- Luma ZamarreƱo <zamarrenolm at aia.es>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get post processor name.void
process
(CgmesModel cgmes) Method called after initial CGMES model has been read and before starting the conversion.
-
Field Details
-
NAME
- See Also:
-
FIXES_FOLDER_NAME
- See Also:
-
DEFAULT_NOMINAL_VALUE_FOR_MISSING_VOLTAGE_LEVELS
public static final double DEFAULT_NOMINAL_VALUE_FOR_MISSING_VOLTAGE_LEVELS- See Also:
-
-
Constructor Details
-
CreateMissingContainersPreProcessor
-
CreateMissingContainersPreProcessor
public CreateMissingContainersPreProcessor()
-
-
Method Details
-
getName
Description copied from interface:CgmesImportPreProcessor
Get post processor name. It has to be unique among all CGMES post-processors.- Specified by:
getName
in interfaceCgmesImportPreProcessor
- Returns:
- post processor name
-
process
Description copied from interface:CgmesImportPreProcessor
Method called after initial CGMES model has been read and before starting the conversion. It is called one time per CGMES conversion. In this method we could fix a potentially incomplete CGMES model before the conversion starts.- Specified by:
process
in interfaceCgmesImportPreProcessor
- Parameters:
cgmes
- the CgmesModel to be processed
-