export type DailyEnergyFlows = {
  day: string
  interval_count: number
  pv_production_kwh: number
  grid_import_kwh: number
  grid_export_kwh: number
  batt_charge_kwh: number
  batt_discharge_kwh: number
  load_kwh: number
  pv_to_load_kwh: number
  pv_to_batt_kwh: number
  pv_to_grid_kwh: number
  batt_to_load_kwh: number
  batt_to_grid_kwh: number
  grid_to_load_kwh: number
  grid_to_batt_kwh: number
  grid_import_cashflow_czk: number
  grid_export_revenue_czk: number
  grid_to_load_cost_czk: number
  grid_to_batt_cost_czk: number
}

export type DailyEnergyFlowsResponse = {
  days: DailyEnergyFlows[]
}

export type IntervalEnergyFlows = {
  interval_start: string
  pv_production_kwh: number | null
  grid_import_kwh: number | null
  grid_export_kwh: number | null
  batt_charge_kwh: number | null
  batt_discharge_kwh: number | null
  load_kwh: number | null
  pv_to_load_kwh: number | null
  pv_to_batt_kwh: number | null
  pv_to_grid_kwh: number | null
  batt_to_load_kwh: number | null
  batt_to_grid_kwh: number | null
  grid_to_load_kwh: number | null
  grid_to_batt_kwh: number | null
}
