RapidNet
Fast Stochastic MPC for Drinking Water Networks
|
Public Member Functions | |
Forecaster (string pathToFile) | |
uint_t | getPredHorizon () |
uint_t | getSimHorizon () |
uint_t | getDimDemand () |
uint_t | getDimPrice () |
real_t * | getNominalDemand () |
real_t * | getNominalPrices () |
virtual uint_t | predictDemand (uint_t simTime) |
virtual uint_t | predictPrices (uint_t simTime) |
virtual | ~Forecaster () |
The uncertainty in the network are water demand and electricity prices. Using a time series models, a nominal future water demand and nominal electricity prices is predicted.
A forecaster class contains:
sanity check (check that the given file is well formed)
new char[65536]: is this good practice?
Forecaster::Forecaster | ( | string | pathToFile | ) |
|
virtual |
Default destructor.
uint_t Forecaster::getDimDemand | ( | ) |
uint_t Forecaster::getDimPrice | ( | ) |
real_t * Forecaster::getNominalDemand | ( | ) |
real_t * Forecaster::getNominalPrices | ( | ) |
uint_t Forecaster::getPredHorizon | ( | ) |
uint_t Forecaster::getSimHorizon | ( | ) |
Predicts the water demand. The base class forecaster reads the nominal demand from a json file.
Predicts the prices. The base class forecaster reads the nominal prices from a json file.