Create multiple sites
Create multiple sites to be forecasted using the toolkit
You can use the toolkit to programmatically create sites in the Rebase Platform. Depending on the site you create, the needed meta data will be different.
To create a multiple solar power site using the toolkit, you first you need to prepare your site configuration data according to:
df = pd.read_csv("my_solar_sites")
rb.create_sites(df=df)
The SolarSite
is an object in the Rebase Platform with the following attributes:
SolarSite
EnergyAsset
name
string
default: "None"The name of the site
latitude
float
requiredLatitude of the site
longitude
float
requiredLongitude of the site
azimuth
float
requiredOrientation of solar panels (0 N, 90 E, 180 S, 270 W) degrees
tilt
float
requiredTilt of solar panels (0 to 90) degrees
capacity
float | array
requiredCapacity of site - array of JSON objects. Each JSON object should contain the capacity value in kW and the date (ISO 8601) from which the value is valid from.