Closed brynpickering closed 7 months ago
Attention: 9 lines
in your changes are missing coverage. Please review.
Comparison is base (
ade817d
) 95.83% compared to head (bfc508b
) 95.60%.
How are pathways activated in this branch?
I am trying to run the pathways
override via the following code, but so far I've had little luck in getting them to run.
model = calliope.Model(national_model_path, override_dict={"config.solve.solver": "gurobi"}, scenario="pathway_setup")
Which returns the following: ModelError: Attempted to load custom math that does not exist: ['pathways']
Can you try calliope.examples.national_scale(scenario="pathways")
?
On Tue, 13 Feb 2024, 09:35 Ivan Ruiz Manuel, @.***> wrote:
How are pathways activated in this branch? I am trying to run the pathways override via the following code, but so far I've had little luck in getting them to run.
model = calliope.Model(national_model_path, override_dict={"config.solve.solver": "gurobi"}, scenario="pathway_setup")
Which returns the following: ModelError: Attempted to load custom math that does not exist: ['pathways']
— Reply to this email directly, view it on GitHub https://github.com/calliope-project/calliope/pull/541#issuecomment-1940918690, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDB63VPQMTY5WY44T7TQ63YTMXVTAVCNFSM6AAAAABCIREDHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBQHEYTQNRZGA . You are receiving this because you authored the thread.Message ID: @.***>
Closing this in favour of pathways being developed in https://github.com/calliope-project/calliope-pathways
Fixes #125
Summary of changes in this pull request to date:
investsteps
dimension to all math componentforeach
listsmodel = calliope.examples.national_scale(scenario="pathways")
)TODO:
investsteps
is very much a placeholder.initial_flow_cap
and any other input params to the schema on-the-fly).cost_flow_cap_bounding
constraint and then annualised in thecost_investment
global expression. I think this is fine.flow_cap_bounding
andcost_flow_cap_bounding
in every single constraint?! Probably.Reviewer checklist: