You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,12 @@ Classify the change according to the following categories:
23
23
### Deprecated
24
24
### Removed
25
25
26
+
## v0.32.3
27
+
### Fixed
28
+
- Calculate **num_battery_bins** default in `backup_reliability.jl` based on battery duration to prevent significant discretization error (and add test)
29
+
- Account for battery (dis)charge efficiency after capping power in/out in `battery_bin_shift()`
30
+
- Remove _try__catch_ in `backup_reliability(d::Dict, p::REoptInputs, r::Dict)` so can see where error was thrown
31
+
26
32
## v0.32.2
27
33
### Fixed
28
34
- Fixed bug in multiple PVs pv_to_location dictionary creation.
@@ -815,7 +816,7 @@ Return a dictionary of inputs required for backup reliability calculations.
815
816
-generator_mean_time_to_failure::Real = 1100 Average number of time steps between a generator's failures. 1/(failure to run probability).
816
817
-num_generators::Int = 1 Number of generators. Will be determined by code if set to 0 and gen capacity > 0.1
817
818
-generator_size_kw::Real = 0.0 Backup generator capacity. Will be determined by REopt optimization if set less than 0.1
818
-
-num_battery_bins::Int = 101Internal value for discretely modeling battery state of charge
819
+
-num_battery_bins::Int Number of bins for discretely modeling battery state of charge
819
820
-max_outage_duration::Int = 96 Maximum outage time step modeled
820
821
-microgrid_only::Bool = false Boolean to specify if only microgrid upgraded technologies run during grid outage
821
822
-battery_minimum_soc_fraction::Real = 0.0 The minimum battery state of charge (represented as a fraction) allowed during outages.
@@ -933,7 +934,7 @@ Return a dictionary of inputs required for backup reliability calculations.
933
934
-generator_mean_time_to_failure::Real = 1100 Average number of time steps between a generator's failures. 1/(failure to run probability).
934
935
-num_generators::Int = 1 Number of generators. Will be determined by code if set to 0 and gen capacity > 0.1
935
936
-generator_size_kw::Real = 0.0 Backup generator capacity. Will be determined by REopt optimization if set less than 0.1
936
-
-num_battery_bins::Int = 101Internal value for discretely modeling battery state of charge
937
+
-num_battery_bins::Int Number of bins for discretely modeling battery state of charge
937
938
-max_outage_duration::Int = 96 Maximum outage duration modeled
938
939
-fuel_limit:Union{Real, Vector{<:Real}} = 1e9 Amount of fuel available, either by generator type or per generator, depending on fuel_limit_is_per_generator. Change generator_fuel_burn_rate_per_kwh for different fuel efficiencies. Fuel units should be consistent with generator_fuel_intercept_per_hr and generator_fuel_burn_rate_per_kwh.
939
940
-generator_fuel_intercept_per_hr::Union{Real, Vector{<:Real}} = 0.0 Amount of fuel burned each time step while idling. Fuel units should be consistent with fuel_limit and generator_fuel_burn_rate_per_kwh.
@@ -1051,7 +1052,7 @@ Return an array of backup reliability calculations. Inputs can be unpacked from
1051
1052
-generator_mean_time_to_failure::Union{Real, Vector{<:Real}} = 1100 Average number of time steps between a generator's failures. 1/(failure to run probability).
1052
1053
-num_generators::Union{Int, Vector{Int}} = 1 Number of generators
-generator_mean_time_to_failure::Real = 1100 Average number of time steps between a generator's failures. 1/(failure to run probability).
1477
1473
-num_generators::Int = 1 Number of generators. Will be determined by code if set to 0 and gen capacity > 0.1
1478
1474
-generator_size_kw::Real = 0.0 Backup generator capacity. Will be determined by REopt optimization if set less than 0.1
1479
-
-num_battery_bins::Int = 101 Internal value for discretely modeling battery state of charge
1475
+
-num_battery_bins::Int = num_battery_bins_default(r[:battery_size_kw],r[:battery_size_kwh])Number of bins for discretely modeling battery state of charge
1480
1476
-max_outage_duration::Int = 96 Maximum outage duration modeled
1481
1477
1482
1478
"""
@@ -1485,3 +1481,14 @@ function backup_reliability(r::Dict)
0 commit comments