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

Clean parse_lombardi; Rename model config dir #18

Merged
merged 4 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/examples/stationary.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
# %% [markdown]
# ### Assessing the input data
#
# The model can be configured by running the script in `src/calliope_pathways/models/italy_stationary/pre_processing/parse_lombardi.py`.
# The model can be configured by running the script in `src/calliope_pathways/models/italy/pre_processing/parse_lombardi.py`.
# It automatically assigns random decommission rates for each technology, accounting for their lifetimes.
# The number of `vintagesteps` and `investsteps` can be similarly altered.
# The number of `vintagesteps` and `investsteps` can be altered when calling the model (e.g., `:::python calliope_pathways.models.italy(first_year=2030, investstep_resolution=10)`).

# %%
model.inputs.investsteps
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ where = ["src"]
include = ["calliope_pathways*"]

[tool.setuptools.package-data]
calliope_pathways = ["models/**/*", "math/*", "config/*", "py.typed"]
calliope_pathways = ["model_configs/**/*", "math/*", "config/*", "py.typed"]

[tool.setuptools]
license-files = ["LICENSE"]
Expand Down
3 changes: 3 additions & 0 deletions src/calliope_pathways/model_configs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from calliope_pathways.model_configs.italy_stationary.pre_processing import (
parse_lombardi,
)
Loading
Loading