Skip to content

JSON code generator for hybrids - addresses SAM issue 1515#1718

Merged
sjanzou merged 7 commits into
patchfrom
SAM_1515
Feb 29, 2024
Merged

JSON code generator for hybrids - addresses SAM issue 1515#1718
sjanzou merged 7 commits into
patchfrom
SAM_1515

Conversation

@sjanzou

@sjanzou sjanzou commented Feb 28, 2024

Copy link
Copy Markdown
Collaborator

Goes with ssc pull request 1139

Check out TEST_F(CmodHybridTest, CodeGeneratorPVWattsv8WindBatterySingleOwner) test in ssc that uses PVWatts_Wind_Battery_Hybrid_Single_Owner.json file generated from SAM.

@sjanzou sjanzou self-assigned this Feb 28, 2024
@sjanzou sjanzou linked an issue Feb 28, 2024 that may be closed by this pull request

@cpaulgilman cpaulgilman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good -- inputs are grouped by technology in JSON, and SSC test passes.

This is different from PySAM JSON, and from JSON generated by Shift-F5 (save case inputs as JSON) and Ctril-F7 (save case inputs as JSON for SSC). Seems like we should consolidate these different save-inputs-as-JSON methods.

@sjanzou sjanzou merged commit bb20186 into patch Feb 29, 2024
@sjanzou sjanzou deleted the SAM_1515 branch February 29, 2024 07:45
@sjanzou sjanzou restored the SAM_1515 branch March 1, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSON code generation for hybrids

2 participants