nrel.hive.util.exception
Module Contents
Functions
|
helper to enforce standardization of observed errors reported during simulation run |
- nrel.hive.util.exception.report_error(error: Exception) Dict[source]
helper to enforce standardization of observed errors reported during simulation run
- Parameters:
error – the error that occurred during simulation
- Returns:
packaged as a report
- exception nrel.hive.util.exception.TimeParseError(msg)[source]
Bases:
Exceptionraised when time parsing fails
- exception nrel.hive.util.exception.StateTransitionError(msg: str, this_state_name: str | None = None, next_state_name: str | None = None)[source]
Bases:
Exceptioncalls out a breach in the simulation’s physics observed when a state transition’s invariants are not met.
- exception nrel.hive.util.exception.StateOfChargeError(soc)[source]
Bases:
Exceptionstate of charge must exist in the range [0, 1]
- exception nrel.hive.util.exception.RouteStepError(msg)[source]
Bases:
Exceptionerrors related to stepping forward along a route
- exception nrel.hive.util.exception.SimulationStateError(msg)[source]
Bases:
Exceptionerrors related to SimulationState operations
- exception nrel.hive.util.exception.EntityError(msg)[source]
Bases:
Exceptionerrors related to methods on entities such as vehicles or stations.
- exception nrel.hive.util.exception.H3Error(msg)[source]
Bases:
Exceptionerrors related to H3 operations