Enhance SAM with features tailored to your specific needs! We collaborate with companies, universities, and organizations to privately fund new capabilities or analyses. Your investment drives innovation while benefiting the broader energy community. Email us to learn more.

About turbine selection usign LK code

  • Ivan
  • Topic Author
More
24 Aug 2022 11:08 #11382 by Ivan
Hi,
I am trying my own parametric simulations usign LK code.
I am wokring with two turbines: 'Mitsubishi MWT 1000'  and  'Vestas 164 8mW' and simulating a wind farm of 16 MW.
I have a problem when my LK code is trying to set turbine selection:         set('wind_turbine_selection', nameturbine);
Always it displays a error message box (see picture attached).
It means that Vestas turbine is not used and Mitsubishi turbine is still active.

¿How can I fix it?

My code:
set('desired_farm_size',16000);
MyTurbine[0]='Mitsubishi MWT 1000.;
MyTurbine[1]='Vestas 164 8mW';
...
set('wind_turbine_selection',MyTurbine[0]);
...
set('wind_turbine_selection',MyTurbine[1]); // **(Error message here)**
Attachments:

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

  • Paul Gilman
More
24 Aug 2022 12:40 - 24 Aug 2022 12:40 #11384 by Paul Gilman
Replied by Paul Gilman on topic About turbine selection usign LK code
Hi Ivan,

Some of the turbine names in the library have a space after the name. For the Vestas turbine in your list, try using:
Code:
MyTurbine[1]='Vestas 164 8mW '; //space between 'W' and end quote

We will fix this for the Fall 2022 release: github.com/NREL/SAM/issues/1138

Best regards,
Paul.
Last edit: 24 Aug 2022 12:40 by Paul Gilman.

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

Moderators: Paul Gilman
Powered by Kunena Forum