Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
LinkCapacitiesCSVWriter.h
1
//
2
// Created by marechaljas on 16/06/22.
3
//
4
5
#pragma once
6
#include "antares-xpansion/study-updater/LinkParametersCSVOverwriter.h"
7
#include "antares-xpansion/lpnamer/problem_modifier/LinkdataRecord.h"
8
#include "antares-xpansion/study-updater/StudyUpdater.h"
9
10
class
LinkCapacitiesCSVWriter
{
11
public
:
12
LinkCapacitiesCSVWriter
(
const
ActiveLink
& link_p, std::filesystem::path
const
& linkPath);
13
14
void
WriteChronicleTimePoint(
double
direct_capacity,
double
indirect_capacity);
15
16
void
FinishTimePoint();
17
18
private
:
19
std::ofstream file_direct_;
20
std::ofstream file_indirect_;
21
bool
new_timepoint_ =
true
;
22
};
ActiveLink
Definition
ActiveLinks.h:15
LinkCapacitiesCSVWriter
Definition
LinkCapacitiesCSVWriter.h:10
src
cpp
study-updater
include
antares-xpansion
study-updater
LinkCapacitiesCSVWriter.h
Generated by
1.12.0