-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CGMES import: adjust multiple unpaired dangling lines connected at sa…
…me boundary node (#2737) Signed-off-by: Luma <zamarrenolm@aia.es> (cherry picked from commit 66f07f0)
- Loading branch information
1 parent
f2fbad9
commit aad1460
Showing
6 changed files
with
2,382 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
...onformity/src/main/java/com/powsybl/cgmes/conformity/CgmesConformity3ModifiedCatalog.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
} |
Oops, something went wrong.