data_sources.gsp
GSP data sources and functions
data_sources.gsp.gsp_model
Model for output of GSP data
GSPML Objects
class GSPML(DataSourceOutputML)
Model for output of GSP data
gsp_id
GSP identification. shape = [batch_size, ] n_pv_systems_per_example
number_of_gsp
@property
def number_of_gsp()
The number of Grid Supply Points in this example
sequence_length
@property
def sequence_length()
The sequence length of the GSP PV power timeseries data
gsp_yield_shape
@validator("gsp_yield")
def gsp_yield_shape(cls, v, values)
Validate 'gsp_yield'
x_coordinates
@validator("gsp_x_coords")
def x_coordinates(cls, v, values)
Validate 'gsp_x_coords'
y_coordinates_shape
@validator("gsp_y_coords")
def y_coordinates_shape(cls, v, values)
Validate 'gsp_y_coords'
get_datetime_index
def get_datetime_index() -> Array
Get the datetime index of this data
from_xr_dataset
@staticmethod
def from_xr_dataset(xr_dataset)
Change xr dataset to model. If data does not exist, then return None
normalize
def normalize()
Normalize the gsp data