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

Dev #25

Merged
merged 2 commits into from
Jul 10, 2024
Merged

Dev #25

merged 2 commits into from
Jul 10, 2024

Conversation

Zhanwei-Liu
Copy link
Collaborator

No description provided.

Zhanwei-Liu and others added 2 commits July 4, 2024 10:11
- Categorize constraint definitions based on type (co2, cost, demand, generation, hydro, investment, nondispatchable, storage, transmission) for better organization.
- Split `rule.py` class into serveral smaller, focused classes according to categorized constraint definitions.
- Simplify model by replacing intermediate constraints with direct expressions.
- Extract new modules `solver.py`, `output_data.py`, and `set_up.py` from `run.py` and `utils.py`
- Move `parameters.py` into `set_up.py`

This improves readability and maintainability of the codebase.
@Zhanwei-Liu Zhanwei-Liu merged commit ae3a783 into main Jul 10, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant