Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Data::ScenarioBuilder::hydroLevelsData Class Referencefinal

Rules for hydro levels, for all years and areas. More...

#include <hydroLevelsData.h>

Inheritance diagram for Antares::Data::ScenarioBuilder::hydroLevelsData:
Antares::Data::ScenarioBuilder::dataInterface

Public Types

using MatrixType = Matrix<double>
 Matrix.
 

Public Member Functions

 hydroLevelsData (const std::string &iniFilePrefix, std::function< void(Study &, MatrixType &)> applyToTarget)
 
- Public Member Functions inherited from Antares::Data::ScenarioBuilder::dataInterface

Data manupulation

bool reset (const Study &study) override
 Reset data from the study.
 
void saveToINIFile (const Study &study, Yuni::IO::File::Stream &file) const override
 Export the data into a mere INI file.
 
void setTSnumber (uint index, uint year, double value)
 Assign a single value.
 
uint width () const override
 
uint height () const override
 
double get_value (uint x, uint y) const
 
void set_value (uint x, uint y, double value)
 
bool apply (Study &study) override
 Apply the changes to the study corresponding data (time series, hydro levels, ...)
 

Detailed Description

Rules for hydro levels, for all years and areas.

Member Function Documentation

◆ apply()

bool Antares::Data::ScenarioBuilder::hydroLevelsData::apply ( Study & study)
overridevirtual

Apply the changes to the study corresponding data (time series, hydro levels, ...)

This method is only useful when launched from the solver.

Implements Antares::Data::ScenarioBuilder::dataInterface.

◆ height()

uint Antares::Data::ScenarioBuilder::hydroLevelsData::height ( ) const
inlineoverridevirtual

◆ reset()

bool Antares::Data::ScenarioBuilder::hydroLevelsData::reset ( const Study & study)
overridevirtual

Reset data from the study.

Implements Antares::Data::ScenarioBuilder::dataInterface.

◆ saveToINIFile()

void Antares::Data::ScenarioBuilder::hydroLevelsData::saveToINIFile ( const Study & study,
Yuni::IO::File::Stream & file ) const
overridevirtual

Export the data into a mere INI file.

Implements Antares::Data::ScenarioBuilder::dataInterface.

◆ setTSnumber()

void Antares::Data::ScenarioBuilder::hydroLevelsData::setTSnumber ( uint index,
uint year,
double value )
inline

Assign a single value.

Parameters
indexAn area index
yearA year
valueThe new hydro level

◆ width()

uint Antares::Data::ScenarioBuilder::hydroLevelsData::width ( ) const
inlineoverridevirtual

The documentation for this class was generated from the following files: