-
Notifications
You must be signed in to change notification settings - Fork 0
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
Disable sub-sectors in Atlas+Refinery #53
Comments
@ChaelKruip Can you have a look on this issue and let us know if you approve with this approach? |
👍 |
@antw What is the status of this issue? |
I have pushed Atlas and ETSource branches so that you can try out this feature for yourself; you need to use both together: The ETSource branch moves the "metal" nodes into a new subdirectory: nodes/industry/metal so that we can differentiate them from other industry nodes. The Atlas branch introduces the behaviour that |
@antw Looks nice! 👍 During testing I run into the following:
|
In which case I think we'll need something more flexible than placing the node files into subdirectories; perhaps we could create a new node group – "metal" – and use the
That suggests some nodes aren't being disabled, which is odd. I'll look into it now. |
I have pushed updated ETSource and Atlas branches. In ETSource I moved the metal nodes back into the main "industry" directory, and added them to a new "metal" group (and also the energy nodes listed above). Atlas has been updated so that As for the IncalculableGraphError, I think you forgot to set |
@antw It looks like the ETsource branch is not updated yet... |
@wouterterlouw My bad; pushed. |
@antw Thanks!
I think it has to do with the input efficiencies. The |
Related: quintel/etsource#326 |
@wouterterlouw I can't seem to reproduce the incalculable graph when using this branch with the "disable-subsectors" Atlas branch. I can if I set Since your earlier post says that you tried this in ETEngine, that might explain the issue since ETE is linked to the Atlas master branch. If you want to try using a local copy of the "disable-subsectors" branch, you need to change the Gemfile in the ETEngine directory; Remove this: gem 'atlas', ref: '4885239', git: '[email protected]:quintel/atlas.git' Replace it with this: gem 'atlas', path: 'path/to/your/atlas/clone' Then run |
@antw 👍 With the replacement in the Gemfile ETengine works fine! |
@antw Can we merge this implementation or do you want to make it more general before? @ChaelKruip What do you think? |
I would like to make it more general – so that it is possible to disable any node group without it having to be hard-coded in Atlas – but that will take a while longer, and will involve some tweaks to ETEngine also. I don't think it's a good idea doing that so close to EC2013, so how about we merge this as-is, and I'll improve it next week once the convention is over? |
A disabled sector has all converters and constant edges set to zero demand by a graph plugin. Ref #730 Ref quintel/refinery#53
In #52 the following was proposed to disable the Metal sub-sector.
@antw Can you implement this?
The text was updated successfully, but these errors were encountered: