Thermal. More...
#include <prepro.h>
Public Types | |
enum | { foDuration = 0 , poDuration , foRate , poRate , npoMin , npoMax , preproAvailabilityMax } |
Constructor | |
Matrix | data |
All {FO,PO}{Duration,Rate} annual values. | |
YString | id |
unsigned int | unitCount |
PreproAvailability (const YString &id, unsigned int unitCount) | |
Default constructor. | |
bool | forceReload (bool reload) const |
void | markAsModified () const |
void | reset () |
Reset all values to their default ones. | |
void | copyFrom (const PreproAvailability &rhs) |
Copy data from another struct. | |
bool | loadFromFolder (Study &study, const std::filesystem::path &folder) |
Load settings for the thermal prepro from a folder. | |
bool | validate () const |
Validate most settings against min/max rules. | |
bool | saveToFolder (const AnyString &folder) const |
Save settings used by the thermal prepro to a folder. | |
bool | normalizeAndCheckNPO () |
Normalize NPO max and check for consistency. | |
Thermal.
anonymous enum |
bool Antares::Data::PreproAvailability::loadFromFolder | ( | Study & | study, |
const std::filesystem::path & | folder ) |
Load settings for the thermal prepro from a folder.
folder | The source folder |
bool Antares::Data::PreproAvailability::normalizeAndCheckNPO | ( | ) |
Normalize NPO max and check for consistency.
This method should only be used by the solver
bool Antares::Data::PreproAvailability::saveToFolder | ( | const AnyString & | folder | ) | const |
Save settings used by the thermal prepro to a folder.
folder | The targer folder |