Resource Forecaster
Description
ResourceForecaster component predicts / takes a value from historian / etc. for the future status of the resource.
Note! This is static time series version of Resource Forecaster.
Functionalities
- Predicts the future status of resource
ResourceForecaster definition
Input parameters
Property | Datatype | Example |
---|---|---|
forecasting_horizon | ISO 8601 duration | PT36H |
Environment variables
Variable | Example value | Note |
---|---|---|
SIMULATION_COMPONENT_NAME | resource_forecaster | |
RESOURCE_TYPES | Load, Generator | List types of forecasted resources. Accepted types are Generator or Load. |
RESOURCE_FORECAST_COMPONENT_IDS | load1, generator1 | This should match with information provided with 'name' input parameter in Resources for each resource to be forecasted |
RESOURCE_FORECAST_STATE_CSV_FOLDER | ./ | |
FORECAST_HORIZON | PT36H |
Data
Subscribe
Topic | Payload |
---|---|
Publish
Topic | Payload |
---|---|
ResourceForecastState.(ResourceCategory).(ResourceId) | Real power |
Workflow
- Simulation is started
- ResourceForecaster receives SimState message "running" from SimulationManager.
- ResourceForecaster responds to SimulationManager with Status message "ready".
- ResourceForecaster receives an Epoch message for a new epoch. The epoch number for the first epoch is 1.
-
ResourceForecaster publishes ResourceForecast.Power message to ResourceForecastState topic. Real powers are selected from imported timeseries. Running epoch start time + variable 'forecast_horizon' determines how many real power values are sended.
a. ResourceForecaster re-sends ResourceForecast if it receives Epoch message for the running epoch again
-
ResourceForecaster sends a Status message with value "ready"
- Repeat steps 4-6 for each epoch with growing epoch number.
- ResourceForecaster receives a SimState message "stopped" from SimulationManager.
- ResourceForecaster closes itself