The REPCA1 module is used to represent the renewable energy plant controller. It takes as input voltage and reactive power to then generate volt/var control at the plant level. It also generates frequency and active power output to emulate active power control. TThe REPCA1 module provides active reactive power command references to the electrical controller components (REECA1, REECB1, and REECCU1).
The modelling of such devices is based, mainly, on the following reference: