Load-Scheduling and PHEVs in the Smart Grid