Energy storage and power distribution comprise an integral part of the engineered systems that play critical roles in people's everyday lives, including transportation, utility, health, and security. However, in today's cyber-physical platforms, the generation, storage, allocation, and distribution of energy among modules is often managed in a haphazard and rigid manner that is fixed at the system design stage.