Skip to content

Commit

Permalink
commit file
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Dec 13, 2024
1 parent 96caff5 commit d2123e6
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright 2007-2024, RTE (https://www.rte-france.com)
* See AUTHORS.txt
* SPDX-License-Identifier: MPL-2.0
* This file is part of Antares-Simulator,
* Adequacy and Performance assessment for interconnected energy networks.
*
* Antares_Simulator is free software: you can redistribute it and/or modify
* it under the terms of the Mozilla Public Licence 2.0 as published by
* the Mozilla Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* Antares_Simulator is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* Mozilla Public Licence 2.0 for more details.
*
* You should have received a copy of the Mozilla Public Licence 2.0
* along with Antares_Simulator. If not, see <https://opensource.org/license/mpl-2-0/>.
*/

#pragma once
#include <string>
#include <vector>

namespace Antares::Data::ShortTermStorage {
struct AdditionalConstraint {
std::string cluster_id;
std::string variable;
std::string operatorType;
std::vector<int> hours;
double rhs;

bool validate() const;
};
} // namespace Antares::Data::ShortTermStorage

0 comments on commit d2123e6

Please sign in to comment.