+4 votes
286 views
in Modeling by Nitheesh Rajendran (20 points)

I'm trying to implement MMC as per the carrier phase shifting control. The triangular waveform generation has a phase_delay variable which is a vector and the output of the block should be a vector. But it is creating an error of dimension mismatch in each of the blocks named PWMa1. Other blocks named a2, b1, b2, c1 and c2 are the same copy of a1. I'm attaching the typhoon file. Can you help me with this error?

File

1 Answer

+3 votes
by Era Bajpai (282 points)
selected by Debora Santo
 
Best answer

Dear Nitheesh,

I tried working on your model file and was able to rectify the error of dimension which was occurring. I would like to inform you that in Typhoon HIL schematic editor window, there is an option of "Display Terminal Dimensions" if you right click on any component or window. Enabling this option as shown in image below, you can easily figure out what are the signal dimensions and work accordingly.

For fixing you model I could see that the 'VacpAr' signal was generated as 64 dimensional so currently I used a bus split to reduce the dimension of the signal and I was able to compile it successfully. Please find the attached model file for the same.

Hope this helps.

Best Regards
Era

new_file

by Nitheesh Rajendran (20 points)
+1
I'm getting en exception error in my simulation in SCADA. Error origin is System CPU, but component is shown as unknown
by Era Bajpai (282 points)
+1
Your CPU can get overloaded since there are many signal processing components used in your model. You can try the following approaches :

1) Changing the execution rate to reduce the overloading of CPU.

2)Using CPU marker component, it is possible to distribute evenly the Signal processing domain on all available CPUs. This component allows user tomap certain part of Signal processing domain on System CPU. Nevertheless, it is important to distinguish System CPU in different HIL devices. System architecture for HIL devices shows following:

For HIL 402/602+/604 device, System CPU has significantly less processing power than User CPU and therefore, user should be careful with mapping Signal processing component group on the System CPU
For HIL 404/606 device, System CPU is equivalent processor like User CPU.
For more information about partitioning Signal processing domain, please refer to the Signal processing circuit partitioning and Signal processing device partitioning videos.
...