I am getting wrong value for Power calculation
2 views (last 30 days)
Show older comments
I have attached image of my diagram.

I am getting voltage and current values as expected. but active power value is different. since it is pure resistor, active power = rms current* rms voltage also I noticed that when I change the discrete sampling time in power gui block, the power value changes. Please help me, I have no idea. I am very new to simulink.
Thank you
0 Comments
Answers (1)
Sabin
on 13 Jun 2025
It appears that the wrong block is used to compute the power. Power (Phasor) will compute active and reactive powers using voltage and current phasors. However, the simulation is not set to Phasor simulation. Instead the Power block should be used in this context.
0 Comments
See Also
Categories
Find more on Specialized Power Systems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!