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

Refactoring - Easy Top Level Structure for all sectors #294

Open
9 of 20 tasks
Jeniffere opened this issue Sep 26, 2022 · 0 comments
Open
9 of 20 tasks

Refactoring - Easy Top Level Structure for all sectors #294

Jeniffere opened this issue Sep 26, 2022 · 0 comments
Assignees

Comments

@Jeniffere
Copy link
Collaborator

Jeniffere commented Sep 26, 2022

The init function of every sector should look like this:

energy consuming sectors:

production = energy_demand.calc_production(inputs)
supply = energy_source.calc_supply(inputs)

energy producing sectors:

demand = energy_demand.calc_demand(inputs)
production = energy_production.calc_production(inputs)

The implementing function code and dataclasses should be put into the subfolders:

energy consuming sectors: energy_demand, energy_source

energy producing sectors: energy_demand, energy_production

If it is necessary, you can add energy_general


Current progress:

  • agri2018
  • agri2030
  • business2018
  • business2030
  • electricity2018
  • electricity2030
  • fuels2018
  • fuels2030
  • heat2018
  • heat2030
  • industry2018
  • industry2030
  • lulucf2018
  • lulucf2030
  • residences2018
  • residences2030
  • transport2018
  • transport2030
  • waste2018
  • waste2030
@Jeniffere Jeniffere self-assigned this Sep 26, 2022
@Jeniffere Jeniffere changed the title Refactoring - Easy Top Level Structure Refactoring - Easy Top Level Structure for all sectors Sep 26, 2022
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