Hi everyone,
I am trying to develop an FOC algorithm (see screenshots attached) using the Motor Control Blockset in Simulink but I am getting the following errors (see screenshot attached). I don't know waht I am doing wrong since I fed my d and q currents to my Discrete PI controllers and fed the results straight into my Inverse Park Transform. I don't know how to solve this and any help would be greatly appreciated.
Simulink file OneDrive Link:
https://1drv.ms/u/s!AokIrMv_d8kz3BMaImhVY_guP_N-?e=Fu1a1e