Need help with mixed numeric type error

2 次查看(过去 30 天)
I'm trying to model a variable inductance on a transmission line in SimPowerSystems. I downloaded the model described on the Mathworks site (the description stated that this Simulink model can work in SimPowerSystems): http://www.mathworks.com/help/physmod/powersys/examples/variable-inductance-modeling.html
When I put the variable inductance block in the transmission line (which is also described by a transmission line block), I get the following error at runtime:
Input port cannot accept mixed numeric types. Input port 1 of 'kundur_2_area_system/powergui/EquivalentModel1/conversion /Complex to Real-Imag' expects a real or complex signal. However, it is driven by a signal that includes both real and complex elements
Is there anyway around this issue?

回答(1 个)

Joel Van Sickel
Joel Van Sickel 2020-12-11
It sounds like something got connected wrong or the simulaiton isn't converging. An example of the model causing this problem would be needed to debug more.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by