Skip to content

Commit

Permalink
New antares emulator 8 (#302)
Browse files Browse the repository at this point in the history
* Revert "Add I/O & doc for CurtailmentSharing::recomputeDTGMRG [ANT-1809] (AntaresSimulatorTeam#2141)"

This reverts commit f758ed6.

* Rename .github/workflows/branchNameValidation.yml to New Antares Emulator-8

Signed-off-by: بلال مسلوب <[email protected]>

---------

Signed-off-by: بلال مسلوب <[email protected]>
  • Loading branch information
meslubi2021 authored Aug 8, 2024
1 parent c15dbd3 commit 3b5509b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
File renamed without changes.
1 change: 0 additions & 1 deletion docs/user-guide/04-migration-guides.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ In file **settings/generaldata.ini**, in section `adequacy patch`, add propertie
* `price-taking-order` [string] can take values `DENS` (default value) and `Load`.
* `include-hurdle-cost-csr` [bool]. Default value = `false`
* `check-csr-cost-function` [bool]. Default value = `false`
* `recompute-dtg-mrg` [bool]. Default value = `false`
* `threshold-initiate-curtailment-sharing-rule` [double]. Default value = `0.0`
* `threshold-display-local-matching-rule-violations` [double]. Default value = `0.0`
* `threshold-csr-variable-bounds-relaxation` [int]. Default value = `3`
Expand Down
7 changes: 0 additions & 7 deletions src/libs/antares/study/parameters/adq-patch-params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ void CurtailmentSharing::reset()
priceTakingOrder = AdqPatchPTO::isDens;
includeHurdleCost = false;
checkCsrCostFunction = false;
recomputeDTGMRG = false;
resetThresholds();
}

Expand Down Expand Up @@ -122,11 +121,6 @@ bool CurtailmentSharing::updateFromKeyValue(const Yuni::String& key, const Yuni:
{
return value.to<bool>(checkCsrCostFunction);
}
if (key == "recompute-dtg-mrg")
{
return value.to<bool>(recomputeDTGMRG);
}

// Thresholds
if (key == "threshold-initiate-curtailment-sharing-rule")
{
Expand Down Expand Up @@ -162,7 +156,6 @@ void CurtailmentSharing::addProperties(IniFile::Section* section) const
section->add("price-taking-order", PriceTakingOrderToString(priceTakingOrder));
section->add("include-hurdle-cost-csr", includeHurdleCost);
section->add("check-csr-cost-function", checkCsrCostFunction);
section->add("recompute-dtg-mrg", recomputeDTGMRG);

// Thresholds
section->add("threshold-initiate-curtailment-sharing-rule", thresholdRun);
Expand Down

0 comments on commit 3b5509b

Please sign in to comment.