Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
SensitivityLogger.h
1#ifndef ANTARESXPANSION_SENSITIVITYLOGGER_H
2#define ANTARESXPANSION_SENSITIVITYLOGGER_H
3
4#include <ostream>
5
6#include "antares-xpansion/sensitivity/SensitivityILogger.h"
7
8const std::string indent_1("\t");
9const std::string EUROS(" e");
10const std::string MILLON_EUROS(" Me");
11const std::string MW(" MW");
12
14 public:
15 explicit SensitivityLogger(std::ostream &stream);
16
17 void display_message(const std::string &msg) override;
18 void log_at_start(const SensitivityInputData &input_data) override;
19 void log_begin_pb_resolution(const SinglePbData &pb_data) override;
20 void log_pb_solution(const SinglePbData &pb_data) override;
21 void log_summary(const SensitivityInputData &input_data,
22 const std::vector<SinglePbData> &pbs_data) override;
23 void log_at_ending() override;
24
25 private:
26 std::ostream &_stream;
27
28 void log_benders_overall_cost(const double &best_ub);
29 void log_benders_capex(const double &best_capex);
30 void log_benders_solution(
31 const std::map<std::string, double> &benders_solution);
32 void log_epsilon(const double &epsilon);
33
34 void log_projection_summary(
35 const std::vector<SinglePbData> &projection_data,
36 const std::map<std::string, std::pair<double, double>>
37 &candidates_bounds);
38 void log_capex_summary(const std::vector<SinglePbData> &capex_data);
39};
40
41#endif // ANTARESXPANSION_SENSITIVITYLOGGER_H
Definition SensitivityILogger.h:9
Definition SensitivityLogger.h:13
Definition SensitivityInputReader.h:8
Definition SensitivityOutputData.h:27