GensetModule.next_status#

GensetModule.next_status(goal_status)[source]#

Predict the next status of the genset given a goal status.

Does not modify the genset in any way.

Parameters#

goal_status{0, 1}

Goal status.

Returns#

next_status{0, 1}

The next status given the current status and the goal status.