필터 지우기
필터 지우기

Why the sum is different to real data?

조회 수: 3 (최근 30일)
Tony Castillo
Tony Castillo 2017년 5월 10일
댓글: Jan 2017년 5월 13일
Hi I have a doubt about, how matlab SUM values, maybe is quite easy for you answer this, but I have an issue based on the following: 1-I have real data about Power Consumption in a Buiding and in average that facility consumes 1740.48 e3 kW per day 2-I load the above data in my simulation based in Photovoltaic generation and I ran it for a day (3600seconds*24hours) 3-I extract the IL(intensity consumed by load) and VL (voltage on the load) from blocks "to file", I apply a simply multiplication 4-In order to find out the consumption during that period of time (24 hours), I apply the function "sum(PL)" and I receive a very large value, that is very uncomprehensible because is around of GW, when it should be kW per day. For me is hard to accept that value, that's why I give up to find an answer to that, please give me a hand in order to get the right value.
  댓글 수: 4
Jayaram Theegala
Jayaram Theegala 2017년 5월 12일
Also, can you attach a sample MATLAB script that shows the issue you are facing?
Jan
Jan 2017년 5월 13일
The results are not "bad", but only unexpected. You can be sure, that Matlab calculates the sum exactly. This means, that your expectations do not match the data. Did you see KL's comment?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by