Hello!
I have a question that might be answered here (sorry, PSIM has been recently acquired from ALTAIR and they lack forums for questions like this).
I'm trying to generate SimCoder C blocks for the *.h files included in ControlSUITE Solar/v1.2. Up to now, I have had certain success with the the creation of some blocks.
However, the SPLL_3ph_SRF block has an input that is declared as a vector v_q[]:
the case is that, PSIM in its C block has just the "wire" input connection and I really don't know how to pass that signal as a vector to this C block. I even created the ABD-DQ0 block thinking that it could remedy this issue:
However, I still getting errors due to this vector which requires a value between [-1,1]:
Now, there are two ABD-DQ0_x files, the positive and the negative, but at SolarLib.pdf is just contemplated the ABD-DQ0_Pos/Neg and of course, the output is not a vector.
Some ideas on how to solve this issue?
Should be necessary to have one ABD-DQ0_Pos to a Pos/SPLL_3ph_SRF and then a ABD-DQ0_Neg for a neg/SPLL_3ph_SRF?
Thank you.