How can I measure Cos (phi)

Is there any block to measure cos(phi)? (In plecs)

Hello,

No, there is not a block in our library that will automatically do this. What your are looking for is a phase-locked loop component, and if you search our online documentation you will find several examples in our pre-built demo models. Good luck!

Kris

Specifically, you should look under the mask of the Current Controller in the demo model “Neutral-Point Clamped Converter”. I hope this helps.