Skip to content

Commit

Permalink
set the same max duration for electric & thermal storage
Browse files Browse the repository at this point in the history
  • Loading branch information
atpham88 committed Oct 11, 2024
1 parent c06cd28 commit cce7714
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/core/energy_storage/electric_storage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ end
degradation::Dict = Dict()
minimum_avg_soc_fraction::Float64 = 0.0
min_duration_hours::Real = 0.0 # Minimum amount of time storage can discharge at its rated power capacity
max_duration_hours::Real = 100000.0 # Maximum amount of time storage can discharge at its rated power capacity (ratio of ElectricStorage size_kwh to size_kw)
max_duration_hours::Real = 1000.0 # Maximum amount of time storage can discharge at its rated power capacity (ratio of ElectricStorage size_kwh to size_kw)
```
"""
Base.@kwdef struct ElectricStorageDefaults
Expand Down Expand Up @@ -201,7 +201,7 @@ Base.@kwdef struct ElectricStorageDefaults
degradation::Dict = Dict()
minimum_avg_soc_fraction::Float64 = 0.0
min_duration_hours::Real = 0.0
max_duration_hours::Real = 100000.0
max_duration_hours::Real = 1000.0
end


Expand Down
4 changes: 2 additions & 2 deletions src/core/energy_storage/thermal_storage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Base.@kwdef struct ColdThermalStorageDefaults <: AbstractThermalStorageDefaults
total_itc_fraction::Float64 = 0.3
total_rebate_per_kwh::Float64 = 0.0
min_duration_hours::Real = 0.0
max_duration_hours::Real = 9999999999.0
max_duration_hours::Real = 1000.0
end


Expand Down Expand Up @@ -89,7 +89,7 @@ Base.@kwdef struct HotThermalStorageDefaults <: AbstractThermalStorageDefaults
can_serve_space_heating::Bool = true
can_serve_process_heat::Bool = false
min_duration_hours::Real = 0.0
max_duration_hours::Real = 9999999999.0
max_duration_hours::Real = 1000.0
end


Expand Down

0 comments on commit cce7714

Please sign in to comment.