SmartTimeSeries
A Smart TimeSeries is an expression that is used to build TimeSeries on demand
Introduction​
Smart TimeSeries are an easy but powerful way of defining TimeSeries derivations.
A Smart TimeSeries consists of the following:
Base TimeSeries​
The base TimeSeries is mandatory and can be either a real TimeSeries or another Smart TimeSeries.
The base TimeSeries is usually used in the expression using the variable name BASE.
Expression​
The expression is also mandatory and is a string formula used to build the TimeSeries.
- It can be a simple operation like
BASE*1.2 - It can use built-in functions like
scale(BASE, 'MONTHLY', 'summed') - It can use functions in the #TimeSeriesScript (if you have not specified a custom script) like
fill(BASE, 'LINEAR') - It can use your own functions in a specified custom script like
myfunction(BASE)