Skip to content

Commit

Permalink
CGMES import: adjust multiple unpaired dangling lines connected at sa…
Browse files Browse the repository at this point in the history
…me boundary node (#2737)

Signed-off-by: Luma <zamarrenolm@aia.es>
(cherry picked from commit 66f07f0)
  • Loading branch information
zamarrenolm authored and olperr1 committed Oct 5, 2023
1 parent f2fbad9 commit aad1460
Show file tree
Hide file tree
Showing 6 changed files with 2,382 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/**
* Copyright (c) 2023, 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.GridModelReference;
import com.powsybl.cgmes.model.GridModelReferenceResources;
import com.powsybl.commons.datasource.ResourceSet;

/**
* @author Luma Zamarreño <zamarrenolm at aia.es>
*/
public final class CgmesConformity3ModifiedCatalog {

private CgmesConformity3ModifiedCatalog() {
}

public static GridModelReference microGridBE3DanglingLinesSameBoundary1Disconnected() {
String base = ENTSOE_CONFORMITY_3_MODIFIED
+ "/MicroGrid/BE-3dls-same-boundary-node-1disconnected/";
return new GridModelReferenceResources(
"MicroGrid-BE-3dls-same-boundary-node-1disconnected",
null,
new ResourceSet(base,
"20210325T1530Z_1D_BE_EQ_001_3dls_1disconnected.xml",
"20210325T1530Z_1D_BE_SSH_001_3dls_1disconnected.xml"
),
CgmesConformity3Catalog.microGridBaseCaseBoundaries());
}

private static final String ENTSOE_CONFORMITY_3_MODIFIED = "/conformity-modified/cas-3-data-3.0.2";
}
Loading

0 comments on commit aad1460

Please sign in to comment.