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
+123-5Lines changed: 123 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
7
## Guidelines
8
-
- When making a Pull Request into `develop` start a new double-hash header for "Develop - YYYY-MM-DD"
8
+
- When working in feature branch, start a new double-hash header with the name of the branch and record changes under that
9
+
- When merging `develop` into a feature branch, keep the feature branch section and the "Develop" section separate to simplify merge conflicts
10
+
- When making a Pull Request into `develop`, merge the feature branch section into the "Develop" section (if it exists), else rename the feature branch header to "Develop"
9
11
- When making a Pull Request into `master` change "Develop" to the next version number
10
12
11
13
### Formatting
@@ -23,16 +25,132 @@ Classify the change according to the following categories:
23
25
### Deprecated
24
26
### Removed
25
27
26
-
## Develop 2024-08-19
28
+
29
+
## fix-pbi
30
+
### Fixed
31
+
- Fix implementation of production-based incentives
32
+
### Added
33
+
- Added the fields `production_incentive_per_kwh`, `production_incentive_max_benefit`, `production_incentive_years`, and `production_incentive_max_kw` to the **SteamTurbine** struct.
34
+
35
+
## v0.51.1
36
+
### Added
37
+
- Added the following output fields: `year_one_fuel_cost_after_tax` for `ExistingBoiler`, `CHP`, `Generator`, and `Boiler`; `ElectricTariff`: `year_one_bill_after_tax` and `year_one_export_benefit_after_tax`, `Financial`: `capital_costs_after_non_discounted_incentives`, `year_one_total_operating_cost_savings_before_tax`, `year_one_total_operating_cost_savings_after_tax`, `year_one_total_operating_cost_before_tax`, `year_one_total_operating_cost_after_tax`, `year_one_fuel_cost_before_tax`, `year_one_fuel_cost_after_tax`, `year_one_chp_standby_cost_after_tax`, `year_one_chp_standby_cost_after_tax`, `GHP.avoided_capex_by_ghp_present_value`
38
+
- Add a warning so that when **SteamTurbine** is included, renewable energy fractions may not be accurate.
39
+
- Added new attribute **fuel_renewable_energy_fraction** to the technology **Boiler**.
40
+
### Changed
41
+
- Updated and fixed some `docs` pages: improved setup, using HiGHS solver, fixed docstrings
42
+
- Changed the name of the following output fields: `Financial.capital_costs_after_incentives_without_macrs` to `Financial.capital_costs_after_non_discounted_incentives_without_macrs`
43
+
### Fixed
44
+
- Update the **REoptInputs** parameter **tech_renewable_energy_fraction** so that only electricity-producing and fuel-burning heating technologies are included (instead of all technologies).
45
+
- Included the following in the `Financial.lifecycle_capital_costs` and `Financial.initial_capital_costs`: `m[Symbol("OffgridOtherCapexAfterDepr"*_n)] - m[Symbol("AvoidedCapexByGHP"*_n)] - m[Symbol("ResidualGHXCapCost"*_n)] - m[Symbol("AvoidedCapexByASHP"*_n)]`
46
+
47
+
## v0.51.0
48
+
### Added
49
+
- Add the following inputs to account for the clean or renewable energy fraction of grid-purchased electricity:
50
+
-**ElectricUtility****cambium_cef_metric** to utilize clean energy data from NREL's Cambium database
51
+
-**ElectricUtility****renewable_energy_fraction_series** to supply a custom grid clean or renewable energy scalar or series
52
+
-**Site****include_grid_renewable_fraction_in_RE_constraints** - to allow user to choose whether to include grid RE in min max constraints
-**ElectricLoad****annual_electric_load_with_thermal_conversions_kwh** which calculates end-use electrical load after including electric consumption by heaters and chillers
58
+
- Add input option **optimize_soc_init_fraction** (defaults to false) to **ElectricStorage**, which makes the optimization choose the inital SOC (equal to final SOC) instead of using soc_init_fraction. The initial SOC is also constrained to equal the final SOC, which eliminates the "free energy" issue. We currently do not fix SOC when soc_init_fraction is used because this has caused infeasibility.
59
+
### Changed
60
+
- Change name of the following inputs:
61
+
-**ElectricUtility** input **cambium_metric_col** changed to **cambium_co2_metric**
62
+
- Change name of the following outputs:
63
+
-**ElectricUtility****cambium_emissions_region** changed to **cambium_region**
64
+
-**Site****annual_renewable_electricity_kwh** changed to **annual_onsite_renewable_electricity_kwh**
65
+
-**Site****renewable_electricity_fraction** changed to **onsite_renewable_electricity_fraction_of_elec_load**
66
+
-**Site****total_renewable_energy_fraction** changed to **onsite_renewable_energy_fraction_of_total_load**
67
+
- Change name of function (also available as endpoint through REopt API) from **cambium_emissions_profile** to **cambium_profile**
68
+
- Update AVERT emissions data to v4.3, which uses Regional Data Files for year 2023 for CONUS. For Alaska and Hawaii (regions AKGD, HIMS, HIOA), updated eGRID data to eGRID2022 datafile, adjusted to CO2e values. Emissions profiles are saved in `data/emissions/AVERT_Data`.
69
+
- Update Cambium API call for CO2e emissions within CONUS to Cambium 2023 dataset. This includes updates to the default values and valid options for the following **ElectricUtility** inputs: **cambium_scenario**, **cambium_location_type**, and **cambium_start_year**
70
+
- Update EMISSIONS_DECREASE_DEFAULTS from 0.02163 to 0.0459 based on Cambium 2023 data
71
+
- Update Julia version
72
+
### Fixed
73
+
- Make **ElectricTariff****export_rate_beyond_net_metering_limit** and **wholesale_rate** with sub-hour time step work
74
+
- Update the expression `m[:AnnualEleckWh]` to include electrified thermal loads
75
+
- Update expressions `m[:AnnualREHeatkWh]` and `m[:AnnualHeatkWh]` so that only non-electrified thermal loads are included and storage losses are proportional to the contribution of fuel-burning technologies to charging storage
76
+
77
+
## v0.50.0
78
+
### Added
79
+
- New parameter `force_dispatch` in the **ASHPSpaceHeater** and **ASHPWaterHeater** technologies (default = `true`). When kept at `true`, the ASHP's thermal output will be the minimum of the site load(s) served and the system size (adjusted for timestep-specific capacity factor) in each period. If set to `false`, ASHP will do economic dispatch considering COP and CF along with electricity prices.
80
+
### Fixed
81
+
- Align heating and cooling load profiles based on electric load year input, if using custom electric load profile with simulated (CRB or schedule-based flatloads) heating/cooling loads
82
+
- Handling of leap years for `ElectricLoad.loads_kw` inputs to align with URDB rate structures
83
+
### Changed
84
+
- Make `year` input required with any custom load profile input (e.g. `ElectricLoad.loads_kw`, `SpaceHeatingLoad.fuel_loads_mmbtu_per_hour`)
85
+
- Shift and adjust CRB load profiles (i.e. with `doe_reference_name` input) based on the `year` input
86
+
87
+
88
+
## v0.49.1
89
+
### Changed
90
+
- Swap an error for a warning with inconsistent load-year between electric and heating
91
+
92
+
## v0.49.0
93
+
### Added
94
+
- Ability to normalize and scale a custom load profile input to annual or monthly energy input values, for all load types
95
+
### Changed
96
+
- Internal refactoring of the three types of heating loads into a single `HeatingLoad` struct
97
+
- Moved the annual_[energy] data from the load src files into the /data/load_profiles folder
98
+
### Fixed
99
+
- Constrained export to grid in the NEM bin (`dvProductionToGrid"*_n)][t, :NEM, ts`) to be 0 when system is sized over NEM limit (i.e., when binNEM =0)
100
+
101
+
## v0.48.2
102
+
### Added
103
+
- Battery residual value if choosing replacement strategy for degradation
104
+
- Add new **ElectricStorage** parameters **max_duration_hours** and **min_duration_hours** to bound the energy duration of battery storage
105
+
### Changed
106
+
- Revised the battery degradation model, refactoring some methods to increase model-building efficiency and reformulating indicator constraints as big-M constraints with smaller big-M's to reduce solve time.
107
+
- Edited several documentation entries and docstrings for clarity.
108
+
### Removed
109
+
- 80% scaling of battery maintenance costs when using augmentation strategy
110
+
### Fixed
111
+
- Fixed conditions for which a warning is presented indicating that the wholesale benefit threshold is met.
112
+
- When setting **thermal_production_series_mmbtu_per_hour** output in **ExistingBoiler**, sum over heating loads instead of time steps
113
+
114
+
## v0.48.1
115
+
### Changed
116
+
- Replace all `1/p.s.settings.time_steps_per_hour` with `p.hours_per_time_step` for simplicity/consistency
117
+
- Rename function `add_storage_sum_constraints` to `add_storage_sum_grid_constraints` for clarity
118
+
### Added
119
+
- Constraints to prevent simultaneous charge/discharge of storage
120
+
- Specify in docstrings that **PV****max_kw** and **size_kw** are kW-DC
121
+
- Add the Logging package to `test/Project.toml` because it is used in `runtests.jl`
122
+
### Fixed
123
+
- Force **ElectricLoad****critical_load_kw** to be _nothing_ when **off_grid_flag** is _true_ (**critical_load_fraction** was already being forced to 1, but the user was still able to get around this by providing **critical_load_kw**)
124
+
- Removed looping over storage name in functions `add_hot_thermal_storage_dispatch_constraints` and `add_cold_thermal_storage_dispatch_constraints` because this loop is already done when calling these functions and storage name is passed in as argument `b`
125
+
- Remove extraneous line of code in `results/wind.jl`
126
+
- Change type of **value_of_lost_load** in **FinancialInputs** struct to fix convert error when user provides an _Int_
127
+
- Change international location in "Solar Dataset" test set from Cameroon to Oulu because the locations in the NSRDB have been expanded significantly so there is now an NSRDB point at Cameroon
128
+
- Handle edge case where the values of **outage_start_time_steps** and **outage_durations** makes an outage extend beyond the end of the year. The outage will now wrap around to the beginning of the year.
129
+
- Enforce minimum allowable sizes for ASHP technologies by introducing improved big-M values for segmented size constraints.
130
+
- Removed default values from ASHP functions that calculate minimum allowable size and performance.
131
+
132
+
## v0.48.0
27
133
### Added
28
134
- Added new file `src/core/ASHP.jl` with new technology **ASHP**, which uses electricity as input and provides heating and/or cooling as output; load balancing and technology-specific constraints have been updated and added accordingly
29
135
- In `src/core/existing_chiller.jl`, Added new atttribute **retire_in_optimal** to the **ExistingChiller** struct
136
+
- Financial output **initial_capital_costs_after_incentives_without_macrs** which has "net year one" CapEx after incentives except for MACRS, which helps with users defining their own "simple payback period"
30
137
31
138
### Changed
32
-
- Improve the full test suite reporting with a verbose summary table, and update the structure to reflect long-term open-source solver usage
33
-
- Removed MacOS from the runner list and just run with Windows OS, since MacOS commonly freezes and gets cancelled. We have not seen Windows OS pass while other OS's fail. .
34
-
- Suppress JuMP warning messages from 15-minute and multiple PVs test scenarios to avoid flooding the test logs with those warnings
139
+
- Improve the full test suite reporting with a verbose summary table, and update the structure to reflect long-term open-source solver usage.
140
+
- Removed MacOS from the runner list and just run with Windows OS, since MacOS commonly freezes and gets cancelled. We have not seen Windows OS pass while other OS's fail.
141
+
- Suppress JuMP warning messages from 15-minute and multiple PVs test scenarios to avoid flooding the test logs with those warnings.
35
142
- Updated/specified User-Agent header of "REopt.jl" for PVWatts and Wind Toolkit API requests; default before was "HTTP.jl"; this allows specific tracking of REopt.jl usage which call PVWatts and Wind Toolkit through api.data.gov.
143
+
- Improves DRY coding by replacing multiple instances of the same chunks of code for MACRS deprecation and CHP capital cost into functions that are now in financial.jl.
144
+
- Simplifies the CHP sizing test to avoid a ~30 minute solve time, by avoiding the fuel burn y-intercept binaries which come with differences between full-load and part-load efficiency.
145
+
- For third party analysis proforma.jl metrics, O&M cost for existing Generator is now kept with offtaker, not the owner/developer
146
+
### Fixed
147
+
- Proforma calcs including "simple" payback and IRR for thermal techs/scenarios.
148
+
- The operating costs of fuel and O&M were missing for all thermal techs such as ExistingBoiler, CHP, and others; this adds those sections of code to properly calculate the operating costs.
149
+
- Added a test to validate the simple payback calculation with CHP (and ExistingBoiler) and checks the REopt result value against a spreadsheet proforma calculation (see Bill's spreadsheet).
150
+
- Added a couple of missing techs for the initial capital cost calculation in financial.jl.
151
+
- An issue with setup_boiler_inputs in reopt_inputs.jl.
152
+
- Fuel costs in proforma.jl were not consistent with the optimization costs, so that was corrected so that they are only added to the offtaker cashflows and not the owner/developer cashflows for third party.
0 commit comments