-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
133 new CTC implementation #460
base: master
Are you sure you want to change the base?
Conversation
documentation/configuringDynawoAlgorithms/DynawoAlgorithmsInputFiles.tex
Outdated
Show resolved
Hide resolved
documentation/configuringDynawoAlgorithms/DynawoAlgorithmsInputFiles.tex
Outdated
Show resolved
Hide resolved
documentation/configuringDynawoAlgorithms/DynawoAlgorithmsInputFiles.tex
Outdated
Show resolved
Hide resolved
documentation/configuringDynawoAlgorithms/DynawoAlgorithmsInputFiles.tex
Outdated
Show resolved
Hide resolved
documentation/configuringDynawoAlgorithms/DynawoAlgorithmsInputFiles.tex
Outdated
Show resolved
Hide resolved
documentation/configuringDynawoAlgorithms/DynawoAlgorithmsInputFiles.tex
Show resolved
Hide resolved
documentation/configuringDynawoAlgorithms/DynawoAlgorithmsInputFiles.tex
Outdated
Show resolved
Hide resolved
Windows compilation will need to be fixed and sonar issues addressed as well at some point :) |
6208dce
to
401dfb8
Compare
documentation/configuringDynawoAlgorithms/DynawoAlgorithmsInputFiles.tex
Outdated
Show resolved
Hide resolved
documentation/configuringDynawoAlgorithms/DynawoAlgorithmsInputFiles.tex
Outdated
Show resolved
Hide resolved
* @brief return the critical time calculation read in xml file | ||
* @return critical time calculation object build thanks to infos read in xml file | ||
*/ | ||
boost::shared_ptr<DYNAlgorithms::CriticalTimeCalculation> get() const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
either returns a const ptr or remove the const modifier?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll remove the const. but on the same file (l.53, l.83, l.117 and l.157), there's the same type of rows (for Scenario, LoadIncrease, Scenarios, MarginCalculation)
CriticalTimeLauncher::launchScenario(const boost::shared_ptr<Scenario>& scenario, boost::shared_ptr<CriticalTimeCalculation> criticalTimeCalculation) { | ||
if (multiprocessing::context().nbProcs() == 1) | ||
std::cout << " Launch scenario: " << scenario->getId() << " - dydFile: " << scenario->getDydFile() << std::endl; | ||
TraceInfo(logTag_) << DYNAlgorithmsLog(ScenarioLaunch, scenario->getId()) << DYN::Trace::endline; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issue when multiple process logs at the same time?
|
||
file << "criticalTime:" << result.getCriticicalTime() << std::endl; | ||
file << "calculationStatus:" << static_cast<unsigned int>(result.getStatus()) << std::endl; | ||
file << "lastMessageError:" << result.getResult().getSimulationMessageError() << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was it tested?
/** | ||
* @brief Critical Time Scenarios launcher class | ||
* | ||
* Class for critical time Scenarios launched by cvg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does cvg mean here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cvg is used in the description of MarginCalculationLauncher, SystematicAnalysisLauncher, RobustnessAnalysisLauncher. it's just a copy/paste but I'm not sure what it means either.
I think it's either Convergence or the *.cvg.sh file that can be found in other dynawo projects.
But in either case, I'm not sure it makes sense. So I'm going to delete it fotr CTC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, probably a remainder of when those algorithms were private. Let's remove it
Commit Squash CriticalTime Calculation implementation done. Tests added in API, Common and Launcher Minor problems fixed (doxygen, methods's names, references and const...) + optimize the critical time algorithm following advices from Florentine Fix with rebase. Fix unittests. Fix unittests 2. Signed-off-by: Erwann GOASGUEN <erwann.goasguen_externe@rte-france.com>
Signed-off-by: goasgenerw <erwann.goasguen_externe@rte-france.com>
Signed-off-by: goasgenerw <erwann.goasguen_externe@rte-france.com>
Signed-off-by: Erwann GOASGUEN <erwann.goasguen_externe@rte-france.com>
Signed-off-by: Erwann GOASGUEN <erwann.goasguen_externe@rte-france.com>
401dfb8
to
928dff8
Compare
Checklist before requesting a review
use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes