nrel.hive.reporting.handler.summary_stats
Module Contents
Classes
Attributes
- class nrel.hive.reporting.handler.summary_stats.SummaryStats[source]
- state_count: collections.Counter
- vkt: collections.Counter
- requests: int = 0
- cancelled_requests: int = 0
- mean_final_soc: float = 0
- station_revenue: float = 0
- fleet_revenue: float = 0
- total_vkwh_expended: float = 0
- total_vgge_expended: float = 0
- total_skwh_dispensed: float = 0
- total_sgge_dispensed: float = 0
- compile_stats(rp: nrel.hive.runner.runner_payload.RunnerPayload) Dict[str, Any][source]
computes all stats based on values accumulated throughout this run :return: a dictionary with stat values by key