Modelling a network using PowerSystem and PowerSimulationDynamique

Hello everyone, I’m currently working on modelling a network based on GFM and GFL in Julia using PowerSystem.jl and PowerSimulationDynamique. I have written my own code for the GFL – essentially a custom GFL – but I am having difficulty coupling it with my network. Has anyone here done this before? If so, could they help me with the structure of their code for coupling with the network?
Many thanks