Skip to content

Commit

Permalink
Fix GenEff when CompServo is 0 (#372)
Browse files Browse the repository at this point in the history
* Fix GenEff when CompServo is 0

* Increment version
  • Loading branch information
dzalkind authored Aug 9, 2024
1 parent d621956 commit adfef91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rosco"
version = "2.9.4"
version = "2.9.5"
description = "A reference open source controller toolset for wind turbine applications."
readme = "README.md"
requires-python = ">=3.9"
Expand Down
2 changes: 1 addition & 1 deletion rosco/toolbox/turbine.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def load_from_fast(
fast.read_ServoDyn()
fast.read_DISCON_in()
else:
fast.fst_vt['ServoDyn']['GenEff'] = 1.0
fast.fst_vt['ServoDyn']['GenEff'] = 100. # gen efficency defined in percent in ServoDyn


if fast.fst_vt['Fst']['CompHydro'] == 1: # SubDyn not yet implimented
Expand Down

0 comments on commit adfef91

Please sign in to comment.