Dynamic Decision-Making with Reinforcement Learning: Studies in Renewable Energy and Transportation