Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
Analysis.h
1#ifndef __ANALYSIS_H__
2#define __ANALYSIS_H__
3#include "antares-xpansion/sensitivity/SensitivityILogger.h"
4#include "antares-xpansion/sensitivity/SensitivityInputReader.h"
5#include "antares-xpansion/sensitivity/SensitivityStudy.h"
6
7class Analysis {
8 public:
9 Analysis(SensitivityInputData input_data, std::string candidate_name,
10 std::shared_ptr<SensitivityILogger> logger, SensitivityPbType type);
11 std::pair<SinglePbData, SinglePbData> run();
12
13 protected:
14 SinglePbData run_optimization(SensitivityStudy::StudyType minimize);
15
16 private:
17 const SensitivityInputData input_data;
18 const std::string candidate_name;
19 const std::shared_ptr<SensitivityILogger> logger;
20 SensitivityPbType problem_type;
21 std::shared_ptr<SolverAbstract> sensitivity_pb_model;
22
23 void fill_single_pb_data(SinglePbData& pb_data,
24 const RawPbData& raw_output) const;
25 [[nodiscard]] double get_system_cost(const RawPbData& raw_output) const;
26 void get_sensitivity_problem();
27 RawPbData solve_sensitivity_pb() const;
28};
29
30#endif //__ANALYSIS_H__
Definition Analysis.h:7
Definition SensitivityOutputData.h:67
Definition SensitivityInputReader.h:8
Definition SensitivityOutputData.h:27