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 82ca18c738..33d32a7368 100644 --- a/src/libs/antares/study/parts/short-term-storage/properties.cpp +++ b/src/libs/antares/study/parts/short-term-storage/properties.cpp @@ -64,6 +64,11 @@ bool Properties::loadKey(const IniFile::Property* p) return p->value.to(this->injectionEfficiency); } + if (p->key == "efficiencyWithdrawal") + { + return p->value.to(this->withdrawalEfficiency); + } + if (p->key == "name") { return p->value.to(this->name); @@ -106,6 +111,7 @@ void Properties::save(IniFile& ini) const s->add("withdrawalnominalcapacity", this->withdrawalNominalCapacity); s->add("efficiency", this->injectionEfficiency); + s->add("efficiencyWithdrawal", this->withdrawalEfficiency); s->add("initialleveloptim", this->initialLevelOptim); s->add("enabled", this->enabled); }