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

Add Custom Objective Function Terms into epl.Accounts #66

Open
ADGEfficiency opened this issue Jan 20, 2024 · 1 comment
Open

Add Custom Objective Function Terms into epl.Accounts #66

ADGEfficiency opened this issue Jan 20, 2024 · 1 comment

Comments

@ADGEfficiency
Copy link
Owner

ADGEfficiency commented Jan 20, 2024

@johnfeldhausen - I've started work on bringing the custom objective function terms into epl.Accounts here #65.

The initial idea is something like:

simulation = site.optimize(verbose=4, objective={"terms": terms})
accounts = epl.get_accounts(simulation.results, terms=terms)
print(accounts.custom.cost)

Will see how it goes!

@ADGEfficiency
Copy link
Owner Author

Implemented the feature in #65

Still needs documenting - the epl.Accounts aren't documented at all, so will set that up as well.

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

No branches or pull requests

1 participant