Calculate Generator Economics Schema

{
  "totalAmount": 196.85252501663007,               Total cost of the kWh generated
  "hoursCount": 743,                               Total amount of hours in date range
  "totalKwhProduction": 5703.326532000004,         Total amount of kWh produced
  "hourlyAmounts": [                               Collection of hourly amounts
    {
      "amountDateTime": 1669874400000,             EPOCH datetime
      "amount": 0,                                 Total cost of kWh for the hour
      "pricePerKwh": 0.061700000000000005,         Price per kWh
      "kwh": 0                                     Total kWh this hour
    },
    ...
  ],
  "error": ""                                      ...
}

rev 1.0 2023-01-20