Cleanup Examples - #577
Cleanup Examples#577lukelowry wants to merge 14 commits into
Conversation
778e4ef to
b413c6c
Compare
|
Highest value |
|
@lukelowry Could you expand on the proposed changes in the PR summary? |
|
@nkoukpaizan should be good now! |
|
Why is New England contingency analysis case in |
pelesh
left a comment
There was a problem hiding this comment.
This is much needed and welcome work. There are a few remaining issues to take care of:
- I suggest to put all case files in directory
cases. This includes all 3- and 2-bus cases we created. - All 3- and 2-bus cases that have reference solution should be moved to
examples/PhasorDynamics/Validationdirectory and run as CMake tests. - There should be a README file(s) in
examples/PhasorDynamics/Validationdescribing validation pass/fail criteria. - Examples that do not use GridKit apps should be turned into integration tests. As far as I can see, these include the two
TenGencases. - New England contingency analysis test in
tests/IntegrationTests/PhasorDynamics/ContingencyAnalysisfits better inexamples/PhasorDynamics/Validationdirectory. - Examples in
examples/PhasorDynamics/Simulationare run as CMake tests but it is unclear what are the pass/fail criteria there. I would keep those examples but remove the CMake tests; running examples in validation subdirectory as CMake tests should be enough.
|
@pelesh I have applied your requested changes except for:
Its starting to look quite nice |
There should be a description what simulation outputs are checked, what the reference (ground thruth) values are, what the tolerance is (i.e. what constitutes a valid result), etc. The user should have sufficient information to understand what checks are done during "validation". |
My suggestion was more to move it from |
|
The two |
ca3f9df to
8065d17
Compare
8065d17 to
87b5578
Compare
nkoukpaizan
left a comment
There was a problem hiding this comment.
A couple of minor comments. Otherwise looks good!
|
@pelesh once the CI passes, all should be good. Addressed all reviewer suggestions |
Description
Remove duplicate case data and organize the PhasorDynamics examples by purpose. Simulation examples now live under
Simulation/, alongside the existingValidation/studies, with reusable system models incases/PhasorDynamics/.Proposed changes
Tiny/Small/Medium/Largelayout withSimulation/, following the conventions ofValidation/.Simulation/.Checklist
-Wall -Wpedantic -Wconversion -Wextra.Further comments
None