1. A system for modular and flexible configuration of a shared-memory resource stage driver control system for optimizing energy usage in an energy conversion system, comprising: a Stage Driver for controlling one or more stages of an energy conversion system, one or more Stage Driver Add(s) for controlling one or more additional stages of an energy conversion system; a shared-memory resource for maintaining status and runtime of the one or more stages of the Stage Driver and Stage Driver Add(s); a function block engine for execution of stored instructions by a processor for performing the configuration, allocation, activation, and status maintenance functions of the Stage Driver and Stage Driver Add(s); and a configurator for automatically configuring a Stage Driver, one or more Stage Driver Add(s), a shared-memory resource, and function block engine based on a number of stages and a configuration strategy for implementation of a stage driver control system to optimize energy usage in an energy conversion system.