Modular Model Composition for Rapid Implementations of Embedded Economic Model Predictive Control in Microgrids