Class CgmesExportContext
java.lang.Object
com.powsybl.cgmes.conversion.export.CgmesExportContext
- Author:
- Miora Ralambotiana <miora.ralambotiana at rte-france.com>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCgmesExportContext
(Network network) CgmesExportContext
(Network network, ReferenceDataProvider referenceDataProvider) CgmesExportContext
(Network network, ReferenceDataProvider referenceDataProvider, NamingStrategy namingStrategy) CgmesExportContext
(Network network, ReferenceDataProvider referenceDataProvider, UUID uuidNamespace) CgmesExportContext
(Network network, UUID uuidNamespace) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIidmMappings
(Network network) boolean
boolean
boolean
boolean
getBaseVoltageByNominalVoltage
(double nominalV) The business process related to the export, used to get a unique ID for EQ, TP, SSH and SV FullModel.getCim()
int
double
double
getRegionName
(String regionId) getSubRegionName
(String subRegionId) getTopologicalNodes
(Network network) boolean
boolean
boolean
boolean
void
putTopologicalNode
(String tn, Bus bus) setBoundaryEqId
(String boundaryEqId) setBoundaryTpId
(String boundaryTpId) setBusinessProcess
(String businessProcess) setCimVersion
(int cimVersion) setEncodeIds
(boolean encodeIds) setExportBoundaryPowerFlows
(boolean exportBoundaryPowerFlows) setExportEquipment
(boolean exportEquipment) setExportFlowsForSwitches
(boolean exportFlowsForSwitches) setExportLoadFlowStatus
(boolean exportLoadFlowStatus) setExportSvInjectionsForSlacks
(boolean exportSvInjectionsForSlacks) setExportTransformersWithHighestVoltageAtEnd1
(boolean exportTransformersWithHighestVoltageAtEnd1) void
setFictitiousContainerFor
(Identifiable<?> id, String containerId) setMaxPMismatchConverged
(double maxPMismatchConverged) setMaxQMismatchConverged
(double maxQMismatchConverged) setNamingStrategy
(NamingStrategy namingStrategy) setReportNode
(ReportNode reportNode) setScenarioTime
(ZonedDateTime scenarioTime) setTopologyKind
(CgmesTopologyKind topologyKind) void
Update dependencies in a way that: SV depends on TP and SSH TP depends on EQ SSH depends on EQ If the boundaries subset have been defined: EQ depends on EQ_BD SV depends on TP_BDboolean
-
Field Details
-
SUB_REGION_ID
- See Also:
-
EXPORT_BOUNDARY_POWER_FLOWS_DEFAULT_VALUE
public static final boolean EXPORT_BOUNDARY_POWER_FLOWS_DEFAULT_VALUE- See Also:
-
EXPORT_POWER_FLOWS_FOR_SWITCHES_DEFAULT_VALUE
public static final boolean EXPORT_POWER_FLOWS_FOR_SWITCHES_DEFAULT_VALUE- See Also:
-
EXPORT_TRANSFORMERS_WITH_HIGHEST_VOLTAGE_AT_END1_DEFAULT_VALUE
public static final boolean EXPORT_TRANSFORMERS_WITH_HIGHEST_VOLTAGE_AT_END1_DEFAULT_VALUE- See Also:
-
ENCODE_IDS_DEFAULT_VALUE
public static final boolean ENCODE_IDS_DEFAULT_VALUE- See Also:
-
EXPORT_LOAD_FLOW_STATUS_DEFAULT_VALUE
public static final boolean EXPORT_LOAD_FLOW_STATUS_DEFAULT_VALUE- See Also:
-
MAX_P_MISMATCH_CONVERGED_DEFAULT_VALUE
public static final double MAX_P_MISMATCH_CONVERGED_DEFAULT_VALUE- See Also:
-
MAX_Q_MISMATCH_CONVERGED_DEFAULT_VALUE
public static final double MAX_Q_MISMATCH_CONVERGED_DEFAULT_VALUE- See Also:
-
EXPORT_SV_INJECTIONS_FOR_SLACKS_DEFAULT_VALUE
public static final boolean EXPORT_SV_INJECTIONS_FOR_SLACKS_DEFAULT_VALUE- See Also:
-
DEFAULT_MODELING_AUTHORITY_SET_VALUE
- See Also:
-
DEFAULT_UUID_NAMESPACE
-
DEFAULT_BUSINESS_PROCESS
- See Also:
-
-
Constructor Details
-
CgmesExportContext
public CgmesExportContext() -
CgmesExportContext
-
CgmesExportContext
-
CgmesExportContext
-
CgmesExportContext
public CgmesExportContext(Network network, ReferenceDataProvider referenceDataProvider, UUID uuidNamespace) -
CgmesExportContext
public CgmesExportContext(Network network, ReferenceDataProvider referenceDataProvider, NamingStrategy namingStrategy)
-
-
Method Details
-
updateDependencies
public void updateDependencies()Update dependencies in a way that: SV depends on TP and SSH TP depends on EQ SSH depends on EQ If the boundaries subset have been defined: EQ depends on EQ_BD SV depends on TP_BD -
getFictitiousContainerFor
-
setFictitiousContainerFor
-
addIidmMappings
-
isExportEquipment
public boolean isExportEquipment() -
setExportEquipment
-
isExportedEquipment
-
setBoundaryEqId
-
setBoundaryTpId
-
getCimVersion
public int getCimVersion() -
setCimVersion
-
getTopologyKind
-
setTopologyKind
-
getScenarioTime
-
setScenarioTime
-
getExportedEQModel
-
getExportedTPModel
-
getExportedSVModel
-
getExportedSSHModel
-
exportBoundaryPowerFlows
public boolean exportBoundaryPowerFlows() -
setExportBoundaryPowerFlows
-
exportFlowsForSwitches
public boolean exportFlowsForSwitches() -
setExportFlowsForSwitches
-
exportTransformersWithHighestVoltageAtEnd1
public boolean exportTransformersWithHighestVoltageAtEnd1() -
setExportTransformersWithHighestVoltageAtEnd1
public CgmesExportContext setExportTransformersWithHighestVoltageAtEnd1(boolean exportTransformersWithHighestVoltageAtEnd1) -
isExportLoadFlowStatus
public boolean isExportLoadFlowStatus() -
setExportLoadFlowStatus
-
getMaxPMismatchConverged
public double getMaxPMismatchConverged() -
setMaxPMismatchConverged
-
getMaxQMismatchConverged
public double getMaxQMismatchConverged() -
setMaxQMismatchConverged
-
isExportSvInjectionsForSlacks
public boolean isExportSvInjectionsForSlacks() -
setExportSvInjectionsForSlacks
-
encode
-
setEncodeIds
-
getCim
-
getNamingStrategy
-
setNamingStrategy
-
getBaseVoltageByNominalVoltage
-
writeConnectivityNodes
public boolean writeConnectivityNodes() -
getRegionsIds
-
getRegionName
-
getSubRegionName
-
setReportNode
-
getReportNode
-
putTopologicalNode
-
containsTopologicalNode
-
getTopologicalNodes
-
getBusinessProcess
The business process related to the export, used to get a unique ID for EQ, TP, SSH and SV FullModel. -
setBusinessProcess
-