[PATCH v8 0/8] Add support for devices in the Energy Model