MATLAB Answers

Need help with mixed numeric type error

4 views (last 30 days)
Marcus on 12 Mar 2013
Answered: Joel Van Sickel on 11 Dec 2020
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):
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?

Answers (1)

Joel Van Sickel
Joel Van Sickel on 11 Dec 2020
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.

Community Treasure Hunt

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

Start Hunting!