check_sign_currents

check_sign_currents(battery_currents, alternator_currents)[source]

Checks if battery currents and alternator currents have the right signs.

Parameters:
  • battery_currents (numpy.array) – Low voltage battery current vector [A].
  • alternator_currents (numpy.array) – Alternator currents [A].
Returns:

If battery and alternator currents have the right signs.

Return type:

(bool, bool)