Repository navigation
Battery model with thermal modeling and degradation - #937
Draft
jaredthomas68 wants to merge 59 commits into
Draft
jaredthomas68 wants to merge 59 commits into
jaredthomas68 wants to merge 59 commits into
Conversation
Co-authored-by: verank <9517606+verank@users.noreply.github.com>
jaredthomas68
added this pull request to stack #935
October 15, 2026 16:42
| (simses-battery-performance)= | ||
| # SimSES Battery Model | ||
|
|
||
| H2Integrate's `SimSESBatteryPerformanceModel` wraps the stateful battery and converter models from [SimSES](https://github.com/SimSES/SimSES). It adds H2I integration for container thermal behavior, HVAC control, ambient solar-resource data, safety interlocks, and battery degradation. |
Collaborator
There was a problem hiding this comment.
FYI, the github link to SimSES does not work.
Collaborator
Author
There was a problem hiding this comment.
Good catch, thank you! I just updated it.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SimSES Battery Performance Model with Degradation
This PR adds
SimSESBatteryPerformanceModel, an H2Integrate storage model built around SimSES’s stateful battery and converter. H2I adds calendar and cyclic degradation, container thermal dynamics, HVAC control, solar heat gain, battery-temperature interlocks, and a stateful simulation callback for Pyomo dispatch windows.Example 38 demonstrates the model with a two-year, 15-minute simulation and a 24-hour optimized-controller horizon. The controller applies Exclusive Control Months during December through March and bill minimization in other months. An electricity feedstock provides charging availability. The default horizon is two years because longer examples run too slowly for routine use.
The package minimum is raised to Python 3.12 to satisfy SimSES 2.1.1.
Type of Contribution
Draft PR Checklist
TODO
Type of Reviewer Feedback Requested (on Draft PR)
Structural feedback: Review the separation between the SimSES model, H2I thermal/HVAC additions, and storage-controller callback.
Implementation feedback: Review the degradation scaling, thermal assumptions, Exclusive Control Month setup, and projected versus physical EOL replacement behavior.
Other feedback: Confirm the Example 38 feedstock-only setup and its synthetic LMP and demand profiles are appropriate.
General PR Checklist
CHANGELOG.mdRelated Issues
N/A
Impacted Areas of the Software
New Files
h2integrate/storage/battery/battery_with_degradation/simses_battery.pySimSESBatteryPerformanceModeland its configuration.h2integrate/storage/battery/battery_with_degradation/container.pyh2integrate/storage/battery/battery_with_degradation/test/test_simses_battery.pyexamples/38_battery_degradation/resource_files/solar/Modified Files
h2integrate/storage/battery/__init__.pyandh2integrate/storage/battery/battery_with_degradation/__init__.pyh2integrate/control/control_strategies/storage/plm_optimized_storage_controller.pyh2integrate/feedstocks/feedstocks.pyand storage base classesexamples/33_peak_load_management_heuristics/plm_storage/examples/test/test_all_examples.pydocs/_toc.ymland storage documentation indexpyproject.toml,.github/workflows/,.readthedocs.yaml, andenvironment.ymlAdditional Supporting Information
dt = 900seconds).eol_soh_capacitycurrently drives projected replacement scheduling and finance calculations; it does not physically reset the SimSES state during the run.Test Issues
examples/09_wind_farm_layout_hybriddirectory in this workspace.New Model Checklist
SimSESBatteryPerformanceModelConfigand usesattrs.initialize(),setup(), andcompute()using the storage performance base.test_all_examples.py.docs/_toc.yml.Release checklist
N/A — not a release PR.