Text this: Optimal control of renewable energy/grid hybrid systems with heat pump load