Hi Gabriel,
SAM's report template editor is not available in the SAM user interface. We have received requests to make one available, but have not yet received funding to do this work:
github.com/NREL/SAM/issues/308
In the meantime, you could use the ME Wave Report macro as an example of how to write a report generator in LK script. To see the macro, create a Marine Wave / LCE Calculator case, and click
Macros under the Simulate button. Then click
ME Wave Report and click
View code at the top right of the Macros page.
If you want to convert that macro to an LK script, copy and paste the code starting from Line 58 into a text file with the .lk extension. Note that the script uses the 'macro' table to set the value of inputs, so you will need to set the values of those variables in your script. For example, replace Line 101
companyName = macro.companyName;
with
companyName = "My Company Name";
This example is for the Marine Wave Energy performance model with the LCOE Calculator financial model, so you will have to modify it to use with different models.
Best regards,
Paul.