DENiM: Digital intelligence for collaborative ENergy management in Manufacturing