- Posts: 7
est_turbine_cost
- ivan1975
- Topic Author
Less
More
18 Aug 2022 11:25 #11356
by ivan1975
est_turbine_cost was created by ivan1975
Hi,
I am trying by LK code simulate capital cost for several turbines.
Two questions:
1) ¿What is mean 'est_turbine_cost' (LK variable)?.
2) ¿How can I emulate button "Estimate turbine cost now" usign LK code? (See attcahment)
Thanks.
I am trying by LK code simulate capital cost for several turbines.
Two questions:
1) ¿What is mean 'est_turbine_cost' (LK variable)?.
2) ¿How can I emulate button "Estimate turbine cost now" usign LK code? (See attcahment)
Thanks.
Attachments:
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
19 Aug 2022 11:22 #11360
by pgilman
Replied by pgilman on topic est_turbine_cost
Hi Ivan,
I think your question is about the Wind model.
The 'est_turbine_cost' is an unused variable, so you should ignore it.
Here is an example script that shows how to run the LandBOSSE BOS cost model from LK.
Best regards,
Paul.
I think your question is about the Wind model.
The 'est_turbine_cost' is an unused variable, so you should ignore it.
Here is an example script that shows how to run the LandBOSSE BOS cost model from LK.
Code:
// enable the LandBOSSE model
set('en_landbosse',1);
// check if LandBOSSE Python model is installed, install it if not
outln( 'Checking LandBOSSE installation' );
// array of test values for distance between wind farm and interconnection point
interconnect_distances = [ 5, 100 ]; // miles
for (i=0; i<#interconnect_distances; i++ )
{
// set LandBOSSE input
set('distance_to_interconnect_mi', interconnect_distances[i] );
// run LandBOSSE
outln( 'Running BOS cost model for case ' + i );
run_landbosse();
// get LandBOSSE output
bos_cost = get('total_bos_cost_per_capacity'); // $/kW
// set SAM input
set( 'bos_cost_per_kw' , bos_cost ); // $/kW
// run SAM
outln( 'Running SAM simulation for case ' + i );
simulate();
// store results in a table
results{'bos_cost'}[i] = bos_cost;
results{'npv'}[i] = get('project_return_aftertax_npv'); // $
}
// display results
outln( results );
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman