- Posts: 7
Source code for wind farm layout design
- Jubeyer
- Topic Author
Less
More
23 Apr 2021 15:24 #9510
by Jubeyer
Source code for wind farm layout design was created by Jubeyer
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
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.
- pgilman
Less
More
- Posts: 5447
23 Apr 2021 17:20 #9512
by pgilman
Replied by pgilman 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.
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: pgilman