diff --git a/src/quartz_api/internal/backends/dataplatform/client.py b/src/quartz_api/internal/backends/dataplatform/client.py index fe3e39e..6618abe 100644 --- a/src/quartz_api/internal/backends/dataplatform/client.py +++ b/src/quartz_api/internal/backends/dataplatform/client.py @@ -49,6 +49,7 @@ async def get_predicted_generation( energy_type: models.EnergyType, location_type: models.LocationType, authdata: dict[str, str], + created_cutoff: dt.datetime | None = None, forecast_horizon_minutes: int = 0, forecaster_name: str | None = None, @@ -146,7 +147,7 @@ async def get_predicted_generation( ), valid_timestamp=v.target_timestamp_utc, location_uuid=location_uuid, - capacity_kilowatts=int(v.effective_capacity_watts * 1000), + capacity_kilowatts=int(v.effective_capacity_watts / 1000), created_timestamp=v.created_timestamp_utc, init_timestamp=v.initialization_timestamp_utc, forecaster_name=forecaster.forecaster_name,