Importing inputs from SAM GUI to PySAM TcsmoltenSalt module

  • Westphal
  • Topic Author
More
23 May 2024 11:38 #13197 by Westphal
Hi Paul,

Ok thank you, so you're saying there is no way to use the "JSON for Inputs" code generator option in SAM that outputs all variables to a single JSON file, as detailed in the in the "JSON for Inputs" section at the bottom of  nrel-pysam.readthedocs.io/en/main/inputs-from-sam.html ?

Thank you,
Evan

 

Please Log in or Create an account to join the conversation.

  • pgilman
More
29 May 2024 10:59 - 29 May 2024 11:00 #13218 by pgilman
Hi Evan,

The file generated by the code generator's "JSON for Inputs" option should also work.

Best regards,
Paul.
Last edit: 29 May 2024 11:00 by pgilman.

Please Log in or Create an account to join the conversation.

  • Westphal
  • Topic Author
More
29 May 2024 11:51 #13219 by Westphal
Would you mind providing some example code on how to load inputs using the single JSON file outputted by the "JSON for Inputs" code generator option?

I think the example JSON for inputs code on the "Importing inputs from SAM" page is incorrect as it is a copy of the code above for the PySAM JSON method which loops through the separate modules even though the text description states "you don’t have to loop through the modules" for the JSON for inputs method.

Thank you,

Evan

Please Log in or Create an account to join the conversation.

  • Alasadi
More
19 Aug 2024 21:20 #13394 by Alasadi
Hi Evan.
I'm working on a molten salt solar tower.
Can you send me the model?
I hope you can help me with that.
 

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum