energy-py-linear
energy-py-linear copied to clipboard
Add Custom Objective Function Terms into `epl.Accounts`
@johnfeldhausen - I've started work on bringing the custom objective function terms into epl.Accounts here https://github.com/ADGEfficiency/energy-py-linear/pull/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!
Implemented the feature in https://github.com/ADGEfficiency/energy-py-linear/pull/65
Still needs documenting - the epl.Accounts aren't documented at all, so will set that up as well.