K omega**2 control, definition of K #330
lejeunemax
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I stumbled upon the
vs_rgn2K
value used by ROSCO for the K omega**2 regulationIn the
tune_controller
function, it is defined as follows:For
VS_ControlMode == 1
, in Region 2, this value is then used to compute the generator torque and accordingly stored inavrSWAP[46]
(in python) which, in turn, is used to compute the generated power eg. :gen_power[i] = gen_speed[i] * gen_torque[i] * self.turbine.GenEff / 100
insim_ws_wd_series
.From my understanding, there is therefore an inconsistency between the definition of K and the way it used there. More precisely
LocalVar%GenTq = CntrPar%VS_Rgn2K*LocalVar%GenSpeedF*LocalVar%GenSpeedF
should actually byLocalVar%GenTq = CntrPar%VS_Rgn2K*LocalVar%GenSpeedF*LocalVar%GenSpeedF/(CntrPar%VS_GenEff/100.0))
asVS_GenEff
is currently accounted twice in thegen_power[I]
computation. Also, the definition of the generator torque (coming from the hss) should not depend on the generator efficiency.Curious to know if I am missing something or if this definition is indeed incorrect?
Beta Was this translation helpful? Give feedback.
All reactions