Energy Modeling in Database Management Systems