Skip to content

Commit

Permalink
account for efficiencies in vs_rgn2K
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Jul 10, 2020
1 parent 2b4149d commit 6ff77bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ROSCO_toolbox/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def tune_controller(self, turbine):
self.vs_gain_schedule.second_order_PI(self.zeta_vs, self.omega_vs,A_vs,B_tau,linearize=False,v=v_below_rated)

# -- Find K for Komega_g^2 --
self.vs_rgn2K = (pi*rho*R**5.0 * turbine.Cp.max) / (2.0 * turbine.Cp.TSR_opt**3 * Ng**3)
self.vs_rgn2K = (pi*rho*R**5.0 * turbine.Cp.max) / (2.0 * turbine.Cp.TSR_opt**3 * Ng**3)/ (turbine.GenEff/100 * turbine.GBoxEff/100)
self.vs_refspd = min(turbine.TSR_operational * turbine.v_rated/R, turbine.rated_rotor_speed) * Ng

# -- Define some setpoints --
Expand Down

0 comments on commit 6ff77bf

Please sign in to comment.