Optimal Control Methods for PV-integrated Shading Devices.