Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear var_data before copy #1158

Merged
merged 1 commit into from Apr 19, 2024
Merged

Clear var_data before copy #1158

merged 1 commit into from Apr 19, 2024

Conversation

dguittet
Copy link
Collaborator

fix #1157

@dguittet dguittet changed the title fix #1157 Clear var_data before copy Apr 18, 2024
Copy link
Collaborator

@cpaulgilman cpaulgilman left a comment

Choose a reason for hiding this comment

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

This fixed the issue I was having with PySAM errors while testing hybrid system models: Exec fail(hybrid): Only one battery bank allowed at this time and UnboundLocalError: cannot access local variable 'unassigned'.

@dguittet dguittet merged commit 1ea78b8 into patch Apr 19, 2024
4 checks passed
@dguittet dguittet deleted the ssc_1157 branch April 19, 2024 20:29
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.

Bug copying vec field of var_data
2 participants