Improving Energy Flexibility in Photovoltaic-Battery Systems through Switching Reinforcement Learning Control | IEEE Conference Publication | IEEE Xplore