Antares Simulator
Power System Simulator
OptimConfig.h
1
2
/*
3
* Copyright 2007-2025, RTE (https://www.rte-france.com)
4
* See AUTHORS.txt
5
* SPDX-License-Identifier: MPL-2.0
6
* This file is part of Antares-Simulator,
7
* Adequacy and Performance assessment for interconnected energy networks.
8
*
9
* Antares_Simulator is free software: you can redistribute it and/or modify
10
* it under the terms of the Mozilla Public Licence 2.0 as published by
11
* the Mozilla Foundation, either version 2 of the License, or
12
* (at your option) any later version.
13
*
14
* Antares_Simulator is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* Mozilla Public Licence 2.0 for more details.
18
*
19
* You should have received a copy of the Mozilla Public Licence 2.0
20
* along with Antares_Simulator. If not, see <https://opensource.org/license/mpl-2-0/>.
21
*/
22
23
#pragma once
24
25
#include <string>
26
#include <vector>
27
28
namespace
Antares::IO::Inputs::YmlOptimConfig
29
{
30
31
struct
Variable
32
{
33
std::string id;
34
std::string location;
35
};
36
37
struct
Constraint
38
{
39
std::string id;
40
std::string location;
41
};
42
43
struct
Objective
44
{
45
std::string id;
46
std::string location;
47
};
48
49
struct
Model
50
{
51
std::string id;
52
53
std::vector<Variable> variables;
54
std::vector<Constraint> constraints;
55
std::vector<Objective> objectives;
56
};
57
58
using
OptimConfig = std::vector<Model>;
59
60
}
// namespace Antares::IO::Inputs::YmlOptimConfig
Antares::IO::Inputs::YmlOptimConfig::Constraint
Definition:
OptimConfig.h:38
Antares::IO::Inputs::YmlOptimConfig::Model
Definition:
OptimConfig.h:50
Antares::IO::Inputs::YmlOptimConfig::Objective
Definition:
OptimConfig.h:44
Antares::IO::Inputs::YmlOptimConfig::Variable
Definition:
OptimConfig.h:32
src
io
inputs
yml-optim-config
include
antares
io
inputs
yml-optim-config
OptimConfig.h
Generated by
1.9.1