- Posts: 7
About turbine selection usign LK code
- ivan1975
- Topic Author
Less
More
24 Aug 2022 11:08 #11382
by ivan1975
About turbine selection usign LK code was created by ivan1975
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)**
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.
- pgilman
Less
More
- Posts: 5423
24 Aug 2022 12:40 - 24 Aug 2022 12:40 #11384
by pgilman
Replied by pgilman 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:
We will fix this for the Fall 2022 release: github.com/NREL/SAM/issues/1138
Best regards,
Paul.
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 pgilman.
Please Log in or Create an account to join the conversation.
Moderators: pgilman