Function PowerSensor3::Joules

Function Documentation

double PowerSensor3::Joules(const State &firstState, const State &secondState, int pairID)

Get energy usage (J) between two states.

Parameters:
  • firstState

  • secondState

  • pairID – Sensor pair to get energy usage for, -1 to get the total energy usage

Returns:

double