Tutorial to Get Started with Rebase API
Get started with Rebase API in a few simple steps:
Create a new site
Explore different site options.
Upload generation data
See also how to upload capacity changes.
Train ML model
See what training settings are available.
Query forecasts
Find out how to query historical forecasts.
Step 1. Create a new site
Create a solar site to forecast. You will need to provide some site parameters like location, capacity, etc. More information about the parameters for every type of site are provided in the site set-up guides and in the API Reference.
As response you get the ID of the newly created site.
Step 2. Upload generation data
To train an ML model you need to upload measured power generation data from the site. A good practice for better performance of the ML model is that the data cover a period of one year at least with hourly or more frequent resolution.
When the data have been uploaded successfully, you get a response message.
Step 3. Train ML model
To start the training of the ML models you will need to provide the site IDs and the training set splits.
The response message informs that the training process has started.
Step 4. Query forecast
When training is done, you can query the latest available forecast.
The response is a serialized table with the following columns:
valid_time
: It contains the target times, i.e. the periods which are forecasted.
forecast
: It contains the forecast values.
model_name
: It contains the names of the models which create the forecasts.
model_version
: It contains the versions of the models which create the forecasts.
update_time
: It contains the issue/update time, i.e. the time when the forecasts were updated.