![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/173050/image.jpeg)
Calculate kw/h with Matlab Simulink
15 views (last 30 days)
Show older comments
Hi ! I would like to calculate kw/h with matlab simulink. So I started by calculate watt : P=VI. I added voltage and current sensor, now i would like to multiply the values to get power. I unsuccessfully tried fews blocks to calculate : I get "trouble solving algebric equation" error... I tried these blocks : product, dot product, mux, ps product... but it still not working. http://image.noelshack.com/fichiers/2015/04/1422007075-capture2.png It's one of the scheme i tried to do. So how can I calculate watt, them kw/h ? Thank's for reading !
0 Comments
Answers (1)
A Jenkins
on 23 Jan 2015
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)
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!