Hello,
According to TcsmoltenSalt documentation, the TcsmoltenSalt.assign() function requires a nested dictionary of Group names paired with a dictionary of variable name/value pairs.assign(
dict)→ None
Assign attributes from nested dictionary, except for Outputs
nested_dict = { 'Solar Resource': { var: val, ...}, ...}
The "Generate Code - PySAM JSON' option in the SAM GUI provides a JSON that is only a flat dictionary with no Group names. Therefore reading the JSON into the TcsmoltenSalt module does not work as there are no group names associated with the variable name/value pairs.
Is there a workaround for this or a better way to import inputs into the module?
Thanks!
Evan