Complex signal mismatch (simulink error)
Show older comments
Hi dears
when i am trying run my simulink file appear this error
Complex signal mismatch. Input port 1 of 'IEEE_9bus_new_o/Wind Farm 60 MW/Wind Farm/Csa' expects a signal of numeric type real. However, it is driven by a signal of numeric type complex
Component:Simulink | Category:Model error
Complex signal mismatch. Output port 1 of 'IEEE_9bus_new_o/Wind Farm 60 MW/Wind Farm/From1' is a signal of numeric type complex. However, it is driving a signal of numeric type real
If someone can help me I'll be thankful to him.
4 Comments
Walter Roberson
on 4 Nov 2019
Is the block labeled Csa a Controlled Current Source? https://www.mathworks.com/help/physmod/simscape/ref/controlledcurrentsource.html
islam ayad
on 4 Nov 2019
Walter Roberson
on 5 Nov 2019
In the subsystem Wind Farm, the gain block labeled a^2 turns out to be programmed as exp(-j*2*pi/3) which uses j = sqrt(-1) so the gain is complex not linear and not squared. The output lb is complex. That does not appear to be permitted for use as an input to a Controlled Current Source.
Walter Roberson
on 5 Nov 2019
You should also be looking into the cause of,
Warning: A propagation speed of 312815 km/s has been found for mode 2 in block ' Line 4 - 1'; Propagation speeds must be < 300000 km/s!
Answers (0)
Categories
Find more on Modeling 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!