I am currently modelling some dynamic phenomena, combining pure simulink blocks and simscape blocks.
I have measurements (real-valued) on which I perform computations with complex-valued matrices, which give me a complex-valued output.
However, I use this ouput in a feedback loop so I have to convert it back to some real signal for the simulation to run.
My idea was then to convert this complex value that has a relative phase to my input signal into some real signal with same amplitude, but showing a time shift matching the argument of my complex number, but I can't figure it out.
Any suggestions ?
I know of the transport delay / time delay (though I am not sure how to use them in such a situation), but it feels overkill for something that looks so basic. Moreover, I need to perform some linear analysis for stability on this model, which seems to be incompatible with such delay blocks as proposed in shifting signal in simulink.
What is the right way to do this ?