Skip to content

Sp/bug fixes - #13

Merged
spodgorny9 merged 6 commits into
mainfrom
sp/bug_fixes
Jun 4, 2026
Merged

Sp/bug fixes#13
spodgorny9 merged 6 commits into
mainfrom
sp/bug_fixes

Conversation

@spodgorny9

@spodgorny9 spodgorny9 commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Return to running on Kestrel: File path and Breakeven bug fixes

Fix files paths to ensure successful running on Kestrel. Temporarily reinstitute breakeven calculation to align with previous results. Calculation will be removed in the near future.

PR Checklist

  • CHANGELOG.md has been updated to describe the changes made in this PR
  • Documentation
    • Docstrings are up-to-date
    • Related docs/ files are up-to-date, or added when necessary
    • Documentation has been rebuilt successfully
    • Examples have been updated
  • Tests pass (If not, and this is expected, please elaborate in the tests section)
  • PR description thoroughly describes the new feature, bug fix, etc.

Release Checklist

  • Not a release

OR

  • dwind/__init__.py::__version__ have updated according to Semantic Versioning
  • CHANGELOG.md has the Unreleased section converted to a release version number and release date
  • The documentation builds successfully and is up to date

Related issues

Impacted areas of the software

  • dwind/valuation.py
    • process_fom: Reincorporate breakeven calculation.
    • process_btm: Reincorporate breakeven calculation.
  • dwind/cli/collect.py - dwind/cli/run.py - dwind/scenarios.py
    • New data paths require passing the model config to different methods.

Additional supporting information

Python version: 3.11
dwind version (dwind.__version__): 0.5.1

@spodgorny9
spodgorny9 requested a review from RHammond2 June 3, 2026 16:42
Comment thread dwind/valuation.py
Comment on lines -1414 to -1424
#out, _ = find_breakeven(
# row=row,
# loan=loan,
# pysam_outputs=pysam_outputs,
# batt_costs=batt_costs,
# method="newton",
# pre_calc_bounds_and_tolerances=False,
# **{"x0": 10000.0, "full_output": True},
#)
#
row["breakeven_cost_usd_p_kw"] = None

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This change and the same for FOM would indicate a minor release (bumping the version by +0.1.0).

Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md

@RHammond2 RHammond2 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks good to me, @spodgorny9. Just be sure to update the version in __init__.py to v0.5. Once merged, the repo can get tagged and released, which I'm happy to walk you through when you're ready.

spodgorny9 and others added 3 commits June 3, 2026 13:29
Co-authored-by: Rob Hammond <13874373+RHammond2@users.noreply.github.com>
Co-authored-by: Rob Hammond <13874373+RHammond2@users.noreply.github.com>
@spodgorny9
spodgorny9 merged commit da6a3e7 into main Jun 4, 2026
1 of 2 checks passed
@spodgorny9
spodgorny9 deleted the sp/bug_fixes branch June 4, 2026 17:39
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.

2 participants