Implementing a new variable that changes dynamically in simulation #355
-
I am attempting to implement a coordinating signal to a governor model in ANDES, where the coordinating signal changes dynamically during TDS. Specifically, I am attempting to modify the governor speed reference in the IEESGO governor model from omega_ref to (omega_ref + uc) where uc is the coordinating signal. I believe the implementation would require the creation of a new variable and some way to define that variable. I am struggling with both the variable implementation and understanding how to properly update this variable in TDS. Ideally the signal would be proportional to the power output of a renewable energy source (DFIG wind turbine, etc) however I would be happy with a simple proof of concept where at some time it changes value discretely. Where should I begin? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Tim, Changing the speed reference of a turbine governor model depends on the specific model. For IEEGSO, looking at https://www.powerworld.com/WebHelp/Content/TransientModels_PDF/Generator/Governor/Governor%20IEESGO.pdf, we can tell that it provides the In the ANDES implementation of IEESGO, To update The IEESGO model does not provide a way to update the speed reference, but I can point you to a feasible solution if |
Beta Was this translation helpful? Give feedback.
Hi Tim,
Changing the speed reference of a turbine governor model depends on the specific model. For IEEGSO, looking at https://www.powerworld.com/WebHelp/Content/TransientModels_PDF/Generator/Governor/Governor%20IEESGO.pdf, we can tell that it provides the
paux
signal as an auxiliary input.In the ANDES implementation of IEESGO,
paux
is inherited from theTGBase
class. The definition ofpaux
is found here:https://github.com/cuihantao/andes/blob/901a4fb7cda336ab3adec2cd47b63902e0ce803c/andes/models/governor/tgbase.py#L108-L112
To update
paux
, follow this example at https://docs.andes.app/en/latest/_examples/ex8.html. Whenever you updatepaux0
, make sure write to itsv
field in place. See h…