Hi Angus,
We were able to replicate the NaN results from your Python script. I suspect that there is a problem one or more of the input variables in the script. Instead of trying to find those variables, we recreated a Python script from the LK script generated by the molten salt tower model in SAM that works with your weather file. I tested it in both the latest version of the SDK (2015-6-30 r1) and the previous version (2015-6-30) and it generated numbers for the hourly results instead of NaN.
You can download our test files here:
ZIP 108 KB
To run that script, extract the files from the zip archive and put them in the SDK
\languages\python folder
Note that the results from SSC/Python are different from the SAM default molten salt tower model because the costs used by the field optimization routine are different. The Python script sets those values (tower_fixed_cost, rec_ref_cost, etc.) to default values that are internal to the tcs_moltensalt module, while SAM takes those values from the default values of the single_owner financial model.
Thanks,
Paul.