RiverWare 6.1: New Accounting Diagnostics Categories
10-20-2011 / CADSWES / Phil Weinstein

Enhancements for Gnats 5110:
   "Can't turn on print statements for object level accounting methods RPL set"

Accounting diagnostic categories were added to support RPL-implemented User Defined Account Methods, similar to those for MRM Rules in the Workspace Diagnostic Configuration dialog.

In the "Post-Simulation Accounting Diagnostic Configuration" dialog, the Account Method "User Method Execution" category was renamed to "RPL Method Execution", and two additional categories were added: "RPL Function Execution" and "RPL Print Statements".

Old Account Method Categories
(RiverWare 6.0)

Old Account Method Categories

 
New Account Method Categories
(RiverWare 6.1)
New Account Method Categories

See full panels, below.
 

NOTE: Because of the name change of the "User Method Execution" category, when reloading a model which had the "User Method Execution" category turned on, that setting will be lost. When this happens, the following diagnostic will be reported:

NOTE: A change to the DiagGroups run-time text file was made to effect this change. This run-time file needs to be updated in RiverWare 6.1 installations.

RiverWare 6.0
Accounting Diagnostic Categories

Old Accounting Categories

RiverWare 6.1
Accounting Diagnostic Categories

New Accounting Categories

Technical Notes -- Internal Diagnostic Configuration Changes:

--------------------
Sim/DiagCategory.hpp
--------------------

  const DiagCategoryId  ACCTOBJID_UDAM_EXEC = 0x19000004;  <<< EXISTING
  const DiagCategoryId  ACCTOBJID_UDAM_FUNC = 0x19000008;  <<< NEW
  const DiagCategoryId  ACCTOBJID_UDAM_PRIN = 0x19000010;  <<< NEW

------------------------
Sim/DiagCategoryDesc.hpp
------------------------

      { ACCTOBJID_UDAM_EXEC, "Acct SimObj Udam",      CONTEXT_TYPE_TIMESTEP }
 NEW: { ACCTOBJID_UDAM_FUNC, "Acct SimObj UdamFunc",  CONTEXT_TYPE_TIMESTEP }
 NEW: { ACCTOBJID_UDAM_PRIN, "Acct SimObj UdamPrint", CONTEXT_TYPE_TIMESTEP }

--------------
Sim/DiagGroups
--------------

 OLD:
   Controller {Post-Simulation Accounting} {Account Method} {User Method Execution} = {Acct SimObj Udam}

 NEW:
   Controller {Post-Simulation Accounting} {Account Method} {RPL Method Execution} = {Acct SimObj Udam}
   Controller {Post-Simulation Accounting} {Account Method} {RPL Function Execution} = {Acct SimObj UdamFunc}
   Controller {Post-Simulation Accounting} {Account Method} {RPL Print Statements} = {Acct SimObj UdamPrint}

---