Developing And Deploying Sim-To-Real Reinforcement Learning Techniques With Applications In Energy Systems