Micro Grid Control Optimization with Load and Solar Prediction