diff --git a/deploy/runtime/macros/Flat Plate PV/Subarray Layout Optimization.lk b/deploy/runtime/macros/Flat Plate PV/Subarray Layout Optimization.lk index 57de4a01d0..8e28596f60 100644 --- a/deploy/runtime/macros/Flat Plate PV/Subarray Layout Optimization.lk +++ b/deploy/runtime/macros/Flat Plate PV/Subarray Layout Optimization.lk @@ -27,7 +27,7 @@ This macro helps the user determine the optimal subarray size, ground coverage r //@ name=length;type=number;label=Enter the Length of Field or Rooftop (m):;value=35 //@ name=width;type=number;label=Enter the width of Field or Rooftop (m):;value=25 //@ name=setback;type=number;label=Enter the setback (in m) from edges:;value=1 -//@ name=max_gcr;type=number;label=Enter the maximum GCR:;value=1 +//@ name=max_gcr;type=number;label=Enter the maximum GCR:;value=0.99 //@ name=min_gcr;type=number;label=Enter the minimum GCR(value cannot equal 0):;value=0.1 //@ name=gcr_steps;type=number;label=Enter the increments you would like to iterate GCR over:;value=0.1 //@ name=max_tilt;type=number;label=Enter the maximum allowable (fixed) tilt angle (in Degrees):;value=90 diff --git a/deploy/runtime/quickstart/mini-grid-example.sam b/deploy/runtime/quickstart/mini-grid-example.sam index d539ffa36a..eeae8b2cbf 100644 Binary files a/deploy/runtime/quickstart/mini-grid-example.sam and b/deploy/runtime/quickstart/mini-grid-example.sam differ diff --git a/samples/3D Shade LK Scripts/3d-shade-active-surface.lk b/samples/3D Shade LK Scripts/3d-shade-active-surface.lk index fa87d07f53..9f0abf7859 100644 --- a/samples/3D Shade LK Scripts/3d-shade-active-surface.lk +++ b/samples/3D Shade LK Scripts/3d-shade-active-surface.lk @@ -3,7 +3,7 @@ // This LK script is designed to work from SAM's 3D Shade Calculator. It // shows how to use LK to create an active surface in the scene. // -// This script was last tested in SAM 2021.12.02. +// This script was last tested in SAM 2024.12.12. // ////////////////////////////////////////////////////////////////////////// diff --git a/samples/3D Shade LK Scripts/3d_shade-script-examples.lk b/samples/3D Shade LK Scripts/3d_shade-script-examples.lk index e875f5c017..057a551fc1 100644 --- a/samples/3D Shade LK Scripts/3d_shade-script-examples.lk +++ b/samples/3D Shade LK Scripts/3d_shade-script-examples.lk @@ -1,3 +1,12 @@ +////////////////////////////////////////////////////////////////////////// +// +// This LK script is designed to work from SAM's 3D Shade Calculator. +// +// This script was last tested in SAM 2024.12.12. +// +////////////////////////////////////////////////////////////////////////// + + delay=700; rotate( 140, 26 ); switch_to(1); diff --git a/samples/Excel Exchange/excel-exchange-example.sam b/samples/Excel Exchange/excel-exchange-example.sam index 12f6637846..2ca1ac2c3a 100644 Binary files a/samples/Excel Exchange/excel-exchange-example.sam and b/samples/Excel Exchange/excel-exchange-example.sam differ diff --git a/samples/Excel Exchange/excel-object-example.lk b/samples/Excel Exchange/excel-object-example.lk index a9cb1fb249..59fd6bae57 100644 --- a/samples/Excel Exchange/excel-object-example.lk +++ b/samples/Excel Exchange/excel-object-example.lk @@ -17,7 +17,7 @@ file with the sam-exel-exchange-example.xlsx in the same folder. Script originally written in SAM 2014.11.24 - Updated and tested in SAM 2020.2.29 r2 + Updated and tested in SAM 2024.12.12 */ //////////////////////////////////////////////////////////////////////////////// diff --git a/samples/Excel Exchange/excel-object-example.sam b/samples/Excel Exchange/excel-object-example.sam index b01a42017f..727057b7d6 100644 Binary files a/samples/Excel Exchange/excel-object-example.sam and b/samples/Excel Exchange/excel-object-example.sam differ diff --git a/samples/LK Scripts for SAM/DView Functions/dview_from_active_case.lk b/samples/LK Scripts for SAM/DView Functions/dview_from_active_case.lk index 3364a0fd38..1877ffa023 100644 --- a/samples/LK Scripts for SAM/DView Functions/dview_from_active_case.lk +++ b/samples/LK Scripts for SAM/DView Functions/dview_from_active_case.lk @@ -4,7 +4,7 @@ This script runs a simulation and plots the output generation profile in a DView window. -Tested in SAM 2021.12.02 +Tested in SAM 2024.12.12 */ //////////////////////////////////////////////////////////////////////////////// diff --git a/samples/LK Scripts for SAM/DView Functions/dview_from_csv_file_multiple_8760_data.lk b/samples/LK Scripts for SAM/DView Functions/dview_from_csv_file_multiple_8760_data.lk index b52958e664..4c4017315e 100644 --- a/samples/LK Scripts for SAM/DView Functions/dview_from_csv_file_multiple_8760_data.lk +++ b/samples/LK Scripts for SAM/DView Functions/dview_from_csv_file_multiple_8760_data.lk @@ -6,7 +6,7 @@ CSV file. Use it with the data.csv file that accompanies this script. -Tested in SAM 2021.12.02 +Tested in SAM 2024.12.12 */ diff --git a/samples/LK Scripts for SAM/DView Functions/dview_from_text_file_8760_data.lk b/samples/LK Scripts for SAM/DView Functions/dview_from_text_file_8760_data.lk index 8a06b26e15..8ce0735598 100644 --- a/samples/LK Scripts for SAM/DView Functions/dview_from_text_file_8760_data.lk +++ b/samples/LK Scripts for SAM/DView Functions/dview_from_text_file_8760_data.lk @@ -6,7 +6,7 @@ column of data from a text file. Use it with the data.txt file that accompanies this script. -Tested in SAM 2021.12.02 +Tested in SAM 2024.12.12 */ //////////////////////////////////////////////////////////////////////////////// diff --git a/samples/LK Scripts for SAM/battery-grid-power-target-time-series.lk b/samples/LK Scripts for SAM/battery-grid-power-target-time-series.lk index 99b2562141..baeba9e39a 100644 --- a/samples/LK Scripts for SAM/battery-grid-power-target-time-series.lk +++ b/samples/LK Scripts for SAM/battery-grid-power-target-time-series.lk @@ -19,7 +19,7 @@ 4. Set the value of the grid_target variable below to the value you want to use in the time series array for the grid power target array. - Tested in SAM 2021.12.02. + Tested in SAM 2024.12.12. */ //////////////////////////////////////////////////////////////////////////////// diff --git a/samples/LK Scripts for SAM/battery-life-plot.lk b/samples/LK Scripts for SAM/battery-life-plot.lk index 1543913b46..bf8981b5ac 100644 --- a/samples/LK Scripts for SAM/battery-life-plot.lk +++ b/samples/LK Scripts for SAM/battery-life-plot.lk @@ -15,7 +15,7 @@ To use the script: 1. Create or open a PV Battery or Custom Generation Battery case in SAM. 2. Run the script. -Tested in SAM 2021.12.02 +Tested in SAM 2024.12.12 */ diff --git a/samples/LK Scripts for SAM/cambium-market-price-data-download.lk b/samples/LK Scripts for SAM/cambium-market-price-data-download.lk index 7d4dd02e72..8e86f54980 100644 --- a/samples/LK Scripts for SAM/cambium-market-price-data-download.lk +++ b/samples/LK Scripts for SAM/cambium-market-price-data-download.lk @@ -29,7 +29,7 @@ SAM case: To use the script, click Run above and follow the prompts. -Written in SAM 2020.11.29. Last tested in SAM 2021.12.02. +Written in SAM 2020.11.29. Last tested in SAM 2024.12.12. */ diff --git a/samples/LK Scripts for SAM/coeffgen6par.lk b/samples/LK Scripts for SAM/coeffgen6par.lk index 601f248680..d8aff066f8 100644 --- a/samples/LK Scripts for SAM/coeffgen6par.lk +++ b/samples/LK Scripts for SAM/coeffgen6par.lk @@ -2,6 +2,8 @@ This script runs the 6parsolve SSC compute module to calculate input parameters for the 6-parameter single-diode photovoltaic model (CEC Module Model) from datasheet parameters. + + Last tested in SAM version 2024.12.12 */ // Create SAM SDK Simulation Core (SSC) object diff --git a/samples/LK Scripts for SAM/csv-functions.lk b/samples/LK Scripts for SAM/csv-functions.lk index 579d819d71..6dd3d2735e 100644 --- a/samples/LK Scripts for SAM/csv-functions.lk +++ b/samples/LK Scripts for SAM/csv-functions.lk @@ -3,7 +3,7 @@ SAM LK script samples illustrating how to use the csvread() and csvwrite() to work with CSV files. - Tested in SAM 2021.12.02 + Tested in SAM 2024.12.12 */ //////////////////////////////////////////////////////////////////////////////// diff --git a/samples/LK Scripts for SAM/discount-rate-and-wacc.lk b/samples/LK Scripts for SAM/discount-rate-and-wacc.lk index 0a3c31610b..65a9668377 100644 --- a/samples/LK Scripts for SAM/discount-rate-and-wacc.lk +++ b/samples/LK Scripts for SAM/discount-rate-and-wacc.lk @@ -29,7 +29,7 @@ for(rl=0;rl<11;rl++) // effective tax rate te=ts+(1-ts)*tf; // debt fraction - fd=get('debt_percent')/100; + fd=get('debt_fraction')/100; // inflation ri=get('inflation_rate')/100; // calculate real discount rate to set using wacc=dr diff --git a/samples/LK Scripts for SAM/electricity-rate-flat-rate-parametric.lk b/samples/LK Scripts for SAM/electricity-rate-flat-rate-parametric.lk index b5903fb719..4666cf68d6 100644 --- a/samples/LK Scripts for SAM/electricity-rate-flat-rate-parametric.lk +++ b/samples/LK Scripts for SAM/electricity-rate-flat-rate-parametric.lk @@ -3,9 +3,10 @@ Run simulations over a range of flat energy buy rates for a parametric study. This script sets energy charge inputs for a simple flat buy rate and runs a -set of simulations over a range of flat rates. +set of simulations over a range of flat rates. Intended for use with an open +SAM case with a behind-the-meter financial model. -Written in SAM 2020.11.29 r2 tested in SAM 2021.12.02 +Written in SAM 2020.11.29 r2 tested in SAM 2024.12.12. */ diff --git a/samples/LK Scripts for SAM/electricity-rates-inputs.lk b/samples/LK Scripts for SAM/electricity-rates-inputs.lk index b262a1bb0b..fe0d767ee2 100644 --- a/samples/LK Scripts for SAM/electricity-rates-inputs.lk +++ b/samples/LK Scripts for SAM/electricity-rates-inputs.lk @@ -7,7 +7,7 @@ the Residential and Commercial financial models. Use it as a reference for electricity rate input variables. (Use the get() function to read the values of variables.) -Prepared in SAM 2017.9.5. Tested in SAM 2021.12.02 +Prepared in SAM 2017.9.5. Tested in SAM 2024.12.12 */ //////////////////////////////////////////////////////////////////////////////// diff --git a/samples/LK Scripts for SAM/fcr-from-ppa-single-owner-inputs.lk b/samples/LK Scripts for SAM/fcr-from-ppa-single-owner-inputs.lk index feddefcd37..5cb3d85c5f 100644 --- a/samples/LK Scripts for SAM/fcr-from-ppa-single-owner-inputs.lk +++ b/samples/LK Scripts for SAM/fcr-from-ppa-single-owner-inputs.lk @@ -8,7 +8,7 @@ This script requires that the debt mode on the Financial Parameters be set to "Debt percent" and for depreciation, that the allocation for 5-yr MACRS be 100% (all other allocations must be zero). -Tested in SAM 2021.12.02 +Tested in SAM 2024.12.12 */