Hello Ioannis,
If you want to do the integration in the Schematic Editor, you would need to code it in C or by using the library components.
Depending on your timing needs for your controller and its complexity, you can run python code in the SCADA environment setting the references for your model (for instance using macro component in SCADA).
Regards,
Ricardo