Ray Zimmerman

Results 101 comments of Ray Zimmerman

See Section 6.3 and Chapter 7 in the [MATPOWER User's Manual](https://matpower.org/docs/MATPOWER-manual-7.1.pdf). Feel free to ask a more specific question if there is a particular place you are getting stuck.

The documentation for the `om` (Optimization Model) object is given in Chapter 5 of the [MP-Opt-Model User's Manual](https://matpower.org/docs/MP-Opt-Model-manual-4.1.pdf). You can always inspect the contents of the model to see the...

It looks like you are mixing the two approaches to customizing the OPF. If you are using direct specification, you simply add the `A`, `l`, `u`, `Q`, `c`, `k` as...

I don't see anything in what you describe that ties your new _Cg_ variables to anything in the OPF problem. That is, it appears you are describing a completely independent...

There is an example in the OPF tests (e.g. starting at [line 228](https://github.com/MATPOWER/matpower/blob/a366e18b8bd49ebb606ac078505c96a570a138c2/lib/t/t_opf_default.m#L228) of `t_opf_default`) that defines 1 extra variable (**z**), 2 constraints, and a cost on the new variable....

That would be Chapter 7 in the [MATPOWER User's Manual](https://matpower.org/docs/MATPOWER-manual-7.1.pdf) and the [`toggle_reserves()`](https://github.com/MATPOWER/matpower/blob/master/lib/toggle_reserves.m) file (see Section 7.6.1). The [`toggle_iflims()`](https://github.com/MATPOWER/matpower/blob/master/lib/toggle_iflims.m) is also another relatively simple example, described in Section 7.6.2. The...

First, I don't recommend you trust ChatGPT to "understand" how to use MATPOWER. I don't have time to look through the whole code example, but the use of the `add_nln_constraint()`...

The version of `case118` referenced in the 2011 paper I believe is from MATPOWER 4.0b3. It is essentially equivalent to the version in MATPOWER 8.0b1, with the following minor differences:...

No. In general, earlier periods should **not** be independent of future ones. If that were the case, there would be no reason to optimize them together and you could simply...

If you get rid of **all** inter-temporal costs and constraints **and** there is a unique solution to the single-period problems, then yes. Intertemporal costs and constraints in MOST include storage,...