CADSWES Maintenance Accomplishment Report Compilation -- March 2015
Edit: 4-14-2015 (Phil)

March 2015 Maintenance Highlights:

  1. One RiverWare patch release: 6.6.4, and two 6.7 development snapshots.
  2. Eight (8) RiverWare bug fixes.
  3. Analysis of RiverWare Unit Conversion utilities; preparation for maintenance cleanup and resolution of bug 5614.
  4. Ongoing: Monitoring and maintaining daily RiverWare regression tests.
  5. Installation support for display of RPL Predefined Function help content in RiverWare.

Report contributors:

(II) RiverWare Software Maintenance

  1. Releases, Patches and Snapshots
  2. Software Updates, Bug fixes (not associated with new development)
  3. Development tool improvements; issue tracking software; modelcomp
  4. Enhancements or changes to regression tests (not part of development tasks)
  5. Download, Install and Release Processes
  6. Updates to license software/procedures
  7. Updates to download/install/configure user documentation
  8. Modification to Web pages for downloads and installs

(II.A) Releases, Patches and Snapshots

The following releases were generated this month:

SUMMARY OF CHANGES IN RIVERWARE PATCH RELEASE 6.6.4

Inline Power Plant - Flow Tables Modifications
------------------------------
On the Inline Power Plant object, the Flow Tables method in the Inline Turbine Release and Bypass category was modified to better model power production for large flows. For documentation, see section 14.1.1.2 of the Objects chapter of the RiverWare Help.

Bugs
------------------------------
The following bugs were fixed:

  • 5491, 5557, 5616: Interpolation on the Plant Power Table was unexpectedly failing. These bugs were fixed by the following:
    • Values used in the interpolation within the Plant Efficiency Curve method on the power reservoirs were corrected.
    • An unnecessary error condition was removed. A warning message is posted if the looked-up values are not on the table.
  • 5623: An abort error in MRM resulted in many internal errors.

(II.B) Software Updates, Bug fixes (not associated with new development)

The following bugs were fixed:

Bug 5614 -- Annual Aggregation time series slots are not correctly summing monthly flows in units of AF/month -- is in the process of being addressed.

Most of the aspects of this bug are related to the special Time Aggregation Series Slot which users can create on Data Objects.

One high-level problem is that rate unit types (notably, FLOW) were being summed in the "normal" way, which is not correct for rate (e.g. flow) values for different timesteps within a single time series. Two options which were considered for the SUM function of Time Aggregation Series Slots were: (1) "Integrating" such values with respect to time (e.g. showing the sum of those flows as a volume), or (2) Showing the sum as the average value, but with a rate unit having a "per time" factor matching the time aggregation size (e.g. showing an annual aggregation of "per month" values with the analogous "per year" unit). We have implemented the latter approach.

Another high-level problem is that rate values needed to be summed (for both the sum and average functions) using a "weighted" algorithm. This is relevant specifically for summing rate series having an irregular timestep (i.e. per month or per year).

Ancillary to these Time Aggregation Series Slot issues, we have also implemented these related enhancements:

In the course of testing the Time Aggregation Series Slot fixes, a broader problem was discovered within our unit conversion algorithms. Rate values within an annual series are not correctly converted to per-month units. The result was effectively assuming an average month-length of 31 days -- i.e. the length of the month (December) preceding the Date_Time designating the end of an annual timestep. We've determined that our variant of the "convertWithinType" C++ method which is given a Date_Time to resolve irregular time units also needs an explicit DeltaTime (symbolic time interval) to correctly compute the required value. We are addressing this problem before completing the testing of the "5614" issues specifically involving the Time Aggregation Series Slot.

To address this latter problem, an analysis of the internal structure and use of our unit conversion utility methods was done. This analysis included observations about how to improve the unit conversion API and implementation for both better run-time performance and application-code readability. A formal document for this analysis will be provided in April.

(II.C) Development tool improvements; issue tracking software; modelcomp

None reported for March 2015.

(II.D) Enhancements or changes to regression tests (not part of development tasks)

The regression tests continue to be maintained on a daily basis. This involves updating the regression tests to exercise new developments in the code. Also, as new code is added to the development area, the model comparisons performed in the nightly regression tests usually show differences (for example, because a new method category may have been added). When this occurs, the regression tests need to be updated to reflect the current state of the development area so model comparisons do not fail. In addition, every week, the daily history of each regression test is analyzed to determine if the run time or model size has significantly changed because of new development.

(II.E) Download, Install and Release Processes

(II.F) Updates to license software/procedures

(II.G) Updates to download/install/configure user documentation

(II.H) Modification to Web pages for downloads and installs

None reported for March 2015.

--- (end) ---