Semi-Cooperative Learning in Smart Grid Agents