Skip to content

Implementing a new variable that changes dynamically in simulation #355

Answered by cuihantao
TimThacker asked this question in Modeling
Discussion options

You must be logged in to vote

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 the TGBase class. The definition of paux 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 update paux0, make sure write to its v field in place. See h…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@TimThacker
Comment options

@cuihantao
Comment options

@cuihantao
Comment options

Answer selected by TimThacker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants