Released January 11, 2023
The following issues were addressed:
RW-6809: MRM generates RDF output warnings

Two items were fixed with MRM output to RDF files to address RW-6809, "MRM issues RDF Output Warnings in 8.5."

1. An error message was incorrectly posted when the control file specified that slots with multiple timestep sizes should be written to the same file.

2. In MRM output control files, functionality exists to use the more exact specification when multiple entries exist for a slot. In this bug, the determination of the control file entry to use for a particular slot was not working as desired.  Now, the control file entries are considered different and the values will be written separately to the specified RDF files whenever the control file entries (i.e. each line) have:
   - different slots,
   - different time intervals, or
   - different RDF file specification
If any of these three are different, there is no determination of the more exact entry; instead, the slot data is written out as a separate entry.

In testing, this fix leads to additional slots being written to the RDF files, especially when wildcarding, or multiple file lines are specified. It is possible that the RDF files could have different ordering of slots. Also, it is conceivable, although unlikely, that a slot could be written multiple times to the same RDF file.


Peak and Base Power method incorrectly handles operating head below min in RPL function

In this bug, the GetMaxReleaseGivenInflow function was incorrectly terminating early for a reservoir using the Peak and Base Power method. Previously, when called from a RPL function (e.g. GetMaxReleaseGivenInflow), when the computed Operating Head was at or below the Minimum Operating Head, the power method did not return a value causing the rule to terminate early. Now, the method returns a flow of zero in those cases to match how the method solves in dispatching.

In addition, the iterative solution to compute Peak Flow for the Peak and Base and Peak Power methods stopped iterating and set a Peak Flow and Peak Power of zero as soon as a single iteration hit the minimum operating head. Now, it is allowed to continue iterating to produce correct non-zero results in cases near the min operating head that previously had a Peak Flow of zero.

Note, this change will modify/correct results when the reservoir is near the Minimum Operating Head.