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