Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
553742e
create battery model files for including degradation
jaredthomas68 May 28, 2026
bdcfcc2
spelling correction
jaredthomas68 May 28, 2026
3c48f03
make solar resource data available to the battery performance model
jaredthomas68 May 28, 2026
f62b25f
add doc string comment
jaredthomas68 May 28, 2026
37b813a
use plm example 33 for degradation instead of example 24
jaredthomas68 May 29, 2026
060891a
Merge branch 'develop' into batt-deg
jaredthomas68 Jun 4, 2026
185c6d6
add performance param example
jaredthomas68 Jun 4, 2026
fd86452
add battery auxiliary power output
jaredthomas68 Jun 12, 2026
33ddd07
add commented code for assigning auxiliary power
jaredthomas68 Jun 12, 2026
a995e86
Merge branch 'develop' into batt-deg
jaredthomas68 Jun 24, 2026
de6e0fb
Merge branch 'develop' into batt-deg
jaredthomas68 Jul 14, 2026
879221f
wip: integrate simses
jaredthomas68 Jul 15, 2026
f4a23b9
progress towards revised approach
jaredthomas68 Jul 17, 2026
77c8310
including batt deg example
jaredthomas68 Jul 20, 2026
89a11a2
Merge branch 'develop' into batt-deg
jaredthomas68 Aug 7, 2026
4533faf
Merge branch 'develop' into batt-deg
jaredthomas68 Aug 12, 2026
f3c380a
update with converter
jaredthomas68 Aug 13, 2026
dcf89cb
working example running battery degradation in h2i interface
jaredthomas68 Aug 14, 2026
9353e5f
recreate full script study by Ankit in H2I
jaredthomas68 Aug 14, 2026
9356b9c
framework changes to allow for non-annual simulation
jaredthomas68 Aug 14, 2026
2ba40b6
h2i files for running the example
jaredthomas68 Aug 14, 2026
4d77762
expose all model inputs in example tech config
jaredthomas68 Aug 14, 2026
7e93b02
update pyproject.toml
jaredthomas68 Aug 14, 2026
dec7c79
Merge branch 'develop' into batt-deg
jaredthomas68 Aug 14, 2026
99c9c7a
Merge branch 'develop' into batt-deg
jaredthomas68 Aug 14, 2026
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
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: h2integrate
channels: [conda-forge, defaults]
dependencies:
- python=3.11
- python=3.13
- glpk
- coin-or-cbc>=2.10.12
# - wisdem # NOTE: uncomment if installing with Ard
Expand Down
10 changes: 10 additions & 0 deletions examples/33_peak_load_management/plant_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,24 @@ name: plant_config
description: Demonstrates multivariable streams with a gas combiner
plant:
plant_life: 30
latitude: 30.6617
longitude: -101.7096
simulation:
n_timesteps: 8760
dt: 3600
timezone: -6
start_time: 2025/07/01 00:00:00
resources:
solar_resource:
resource_model: GOESAggregatedSolarAPI
resource_parameters:
resource_year: 2025
technology_interconnections:
- [grid_buy, battery, electricity, cable]
# include battery charge/discharge in the load
- [battery, electrical_load_demand, [electricity_out, electricity_in]]
# buy power from the grid to fulfill demand including to accommodate battery operation
- [electrical_load_demand, grid_buy, [unmet_electricity_demand_out, electricity_set_point]]
resource_to_tech_connections:
# connect the solar resource to the battery technology
- [site.solar_resource, battery, solar_resource_data]
5 changes: 4 additions & 1 deletion examples/33_peak_load_management/tech_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: This plant charges a battery from the grid to reduce peak demand
technologies:
battery:
performance_model:
model: StoragePerformanceModel
model: BatteryPerformanceModel
cost_model:
model: ATBBatteryCostModel
control_strategy:
Expand All @@ -22,6 +22,9 @@ technologies:
charge_efficiency: 1.0 # percent as decimal
discharge_efficiency: 1.0 # percent as decimal
demand_profile: !include demand_profiles/demand_profile.yaml
performance_parameters:
cop: 0.3
# TODO: add remaining performance parameters here
control_parameters:
demand_profile_upstream: !include demand_profiles/demand_profile_upstream.yaml # demand used to define when the supervisor commands battery dispatch. This may represent an upstream load.
dispatch_priority_demand_profile: demand_profile_upstream # demand profile the controller prioritizes when deciding dispatch
Expand Down
5 changes: 5 additions & 0 deletions examples/98_battery_degradation/98_battery_degradation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: H2Integrate_config
system_summary: Battery degradation study driven by a fixed daily charge/discharge cycle
driver_config: driver_config.yaml
technology_config: tech_config.yaml
plant_config: plant_config.yaml
5 changes: 5 additions & 0 deletions examples/98_battery_degradation/driver_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: driver_config
description: Driver configuration for the battery degradation example
general:
folder_output: outputs
create_om_reports: false
50 changes: 50 additions & 0 deletions examples/98_battery_degradation/plant_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: plant_config
description: >
Single-battery plant used to exercise the SimSES-backed BatteryPerformanceModel
over a long horizon for degradation analysis. The battery is driven directly by a
set-point profile (no generation or demand technologies are connected).
plant:
plant_life: 30
simulation:
# 15-year degradation study at 15-min resolution (matches the partner reference
# script): 15 years * 365 days * 96 steps/day = 525600 steps. n_timesteps * dt may
# cover any horizon up to plant_life years.
n_timesteps: 525600
dt: 900
finance_parameters:
finance_groups:
profast_model:
commodity: electricity
finance_model: ProFastLCO
model_inputs:
params:
analysis_start_year: 2025
installation_time: 12
inflation_rate: 0.025
discount_rate: 0.09
debt_equity_ratio: 2.62
property_tax_and_insurance: 0.015
total_income_tax_rate: 0.257
capital_gains_tax_rate: 0.15
sales_tax_rate: 0.045
debt_interest_rate: 0.06
debt_type: Revolving debt
loan_period_if_used: 0
cash_onhand_months: 1
admin_expense: 0.01
capital_items:
depr_type: MACRS
depr_period: 5
refurb: [0.]
cost_adjustment_parameters:
cost_year_adjustment_inflation: 0.025
target_dollar_year: 2022
finance_subgroups:
# The battery is the sole technology and the commodity stream: its per-year
# (degradation-aware) capacity factor drives the ProFAST cash-flow / LCOE analysis
# over the full 30-year plant life.
battery:
commodity: electricity
commodity_stream: battery
finance_groups: [profast_model]
technologies: [battery]
Loading
Loading