Source code for wind farm layout design

  • Jubeyer Rahman
  • Topic Author
More
23 Apr 2021 21:24 #9510 by Jubeyer Rahman
Source code for wind farm layout design was created by Jubeyer Rahman
Hi,

Can anyone guide me to the source code of calculating wind farm layout in PySAM where I will give the input like the SAM GUI (e.g.; Turbines per row, number of row, shape , turbine spacing , rotor spacing, row orientation , etc. ) and in return I will get the x and y co-ordinate lists?

And how to get the turbine details in PySAM just by setting the turbine name from the library in the SAM GUI?

Best Regards,
Jubeyer

Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
23 Apr 2021 23:20 #9512 by Paul Gilman
Replied by Paul Gilman on topic Source code for wind farm layout design
Hi Jubeyer,

Both of those features are implemented as user interface "callbacks" in SAM that are not available in PySAM.

You can see the code for the wind farm layout here:

github.com/NREL/SAM/blob/85b6974a7f9f02e931b9013b7d250a7eccd87b1c/deploy/runtime/ui/Wind%20Farm%20Specifications.txt#L1605

The SAM user interface uses special code to read turbine power curve data from the turbine library CSV file. The CSV file is available here:

github.com/NREL/SAM/blob/develop/deploy/libraries/Wind%20Turbines.csv

You could write your own Python code to read data from that file.

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum