A distributed optimal power management system for microgrids with plug&play capabilities. Issue 1 (21st January 2021)