Generator models with Simulink/dll #1202
Unanswered
FerminVelazquez
asked this question in
Q&A
Replies: 1 comment
-
Dear @FerminVelazquez, I'm not sure I fully understand your question, but please note that If that doesn't help, please clarify your question. FYI: The following NREL report may be of interest to you: https://www.nrel.gov/docs/fy14osti/59195.pdf. Best regards, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I am trying to simulate grid faults (shortcircuits, voltage dips, etc) and ultimately their effect in mechanical loads (to the tower, for example). To do so, I would like to include a dynamical model of a generator, implemented in Simulink (in a DFIG or Full Converter configuration), that models the transient behaviour of the whole system (from grid to electrical torque).
I found that it can be included in the ServoDyn module, within the UserGen subroutine. The thing is, could it be implemented as a .dll?
I don’t know if it is possible to call the dll in the UserGen subroutine (which is defined in the UserVSCont_KP.f90 file), or if it should be done in other way.
I assume that in this way, the VSContrl should be set to zero, as the control is implemented in the model, right?
The model simulates all the parts shown in the picture. That is, the generator itself, the converters, the grid and the controllers of the converters. The output is the electric torque. Currently, I have as inputs mechanical torque (given by the turbine), speed reference (fed to the rotor-side converter controller), electric torque reference (which is fed to the converter control blocks within the Simulink model) and grid voltage.
Thank you in advance.
Kind regards,
Beta Was this translation helpful? Give feedback.
All reactions