From 1d9db83185b265b1f8bca8c3bc2e756c1c328e24 Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Tue, 2 Jul 2024 13:54:32 +0200 Subject: [PATCH] Add withdrawal efficiency --- .../antares/study/parts/short-term-storage/properties.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/libs/antares/study/include/antares/study/parts/short-term-storage/properties.h b/src/libs/antares/study/include/antares/study/parts/short-term-storage/properties.h index 11b4808e0d..c146d2cbc6 100644 --- a/src/libs/antares/study/include/antares/study/parts/short-term-storage/properties.h +++ b/src/libs/antares/study/include/antares/study/parts/short-term-storage/properties.h @@ -41,12 +41,17 @@ class Properties std::optional withdrawalNominalCapacity; /// Not optional Reservoir capacity in MWh, >= 0 std::optional reservoirCapacity; + /// Initial level, <= 1 double initialLevel = initiallevelDefault; /// Bool to optimise or not initial level bool initialLevelOptim = false; - /// Efficiency factor between 0 and 1 + + /// Efficiency factor for injection between 0 and 1 double efficiencyFactor = 1; + /// Efficiency factor for withdrawal between 0 and 1 + double withdrawalEfficiency = 1; + // Used to sort outputs std::string groupName = "OTHER1"; /// cluster name