-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com> Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com> Signed-off-by: belthlemar <martin.belthle@rte-france.com>
- Loading branch information
1 parent
1911639
commit 887a181
Showing
3 changed files
with
280 additions
and
4 deletions.
There are no files selected for viewing
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
141 changes: 141 additions & 0 deletions
141
tests/src/test/resources/files/cne/epic12/ExpectedCNE_12_15_6.xml
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,141 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<CriticalNetworkElement_MarketDocument xsi:schemaLocation="iec62325-451-n-cne_v2_3.xsd" xmlns="urn:iec62325.351:tc57wg16:451-n:cnedocument:2:3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<mRID>documentId</mRID> | ||
<revisionNumber>3</revisionNumber> | ||
<type>B06</type> | ||
<process.processType>A48</process.processType> | ||
<sender_MarketParticipant.mRID codingScheme="A01">senderId</sender_MarketParticipant.mRID> | ||
<sender_MarketParticipant.marketRole.type>A44</sender_MarketParticipant.marketRole.type> | ||
<receiver_MarketParticipant.mRID codingScheme="A01">receiverId</receiver_MarketParticipant.mRID> | ||
<receiver_MarketParticipant.marketRole.type>A36</receiver_MarketParticipant.marketRole.type> | ||
<createdDateTime>2023-01-30T15:58:09Z</createdDateTime> | ||
<time_Period.timeInterval> | ||
<start>2019-04-01T13:09Z</start> | ||
<end>2019-04-01T14:09Z</end> | ||
</time_Period.timeInterval> | ||
<TimeSeries> | ||
<mRID>CNE_RAO_CASTOR-TimeSeries-1</mRID> | ||
<businessType>B54</businessType> | ||
<curveType>A01</curveType> | ||
<Period> | ||
<timeInterval> | ||
<start>2021-04-02T03:00Z</start> | ||
<end>2021-04-02T04:00Z</end> | ||
</timeInterval> | ||
<resolution>PT60M</resolution> | ||
<Point> | ||
<position>1</position> | ||
<Constraint_Series> | ||
<mRID>1ddcfad-29bb-4ef1-828f-ed7065fd8928</mRID> | ||
<businessType>B56</businessType> | ||
</Constraint_Series> | ||
<Constraint_Series> | ||
<mRID>db4a7e0-dde6-4cc3-9ca5-4816d6f26491</mRID> | ||
<businessType>B56</businessType> | ||
<Contingency_Series> | ||
<mRID>CO_N1012_N1014</mRID> | ||
<name>CO_N1012_N1014</name> | ||
</Contingency_Series> | ||
</Constraint_Series> | ||
<Constraint_Series> | ||
<mRID>b893392-32ed-4569-8bcf-f022fb4c5933</mRID> | ||
<businessType>B56</businessType> | ||
<Contingency_Series> | ||
<mRID>CO_N1012_N4012</mRID> | ||
<name>CO_N1012_N4012</name> | ||
</Contingency_Series> | ||
</Constraint_Series> | ||
<Constraint_Series> | ||
<mRID>ab18126-3240-4a1d-808a-2884cd09875f</mRID> | ||
<businessType>B57</businessType> | ||
<Monitored_Series> | ||
<mRID>CNE_N1011_N1013</mRID> | ||
<name>CNE_N1011_N1013</name> | ||
<RegisteredResource> | ||
<mRID codingScheme="A02">N1011___-N1013___-1_AC</mRID> | ||
<name>N1011_N1013</name> | ||
<in_AggregateNode.mRID codingScheme="A02">N1011____VL</in_AggregateNode.mRID> | ||
<out_AggregateNode.mRID codingScheme="A02">N1013____VL</out_AggregateNode.mRID> | ||
<Measurements> | ||
<measurementType>A01</measurementType> | ||
<unitSymbol>AMP</unitSymbol> | ||
<positiveFlowIn>A02</positiveFlowIn> | ||
<analogValues.value>1076</analogValues.value> | ||
</Measurements> | ||
<Measurements> | ||
<measurementType>A02</measurementType> | ||
<unitSymbol>AMP</unitSymbol> | ||
<positiveFlowIn>A02</positiveFlowIn> | ||
<analogValues.value>1000</analogValues.value> | ||
</Measurements> | ||
</RegisteredResource> | ||
</Monitored_Series> | ||
</Constraint_Series> | ||
<Constraint_Series> | ||
<mRID>e1fc140-be92-4ed1-bf9a-befe09ab1553</mRID> | ||
<businessType>B57</businessType> | ||
<Contingency_Series> | ||
<mRID>CO_N1012_N1014</mRID> | ||
<name>CO_N1012_N1014</name> | ||
</Contingency_Series> | ||
<Monitored_Series> | ||
<mRID>CNE_N1013_N1014</mRID> | ||
<name>CNE_N1013_N1014</name> | ||
<RegisteredResource> | ||
<mRID codingScheme="A02">N1013___-N1014___-1_AC</mRID> | ||
<name>N1013_N1014</name> | ||
<in_AggregateNode.mRID codingScheme="A02">N1013____VL</in_AggregateNode.mRID> | ||
<out_AggregateNode.mRID codingScheme="A02">N1014____VL</out_AggregateNode.mRID> | ||
<Measurements> | ||
<measurementType>A01</measurementType> | ||
<unitSymbol>AMP</unitSymbol> | ||
<positiveFlowIn>A02</positiveFlowIn> | ||
<analogValues.value>700</analogValues.value> | ||
</Measurements> | ||
<Measurements> | ||
<measurementType>A13</measurementType> | ||
<unitSymbol>AMP</unitSymbol> | ||
<positiveFlowIn>A02</positiveFlowIn> | ||
<analogValues.value>500</analogValues.value> | ||
</Measurements> | ||
</RegisteredResource> | ||
</Monitored_Series> | ||
</Constraint_Series> | ||
<Constraint_Series> | ||
<mRID>5ac608b-32a2-46da-b497-5eb07774e9cd</mRID> | ||
<businessType>B57</businessType> | ||
<Contingency_Series> | ||
<mRID>CO_N1012_N4012</mRID> | ||
<name>CO_N1012_N4012</name> | ||
</Contingency_Series> | ||
<Monitored_Series> | ||
<mRID>CNE_N1013_N1014</mRID> | ||
<name>CNE_N1013_N1014</name> | ||
<RegisteredResource> | ||
<mRID codingScheme="A02">N1013___-N1014___-1_AC</mRID> | ||
<name>N1013_N1014</name> | ||
<in_AggregateNode.mRID codingScheme="A02">N1013____VL</in_AggregateNode.mRID> | ||
<out_AggregateNode.mRID codingScheme="A02">N1014____VL</out_AggregateNode.mRID> | ||
<Measurements> | ||
<measurementType>A01</measurementType> | ||
<unitSymbol>AMP</unitSymbol> | ||
<positiveFlowIn>A02</positiveFlowIn> | ||
<analogValues.value>1919</analogValues.value> | ||
</Measurements> | ||
<Measurements> | ||
<measurementType>A13</measurementType> | ||
<unitSymbol>AMP</unitSymbol> | ||
<positiveFlowIn>A02</positiveFlowIn> | ||
<analogValues.value>500</analogValues.value> | ||
</Measurements> | ||
</RegisteredResource> | ||
</Monitored_Series> | ||
</Constraint_Series> | ||
<Reason> | ||
<code>Z13</code> | ||
<text>Network is secure</text> | ||
</Reason> | ||
</Point> | ||
</Period> | ||
</TimeSeries> | ||
</CriticalNetworkElement_MarketDocument> |
135 changes: 135 additions & 0 deletions
135
tests/src/test/resources/files/raoresults/epic12/RaoResult_12_15_6.json
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,135 @@ | ||
{ | ||
"type" : "RAO_RESULT", | ||
"version" : "1.3", | ||
"info" : "Generated by FARAO http://farao-community.github.io", | ||
"computationStatus" : "default", | ||
"costResults" : { | ||
"initial" : { | ||
"functionalCost" : 1419.4 | ||
}, | ||
"afterPRA" : { | ||
"functionalCost" : 1419.4, | ||
"virtualCost" : { | ||
"sensitivity-fallback-cost" : 0.0, | ||
"sensitivity-failure-cost" : 0.0 | ||
} | ||
}, | ||
"afterARA" : { | ||
"functionalCost" : 1419.4, | ||
"virtualCost" : { | ||
"sensitivity-fallback-cost" : 0.0, | ||
"sensitivity-failure-cost" : 0.0 | ||
} | ||
}, | ||
"afterCRA" : { | ||
"functionalCost" : -1419.4, | ||
"virtualCost" : { | ||
"sensitivity-fallback-cost" : 0.0, | ||
"sensitivity-failure-cost" : 0.0 | ||
} | ||
} | ||
}, | ||
"computationStatusMap" : [ { | ||
"computationStatus" : "DEFAULT", | ||
"instant" : "preventive" | ||
}, { | ||
"computationStatus" : "DEFAULT", | ||
"instant" : "curative", | ||
"contingency" : "CO_N1012_N1014" | ||
}, { | ||
"computationStatus" : "DEFAULT", | ||
"instant" : "curative", | ||
"contingency" : "CO_N1012_N4012" | ||
} ], | ||
"flowCnecResults" : [ { | ||
"flowCnecId" : "N1011_N1013 - preventive", | ||
"initial" : { | ||
"ampere" : { | ||
"margin" : -75.64, | ||
"leftSide" : { | ||
"flow" : -1075.64 | ||
} | ||
} | ||
}, | ||
"afterPRA" : { | ||
"ampere" : { | ||
"margin" : -75.64, | ||
"leftSide" : { | ||
"flow" : -1075.64 | ||
} | ||
} | ||
} | ||
}, { | ||
"flowCnecId" : "N1013_N1014 - CO_N1012_N1014 - curative", | ||
"initial" : { | ||
"ampere" : { | ||
"margin" : -199.95, | ||
"leftSide" : { | ||
"flow" : -699.95 | ||
} | ||
} | ||
}, | ||
"afterPRA" : { | ||
"ampere" : { | ||
"margin" : -199.95, | ||
"leftSide" : { | ||
"flow" : -699.95 | ||
} | ||
} | ||
}, | ||
"afterARA" : { | ||
"ampere" : { | ||
"margin" : -199.95, | ||
"leftSide" : { | ||
"flow" : -699.95 | ||
} | ||
} | ||
}, | ||
"afterCRA" : { | ||
"ampere" : { | ||
"margin" : -199.95, | ||
"leftSide" : { | ||
"flow" : -699.95 | ||
} | ||
} | ||
} | ||
}, { | ||
"flowCnecId" : "N1013_N1014 - CO_N1012_N4012 - curative", | ||
"initial" : { | ||
"ampere" : { | ||
"margin" : -1419.4, | ||
"leftSide" : { | ||
"flow" : -1919.4 | ||
} | ||
} | ||
}, | ||
"afterPRA" : { | ||
"ampere" : { | ||
"margin" : -1419.4, | ||
"leftSide" : { | ||
"flow" : -1919.4 | ||
} | ||
} | ||
}, | ||
"afterARA" : { | ||
"ampere" : { | ||
"margin" : -1419.4, | ||
"leftSide" : { | ||
"flow" : -1919.4 | ||
} | ||
} | ||
}, | ||
"afterCRA" : { | ||
"ampere" : { | ||
"margin" : 1419.4, | ||
"leftSide" : { | ||
"flow" : -1919.4 | ||
} | ||
} | ||
} | ||
} ], | ||
"angleCnecResults" : [ ], | ||
"voltageCnecResults" : [ ], | ||
"networkActionResults" : [ ], | ||
"rangeActionResults" : [ ] | ||
} |