|
| 1 | +commit c744e0d2feb72d29c86dc7a7a10f038325f52249 |
| 2 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 3 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 4 | + |
| 5 | + Replace switch_mod more selectively to avoid creating "switch_modelel" if the upgrade runs twice. |
| 6 | + |
| 7 | +commit e861893f5b108cf0111f5364ca2e869f01395f0e |
| 8 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 9 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 10 | + |
| 11 | + Upgrade data/modules to 2.0.1 and report changes in modules between versions. |
| 12 | + |
| 13 | +commit 2eeec8e061524602adc2eb2929d91de73f56b8f3 |
| 14 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 15 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 16 | + |
| 17 | + Move --retrieve-cplex-mip-duals capability from hawaii.switch_patch to core model. |
| 18 | + |
| 19 | +commit 874fc9fb2f579d3aa4d8474a770b6ddcf8d6483d |
| 20 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 21 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 22 | + |
| 23 | + Don't define DispatchBaseloadByPeriod for periods when generators are inactive |
| 24 | + |
| 25 | +commit a628f1e95434329745eb7d0104738d8741f9d39b |
| 26 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 27 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 28 | + |
| 29 | + Explain uninitialized variable warnings when saving variable.tab files. |
| 30 | + |
| 31 | +commit 52c6d01a708819b47e89c7061244cf4e3c9a504f |
| 32 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 33 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 34 | + |
| 35 | + Finish introducing balancing.demand_response.iterative and fix Pyomo 5.6 compatibility |
| 36 | + |
| 37 | +commit ff5a2876ccb7741bfe7695ebb201aa3824dd7771 |
| 38 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 39 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 40 | + |
| 41 | + bump version number of example model data to 2.0.1 |
| 42 | + |
| 43 | +commit 095d25b976af2b04b0ec7e452eb0c128c4bea89c |
| 44 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 45 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 46 | + |
| 47 | + Import from pyomo.environ early to avoid masking other modules |
| 48 | + |
| 49 | +commit 7dc5545d9830ca686bb5bc6b242bdc75b9eaf624 |
| 50 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 51 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 52 | + |
| 53 | + Fix bug in reserve calculation for EVs that made models infeasible |
| 54 | + |
| 55 | +commit a844668fca3115e29044690e518a2a94411893d3 |
| 56 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 57 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 58 | + |
| 59 | + Place limits on down-reserves from pumped-storage hydro |
| 60 | + |
| 61 | +commit 7f0b22adc6f967db627d7a7f564d825133318e1c |
| 62 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 63 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 64 | + |
| 65 | + Add --rps-prefer-dist-pv option |
| 66 | + |
| 67 | +commit 6384d0032daf9091d6a6f752fc3575cc8a15daeb |
| 68 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 69 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 70 | + |
| 71 | + Formalize limits on load-shifting between hours |
| 72 | + |
| 73 | +commit 38c87f1d857966820bbd7551eb411c5635fa3e1c |
| 74 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 75 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 76 | + |
| 77 | + Fix cases where 'proj'ect was renamed to 'g'ect |
| 78 | + |
| 79 | +commit 7474b81ca0193832dfeb75851be5ec1c32303b80 |
| 80 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 81 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 82 | + |
| 83 | + Fix Hawaii storage energy cost calculation |
| 84 | + |
| 85 | +commit 995d58b80a654606a7dd79ebaafc45549eadceaa |
| 86 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 87 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 88 | + |
| 89 | + Report total production by energy source in hawaii.save_results |
| 90 | + |
| 91 | + This also adds ad-hoc technologies to production_by_technology.tsv. |
| 92 | + |
| 93 | +commit e76b19c0e35df1e646bf2468ce01cedcd584e6ad |
| 94 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 95 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 96 | + |
| 97 | + Work around infeasible models in hawaii.smooth_dispatch |
| 98 | + |
| 99 | +commit a8a707f6f72376bb366837389bdd715fba663a13 |
| 100 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 101 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 102 | + |
| 103 | + Bug-fix key for smoothing variable |
| 104 | + |
| 105 | +commit d27234dee43c1e9100e056e06d9b4b44b2fc4ab7 |
| 106 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 107 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 108 | + |
| 109 | + Move old quadratic smoothing method to separate module |
| 110 | + |
| 111 | +commit 17e8088f89c057f85e1b3a7ff811ec9f2fbeccbd |
| 112 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 113 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 114 | + |
| 115 | + Minimize changes instead of squared values |
| 116 | + |
| 117 | + hawaii.smooth_dispatch previously smoothed the hourly dispatch profile |
| 118 | + for slack elements (storage, demand response, EVs) by minimizing the sum |
| 119 | + of the squares of the hourly values of these elements. This requires a |
| 120 | + quadratic solver and is difficult to setup with hawaii.ev_advanced, |
| 121 | + which defines EV charging as a convex combination of other decision |
| 122 | + variables. With this commit, we instead switch to minimizing the hour- |
| 123 | + to-hour variation of these variables (actually the total upward |
| 124 | + variation over the study period), which is linear, faster to solve, and |
| 125 | + works about as well. |
| 126 | + |
| 127 | +commit 9d8a903ca0f8915ec224634cd13005bc8b654b88 |
| 128 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 129 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 130 | + |
| 131 | + Disaggregate hourly dispatch by non-fuel technologies in hawaii.save_results |
| 132 | + |
| 133 | +commit c5b692f0ac7370cf63177763b23b35c3c2711626 |
| 134 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 135 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 136 | + |
| 137 | + Move indexed sets from hawaii.switch_patch to main codebase |
| 138 | + |
| 139 | +commit bee83f9303692c72d49620dac25e5a92f70f6f54 |
| 140 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 141 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 142 | + |
| 143 | + Miscellaneous bug-fixes and tweaks |
| 144 | + |
| 145 | + - rename gen_cap.txt to gen_cap.tab and sort rows if requested |
| 146 | + - calculate spinning reserves from EVs correctly in the |
| 147 | + hawaii.ev_advanced module |
| 148 | + - turn off the must-run requirement in hawaii.kalaeloa when RPS or EV |
| 149 | + share is above 75% |
| 150 | + - drop support for nominal-dollar fuel price forecasts in |
| 151 | + hawaii.scenario_data |
| 152 | + - add --no-post-solve option |
| 153 | + - improve description of prior solution file |
| 154 | + |
| 155 | +commit 3039c8014f7015a552cc65195f949894de9cad0f |
| 156 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 157 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 158 | + |
| 159 | + Smooth ChargeEVs even when it is an Expression |
| 160 | + |
| 161 | + The hawaii.ev_advanced module constructs ChargeEVs as a weighted sum of |
| 162 | + several possible charging profiles. If this is squared and added to the |
| 163 | + smoothing objective, it makes the model non-positive-definite, so cplex |
| 164 | + won't solve it. This code instead smoothes a helper variable |
| 165 | + ChargeEVsVar that is bound to ChargeEVs. This commit also refactors the |
| 166 | + smoothing code to make it a little DRYer. |
| 167 | + |
| 168 | +commit 95794d716e3db80aaa8cd4025c626a8498c8f9d5 |
| 169 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 170 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 171 | + |
| 172 | + Patch Pyomo to accelerate reloading prior solution |
| 173 | + |
| 174 | + Pyomo 5.1.1 (and probably other versions) is very slow to load prior |
| 175 | + solutions because it does a full-component search for each component |
| 176 | + name as it assigns the data. This creates a delay that is quadratic in |
| 177 | + model size, so reloading solutions takes longer than solving the model |
| 178 | + from scratch. |
| 179 | + |
| 180 | + This code monkey-patches a few lines (!) of |
| 181 | + pyomo.core.base.PyomoModel.ModelSolutions.add_solution to use Pyomo's |
| 182 | + built-in caching system for component names. This makes |
| 183 | + --load-prior-solution fast enough to use for practical work. This is a |
| 184 | + pretty extreme approach, but there doesn't seem to be another way short |
| 185 | + of writing our own model-reload code. |
| 186 | + |
| 187 | + TODO: create a pull request for Pyomo to do this |
| 188 | + |
| 189 | +commit 535106d408e8b6c7f47b3d4fed4fd25031fd2735 |
| 190 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 191 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 192 | + |
| 193 | + Test presence of Python argument parsing bug |
| 194 | + |
| 195 | + This gives an explicit test of whether the list-argument parsing bug |
| 196 | + still applies to the current version of Python, and disables the warning |
| 197 | + if not needed. This also documents the bug better so future developers |
| 198 | + can remove the warning when no longer needed. |
| 199 | + |
| 200 | +commit 57ecb68ba1fe06a5cda139784c4d1c6b6db2a7a8 |
| 201 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 202 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 203 | + |
| 204 | + Move save_results to core and post_solve on reload |
| 205 | + |
| 206 | + It is sometimes necessary to reload models to run new post_solve code, |
| 207 | + e.g., if new outputs are defined after time-consuming models have |
| 208 | + already been run. Previously, --reload-prior-solution just reloaded |
| 209 | + the model and dumped the user into an interactive prompt, with no easy |
| 210 | + way to run module code. |
| 211 | + |
| 212 | + This commit changes the behavior of --reload-prior-solution, so that it |
| 213 | + now acts like an exact alternative to re-running the model, i.e., if the |
| 214 | + user specifies --reload-prior-solution, we reload the solution, then run |
| 215 | + the normal post-solve code, and don't drop to an interactive prompt |
| 216 | + unless they also specify --interact. |
| 217 | + |
| 218 | + Since this behavior is now central to the use of the model rather than |
| 219 | + a quasi-reporting behavior, this commit also moves save_results() back |
| 220 | + from switch_model.reporting to switch_model.solve. |
| 221 | + |
| 222 | + This commit also adds a --no-save-solution flag to disable automatic |
| 223 | + solution- saving, which is helpful for models that will be solved |
| 224 | + repeatedly and don't need to be reloaded. |
| 225 | + |
| 226 | +commit 30df74cf08fbed93d76b1385c9b17ca6ea08e870 |
| 227 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 228 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 229 | + |
| 230 | + Add --quiet and --no-stream-solver arguments to cancel --verbose and --stream-solver |
| 231 | + |
| 232 | +commit 7159ac884bb13619ff53ab948646845d3b624368 |
| 233 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 234 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 235 | + |
| 236 | + Merge repeated calls to --include-module(s), --exclude-module(s), --save-expression(s), --suffix(es) or --scenario(s) |
| 237 | + |
| 238 | +commit 6919e7cc88cce0f025e72b2eb11f72180aa9618e |
| 239 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 240 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 241 | + |
| 242 | + Restart interrupted scenarios with the same --job-id argument or SWITCH_JOB_ID environment variable. |
| 243 | + |
| 244 | +commit 1d89c84583d72ce8b8b5a03987742eb743e0a535 |
| 245 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 246 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 247 | + |
| 248 | + Carry --no-hydrogen argument through to load_inputs |
| 249 | + |
| 250 | +commit 55614ccd928ba85621bcd94f0c7f7c4e6e45cbbe |
| 251 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 252 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 253 | + |
| 254 | + Allow deactivation of hydrogen module via --no-hydrogen flag |
| 255 | + |
| 256 | +commit 2177a3d239a20ec00e8f7cc67f9fd0e3b72b2659 |
| 257 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 258 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 259 | + |
| 260 | + Report models with solver warnings and use valid solutions if available |
| 261 | + |
| 262 | +commit 5cf309ea7d0b311d21c2014f324e8043ccd921d8 |
| 263 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 264 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 265 | + |
| 266 | + Improve detection of missing tech_scen_id in back-end database. |
| 267 | + |
| 268 | +commit 53f447687279323ea9cc69a6f663dfd18ebe8c25 |
| 269 | +Author: Matthias Fripp <mfripp@hawaii.edu> |
| 270 | +Commit: Matthias Fripp <mfripp@hawaii.edu> |
| 271 | + |
| 272 | + Start 2.0.1 branch; calculate ev emissions in hawaii.ev_advanced; add --save-expression[s] flag to allow saving of expressions (or params, undocumented) |
0 commit comments