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

Disable nodes based on sector keys? #90

Open
ploh opened this issue Feb 4, 2017 · 2 comments
Open

Disable nodes based on sector keys? #90

ploh opened this issue Feb 4, 2017 · 2 comments
Assignees

Comments

@ploh
Copy link

ploh commented Feb 4, 2017

I noticed that ZeroDisabledSectors only disables nodes based on their groups but not based on their sector. Additionally, metal_industry is the only group that will ever get disabled.
Probably some more of the feature flags of Dataset should lead to disabling of nodes based on their sector!?

@ploh
Copy link
Author

ploh commented Feb 4, 2017

I created a branch disable_nodes_by_sector to test disabling all agriculture and industry nodes - in case that is specified in the dataset.ad file.

Unfortunately, when trying to load a (derived) dataset in ETEngine (with has_agriculture = has_industry = false), this leads to the following error:

Refinery::FailedValidationError: Post-calculation validations failed with the following errors:

  * #<Refinery::Slot (out, electricity) node=:buildings_local_production_electricity> demand (6.235077 PJ) does not match output of the node (6.737433 PJ) (-502,355,926.060168 MJ)
  * #<Refinery::Slot (in, electricity) node=:energy_cokesoven_consumption_coal_gas> demand (0 KJ) does not match demand from the node (0.015342 PJ) (-15,341,876.871023 MJ)/home/peter/synced/quintel/atlas/lib/atlas/runner.rb:30:in `block in calculate'

So it seems the problem is more complicated than I thought. Any ideas?

@ChaelKruip
Copy link

@antw is this a problem still?

@antw antw removed their assignment Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants