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

Enable custom financial models #109

Merged
merged 6 commits into from
Feb 23, 2023
Merged

Enable custom financial models #109

merged 6 commits into from
Feb 23, 2023

Conversation

Matthew-Boyd
Copy link
Collaborator

  • Enables custom financial models but does not implement one.
  • Includes a test using Singleowner as the custom financial model.

@dguittet The actual custom financial model templates will be added on the other feature branch. At that point, any missing functionality that is discovered can be implemented here in master.

@Matthew-Boyd Matthew-Boyd added the enhancement New feature or request label Feb 21, 2023
@Matthew-Boyd Matthew-Boyd self-assigned this Feb 21, 2023
hybrid/power_source.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@dguittet dguittet left a comment

Choose a reason for hiding this comment

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

a last quick documentation request, but then it's good to merge!

@@ -27,12 +27,15 @@ def __init__(self,
'layout_config': optional dict, contains all keys for PVLayoutConfig dataclass. Required for layout modeling
"""
system_model = Pvsam.default("FlatPlatePVSingleOwner")
financial_model = Singleowner.from_existing(system_model, "FlatPlatePVSingleOwner")

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you please add this option of pv_config to the docstring above?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated, and removed parameter in docstring that will come next with the detailed layout implementation

@Matthew-Boyd Matthew-Boyd merged commit 23babd1 into master Feb 23, 2023
@Matthew-Boyd Matthew-Boyd deleted the custom_fin_models branch February 23, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants