Optimizing Energy Costs for Offices Connected to the Smart GridIEEE TRANSACTIONS ON SMART GRIDIF9.82012-12-0148PRE