This project is about exploring the use of model-based reinforcement learning with Bayesian neural networks to minimize the electricity cost for electricity consumers who have their own photovoltaic system and a battery. The method used here is designed for environments with dynamic electricity prices.