I am getting wrong value for Power calculation

2 views (last 30 days)
athula S H P
athula S H P on 7 Jul 2017
Answered: Sabin on 13 Jun 2025
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

Answers (1)

Sabin
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.

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!