From 7884a4c98722855245ff63ae6e6c096ea915f3a7 Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Tue, 25 Jun 2024 16:29:44 +0200 Subject: [PATCH] Remove storagecycle --- src/libs/antares/study/parts/short-term-storage/properties.cpp | 3 --- src/libs/antares/study/parts/short-term-storage/properties.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/libs/antares/study/parts/short-term-storage/properties.cpp b/src/libs/antares/study/parts/short-term-storage/properties.cpp index d09b99c65a..d9d9963674 100644 --- a/src/libs/antares/study/parts/short-term-storage/properties.cpp +++ b/src/libs/antares/study/parts/short-term-storage/properties.cpp @@ -98,9 +98,6 @@ bool Properties::loadKey(const IniFile::Property* p) if (p->key == "name") return p->value.to(this->name); - if (p->key == "storagecycle") - return p->value.to(this->cycleDuration); - if (p->key == "initiallevel") return valueForOptional(this->initialLevel); diff --git a/src/libs/antares/study/parts/short-term-storage/properties.h b/src/libs/antares/study/parts/short-term-storage/properties.h index 933904a4e7..4d566d0d53 100644 --- a/src/libs/antares/study/parts/short-term-storage/properties.h +++ b/src/libs/antares/study/parts/short-term-storage/properties.h @@ -68,8 +68,6 @@ class Properties bool initialLevelOptim = false; // Efficiency factor between 0 and 1 double efficiencyFactor = 1; - // Cycle duration, 1 <= cycleDuration <= 168 - unsigned int cycleDuration; // Used to sort outputs Group group = Group::Other1; // cluster name