PV Power Plant Controller UDM
I am attempting to build a UDM using FLECS coding for a simplified PV Plant Controller. The input is line flow Q and output is Q reference for inverters. I have few questions related to it:
- I am thinking of using the following subroutine (CCT Model) for UDM? Is it the right choice or should i be using plant-related model?
SUBROUTINE PPCPI(KM,ISLOT)
- How do i import line flow Q into the UDM code and do I get the output out of the UDM to be used by other models? Do I have to write some function for importing and exporting data from UDM or are there some pre-defined variables /data structures that I can use?