how can i perform unbalance load flow in simulink

3 次查看(过去 30 天)
I 'm using simulink to perform unbalance loadflow but I see this message:
"Error using ^ One argument must be a square matrix and the other must be a scalar. Use POWER (.^) for elementwise power."
How can I resolve this problem?

回答(1 个)

Harsh Saxena
Harsh Saxena 2023-6-19
Hi,
Seems like you are trying to use the power operator. To use it like a^b, make sure that 'b' is a scalar as it will apply the power operation to each element of 'a'. If you want to apply the operation for every element in 'a' corresponding to every element in 'b', use a.^b.
For more information about the power operator refer to this documentation: https://www.mathworks.com/help/matlab/ref/power.html
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Simscape Electrical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by