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
+7-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,13 @@ Classify the change according to the following categories:
23
23
### Deprecated
24
24
### Removed
25
25
26
-
## v. 0.46.0
26
+
## v0.46.1
27
+
### Changed
28
+
- Updated the GHP testset .json `./test/scenarios/ghp_inputs.json` to include a nominal HotThermalStorage and ColdThermalStorage system.
29
+
### Fixed
30
+
- Fixed a bug in which the model fails to build when both GHP and either Hot or Cold Thermal Storage are present.
31
+
32
+
## v.0.46.0
27
33
### Added
28
34
- In `src/core/absorption_chiller.jl` struct, added field **heating_load_input** to the AbsorptionChiller struct
29
35
- Added new variables **dvHeatToStorage** and **dvHeatFromStorage** which are indexed on `p.heating_loads` and added reconciliation constraints so that **dvProductionToStorage** and **dvDischargeFromStorage** maintain their relationship to state of charge for Hot thermal energy storage.
@constraint(m, [t insetdiff(p.heating_techs, p.techs_can_serve_process_heat), ts in p.time_steps], m[:dvHeatToStorage][b,"ProcessHeat",ts] ==0)
229
+
@constraint(m, [t insetdiff(p.heating_techs, p.techs_can_serve_process_heat), ts in p.time_steps], m[:dvHeatToStorage][b,t,"ProcessHeat",ts] ==0)
230
230
else
231
-
@constraint(m, [t in p.heating_techs, ts in p.time_steps], m[:dvHeatToStorage][b,"ProcessHeat",ts] ==0)
231
+
@constraint(m, [t in p.heating_techs, ts in p.time_steps], m[:dvHeatToStorage][b,t,"ProcessHeat",ts] ==0)
232
232
end
233
233
end
234
234
else
@@ -584,7 +584,7 @@ function add_variables!(m::JuMP.AbstractModel, p::REoptInputs)
584
584
dvGridPurchase[p.time_steps, 1:p.s.electric_tariff.n_energy_tiers] >=0# Power from grid dispatched to meet electrical load [kW]
585
585
dvRatedProduction[p.techs.all, p.time_steps] >=0# Rated production of technology t [kW]
586
586
dvCurtail[p.techs.all, p.time_steps] >=0# [kW]
587
-
dvProductionToStorage[p.s.storage.types.all, p.techs.all, p.time_steps] >=0# Power from technology t used to charge storage system b [kW]
587
+
dvProductionToStorage[p.s.storage.types.all, union(p.techs.ghp,p.techs.all), p.time_steps] >=0# Power from technology t used to charge storage system b [kW]
588
588
dvDischargeFromStorage[p.s.storage.types.all, p.time_steps] >=0# Power discharged from storage system b [kW]
589
589
dvGridToStorage[p.s.storage.types.elec, p.time_steps] >=0# Electrical power delivered to storage by the grid [kW]
590
590
dvStoredEnergy[p.s.storage.types.all, 0:p.time_steps[end]] >=0# State of charge of storage system b
0 commit comments