-
Notifications
You must be signed in to change notification settings - Fork 25
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
Remove hydro hotstart [ANT-1815] #2131
Conversation
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.
Shouldn't we update the changelog.txt ?
Maybe we could add a new v9.2 section (if not already there), and leave a comment inside about hydro start removal
@@ -167,10 +167,9 @@ class PartHydro | |||
// As this function can be called a lot of times, we pass working variables and returned variables | |||
// as arguments, so that we don't have to create them locally (as in a classical function) each | |||
// time. | |||
void getWaterValue(const double& level, | |||
double getWaterValue(const double& level, |
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.
Took advantage of the hydro hot start removal to make some quick and small cleanings.
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.
As you can see, we have failures on CI.
We should solve this problem of failures.
@@ -587,20 +587,6 @@ _**This section is under construction**_ | |||
## Other parameters | |||
These parameters are listed under the `[other preferences]` section in the `.ini` file. | |||
|
|||
--- |
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 think we have to write somewhere that this option is deprecated
@@ -156,14 +156,12 @@ AdvancedParameters::AdvancedParameters(wxWindow* parent) : | |||
// Initial reservoir levels | |||
{ | |||
label = Component::CreateLabel(this, wxT("Initial reservoir levels")); | |||
button = new Component::Button(this, wxT("cold start"), "images/16x16/tag.png"); | |||
button = new Component::Button(this, wxT(""), "images/16x16/tag.png"); |
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.
why not delete the button?
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.
Because we should leave a trace that this functionality (hydro hot start) used to exist but no longer does (deprecation).
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.
Almost good, minor remarks
src/solver/simulation/include/antares/solver/simulation/solver.hxx
Outdated
Show resolved
Hide resolved
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
AntaresSimulatorTeam/Antares_Simulator_Tests_NR#24
Previously, the default value for property
initial-reservoir-levels
wascold start
.