I'm a mechanical engineering student with no knowledge on Arduino microcontroller. I am currently working on a project of using Artificial Neural Network in a hybrid solar heating system. The hybrid solar heating system consists of solar flat plate collector for absorbing solar thermal energy and a secondary heater from an electrical supply (immersion heater). I intend using a forecast model to predict the ambient temperature of the surroundings and calculating the corresponding temperature obtainable from a given quantity of liquid using energy balace equations from the solar collector. Different temperature ranges would need different amount of power supply from the electrical heater to obtain a particular water temperature (I'm aware an exact temperature can't be obtained, so maybe +/- 3 degrees difference).
The difficulty I face is how to use Arduino to interface the electrical heater to regulate the amount of heating depending on the predicted temperature from the Artificial Neural Network (i.e if the flat plate solar collector is only able to attain 35 degrees so I'll be needing an additional 10 degrees from the electrical heater to attain a target 45 degrees temperature which is the desired temperature). So how do I set up the arduino interface to supply an additional 420000 joules of electrical energy to get the 10 degrees temperature rise in span of 30 minutes. How can this regulation be done on a 220v 600W immersion heater to produce 420,000 joules in 30 minutes. The 420,000 joules isn't a fixed value, it could change depending on the predicted temperature.
I'd appreciate an explanation that could help me achieve this. A circuit diagram, Arduino code would go a long way in helping.