Skip to content

Npa projects#14

Merged
karpdave merged 5 commits intomainfrom
npa_projects
Aug 27, 2025
Merged

Npa projects#14
karpdave merged 5 commits intomainfrom
npa_projects

Conversation

@karpdave
Copy link
Copy Markdown
Contributor

  • Handles cost_inflation, using a single value for all inflation numbers
  • Provides functions for generating npa_projects, including dummy rows that represent scattershot electrification
  • Updates npa_project compute functions to handle the existence of scattershot electrification in the df (N.B.: Maybe should just keep track of these elsewhere instead?)
  • Updates capex_project.py to have a class CapexProject with a to_df() function, for safety (?)
  • Moves relevant helper functions for npa projects dfs into npa_project.py

@karpdave karpdave requested a review from alxsmith August 26, 2025 20:01
@karpdave karpdave linked an issue Aug 26, 2025 that may be closed by this pull request
original_cost: float = field(validator=validators.ge(0.0))
depreciation_lifetime: int = field(validator=validators.ge(1))

def to_df(self) -> pl.DataFrame:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh no, I did a git bad and pushed to main not this branch. So yea absolutely, but this is missing most recent commits

@karpdave karpdave merged commit 919c073 into main Aug 27, 2025
0 of 7 checks passed
@karpdave karpdave deleted the npa_projects branch August 27, 2025 13:52
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.

helpers for generating npa_projects df

2 participants