com.powsybl.cgmes.conformity.Cgmes3ModifiedCatalog Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powsybl-cgmes-conformity Show documentation
Show all versions of powsybl-cgmes-conformity Show documentation
Test module using ENTSO-E CGMES conformity configurations
The newest version!
/**
* Copyright (c) 2021, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* SPDX-License-Identifier: MPL-2.0
*/
package com.powsybl.cgmes.conformity;
import com.powsybl.cgmes.model.GridModelReferenceResources;
import com.powsybl.commons.datasource.ResourceSet;
import static com.powsybl.cgmes.conformity.CgmesCatalogsConstants.*;
/**
* @author Luma Zamarreño {@literal }
* @author José Antonio Marqués {@literal }
*/
public final class Cgmes3ModifiedCatalog {
private Cgmes3ModifiedCatalog() {
}
public static GridModelReferenceResources smallGridBaseCaseTieFlowMappedToSwitch() {
String base = CGMES_3_MODIFIED_TEST_MODELS
+ "/SmallGrid/tieFlowMappedToSwitch/";
return new GridModelReferenceResources(
"SmallGrid-TieFlow-Mapped-To-Switch",
null,
new ResourceSet(base,
CGMES_3_SMALL_GRID_EQ),
new ResourceSet(CGMES_3_SMALL_GRID_BASE,
"20210112T1742Z_1D_GB_DL_001.xml",
"20210112T1742Z_1D_GB_SV_001.xml",
CGMES_3_SMALL_GRID_EQ,
"20210112T1742Z_1D_GB_GL_001.xml",
"20210112T1742Z_1D_GB_SSH_001.xml",
"20210112T1742Z_1D_GB_TP_001.xml"),
new ResourceSet(CGMES_3_SMALL_GRID_BASE, "SmallGridTestConfiguration_EQ_BD_v3.0.0.xml"));
}
public static GridModelReferenceResources smallGridBaseCaseTieFlowMappedToEquivalentInjection() {
String base = CGMES_3_MODIFIED_TEST_MODELS
+ "/SmallGrid/tieFlowMappedToEquivalentInjection/";
return new GridModelReferenceResources(
"SmallGrid-TieFlow-Mapped-To-EquivalentInjection",
null,
new ResourceSet(base,
CGMES_3_SMALL_GRID_EQ),
new ResourceSet(CGMES_3_SMALL_GRID_BASE,
"20210112T1742Z_1D_GB_DL_001.xml",
"20210112T1742Z_1D_GB_SV_001.xml",
CGMES_3_SMALL_GRID_EQ,
"20210112T1742Z_1D_GB_GL_001.xml",
"20210112T1742Z_1D_GB_SSH_001.xml",
"20210112T1742Z_1D_GB_TP_001.xml"),
new ResourceSet(CGMES_3_SMALL_GRID_BASE, "SmallGridTestConfiguration_EQ_BD_v3.0.0.xml"));
}
public static GridModelReferenceResources microGridBaseCaseRegulatingTerminalsDefinedOnSwitches() {
String base = CGMES_3_MODIFIED_TEST_MODELS
+ "/MicroGrid/regulatingTerminalsDefinedOnSwitches/";
return new GridModelReferenceResources(
"MicroGrid-regulating-terminals-defined-on-switches",
null,
new ResourceSet(base,
CGMES_3_MICRO_GRID_BE_EQ),
new ResourceSet(CGMES_3_MICRO_GRID_BASE,
CGMES_3_MICRO_GRID_ASSEMBLED_DL,
CGMES_3_MICRO_GRID_ASSEMBLED_SV,
CGMES_3_MICRO_GRID_BE_GL,
CGMES_3_MICRO_GRID_BE_SSH,
CGMES_3_MICRO_GRID_NL_EQ,
CGMES_3_MICRO_GRID_NL_GL,
CGMES_3_MICRO_GRID_NL_SSH,
CGMES_3_MICRO_GRID_ASSEMBLED_TP),
new ResourceSet(CGMES_3_MICRO_GRID_BASE, CGMES_3_MICRO_GRID_EQ_BD));
}
public static GridModelReferenceResources microGridBaseCaseBESingleFile() {
String base = CGMES_3_MODIFIED_TEST_MODELS
+ "/MicroGrid/singleFile/";
return new GridModelReferenceResources(
"MicroGrid-single-file",
null,
new ResourceSet(base, "20210209T1930Z_1D_BE_9.xml"));
}
public static GridModelReferenceResources microGridBaseCaseGeographicalRegionInBoundary() {
String base = CGMES_3_MODIFIED_TEST_MODELS
+ "/MicroGrid/geographicalRegionInBoundary/";
return new GridModelReferenceResources(
"MicroGrid-geographical-region-in-boundary",
null,
new ResourceSet(base, CGMES_3_MICRO_GRID_BE_EQ),
new ResourceSet(base, CGMES_3_MICRO_GRID_EQ_BD));
}
public static GridModelReferenceResources microGridBaseCasePhaseTapChangerXMin() {
String base = CGMES_3_MODIFIED_TEST_MODELS
+ "/MicroGrid/phaseTapChangerXMin/";
return new GridModelReferenceResources(
"MicroGrid-phaseTapChanger-xMin",
null,
new ResourceSet(base, CGMES_3_MICRO_GRID_BE_EQ),
new ResourceSet(CGMES_3_MICRO_GRID_BASE,
CGMES_3_MICRO_GRID_ASSEMBLED_DL,
CGMES_3_MICRO_GRID_ASSEMBLED_SV,
CGMES_3_MICRO_GRID_BE_GL,
CGMES_3_MICRO_GRID_BE_SSH,
CGMES_3_MICRO_GRID_NL_EQ,
CGMES_3_MICRO_GRID_NL_GL,
CGMES_3_MICRO_GRID_NL_SSH,
CGMES_3_MICRO_GRID_ASSEMBLED_TP),
new ResourceSet(CGMES_3_MICRO_GRID_BASE, CGMES_3_MICRO_GRID_EQ_BD));
}
public static GridModelReferenceResources microGridBaseCaseAllTypesOfLoads() {
String base = CGMES_3_MODIFIED_TEST_MODELS
+ "/MicroGrid/allTypesOfLoads/";
return new GridModelReferenceResources(
"MicroGrid-allTypesOfLoads",
null,
new ResourceSet(base, CGMES_3_MICRO_GRID_BE_EQ,
CGMES_3_MICRO_GRID_BE_SSH,
CGMES_3_MICRO_GRID_NL_EQ,
CGMES_3_MICRO_GRID_NL_SSH),
new ResourceSet(CGMES_3_MICRO_GRID_BASE,
CGMES_3_MICRO_GRID_ASSEMBLED_DL,
CGMES_3_MICRO_GRID_ASSEMBLED_SV,
CGMES_3_MICRO_GRID_BE_GL,
CGMES_3_MICRO_GRID_NL_GL,
CGMES_3_MICRO_GRID_ASSEMBLED_TP),
new ResourceSet(CGMES_3_MICRO_GRID_BASE, CGMES_3_MICRO_GRID_EQ_BD));
}
private static final String CGMES_3_MODIFIED_TEST_MODELS = "/cgmes3-test-models-modified";
}