Though you did not show your whole circuit, it looks like your current sensor is connected incorrectly. In order to measure current, the current must pass THROUGH the sensor. Either that or your voltage sensor is connected wrong, because you must read the voltage ACROSS the load.
Also if you are trying to calculate energy, you need to write it as kw-h or kwh. kw/h is a rate of change of power and is probably not what you mean.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/173050/image.jpeg)