Function PowerSensor3::Watt

Function Documentation

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

Get average power (W) between two states.

Parameters:
  • firstState

  • secondState

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

Returns:

double