A controller for a power system including a plurality of power system components, said controller comprising: a memory for storing computer-executable instructions; and a processor coupled to said memory and to the plurality of power system components, said processor configured to execute the computer-executable instructions, wherein the computer-executable instructions program said processor to: determine an operating condition of at least one first power system component and at least one second power system component of the plurality of power system components; determine whether a predetermined condition is met based on at least one operating condition; transmit a command to at least one other controller to one of electrically couple the at least one first power system component to the at least one second power system component or electrically decouple the at least one first power system component from the at least one second power system component based on whether the predetermined condition is met, wherein the at least one second power system component includes a power storage device; characterized in that said processor is further programmed to: determine a requested completion time for a charging operation for the power storage device; determine whether sufficient time exists to complete the charging operation within the requested completion time when the power storage device is switched to the power supply mode of operation in which the power storage device supplies power to one or more loads within the system; and preventing the power storage device from switching to the power supply mode if insufficient time exists. a memory for storing computer-executable instructions; and a processor coupled to said memory and to the plurality of power system components, said processor configured to execute the computer-executable instructions, wherein the computer-executable instructions program said processor to: determine an operating condition of at least one first power system component and at least one second power system component of the plurality of power system components; determine whether a predetermined condition is met based on at least one operating condition; transmit a command to at least one other controller to one of electrically couple the at least one first power system component to the at least one second power system component or electrically decouple the at least one first power system component from the at least one second power system component based on whether the predetermined condition is met, wherein the at least one second power system component includes a power storage device; characterized in that determine an operating condition of at least one first power system component and at least one second power system component of the plurality of power system components; determine whether a predetermined condition is met based on at least one operating condition; transmit a command to at least one other controller to one of electrically couple the at least one first power system component to the at least one second power system component or electrically decouple the at least one first power system component from the at least one second power system component based on whether the predetermined condition is met, wherein the at least one second power system component includes a power storage device; characterized in that determine a requested completion time for a charging operation for the power storage device; determine whether sufficient time exists to complete the charging operation within the requested completion time when the power storage device is switched to the power supply mode of operation in which the power storage device supplies power to one or more loads within the system; and preventing the power storage device from switching to the power supply mode if insufficient time exists.