RapidNet
Fast Stochastic MPC for Drinking Water Networks
 All Classes Files Functions Variables Typedefs Macros Pages
Public Member Functions | List of all members
Forecaster Class Reference

Public Member Functions

 Forecaster (string pathToFile)
 
uint_t getPredHorizon ()
 
uint_t getSimHorizon ()
 
uint_t getDimDemand ()
 
uint_t getDimPrice ()
 
real_tgetNominalDemand ()
 
real_tgetNominalPrices ()
 
virtual uint_t predictDemand (uint_t simTime)
 
virtual uint_t predictPrices (uint_t simTime)
 
virtual ~Forecaster ()
 

Detailed Description

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:

Constructor & Destructor Documentation

Forecaster::Forecaster ( string  pathToFile)
Forecaster::~Forecaster ( )
virtual

Default destructor.

Member Function Documentation

uint_t Forecaster::getDimDemand ( )
uint_t Forecaster::getDimPrice ( )
real_t * Forecaster::getNominalDemand ( )

Here is the caller graph for this function:

real_t * Forecaster::getNominalPrices ( )

Here is the caller graph for this function:

uint_t Forecaster::getPredHorizon ( )
uint_t Forecaster::getSimHorizon ( )
Returns
simulation Horizon of the nominal forecaster
uint_t Forecaster::predictDemand ( uint_t  simTime)
virtual

Predicts the water demand. The base class forecaster reads the nominal demand from a json file.

Returns
status 1 success and 0 failure

Here is the caller graph for this function:

uint_t Forecaster::predictPrices ( uint_t  simTime)
virtual

Predicts the prices. The base class forecaster reads the nominal prices from a json file.

Returns
status 1 success and 0 failure

Here is the caller graph for this function:


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