DESIGN: Partial MRM Configuration Script Action Support / RW 6.7 / May 2015
Funding: BOR UC, Discretionary Development (Spring 2015), RiverWare 6.7
Phil, Edit: 5-16-2015 ... see also
completed
feature document.
Revision History:
- 5-16-2015: Culled several "Allow Editing in Dashboard" options; other small changes.
- 5-11-2015: Added "Set MRM Descriptor" action; Revisions to all action names.
- 5-08-2015: Initial Draft.
Requirements Statement
Improve RiverWare’s Script Manager to allow scripts to edit the MRM configuration as follows:
- set descriptor key/value pair
- change output control file
- enable/disable NetCDF
- enable/disable CSV output
- modify run parameters
- change ruleset
- Input tab:
- change index sequential number of runs, initial offset, interval
- DMI repeat, and
- enable/disable distributed runs.
New Proposed Actions Summary
These are also presented in subsequent sections, (a) with respect to corresponding configuration dialog tab, and (b) alongside the 29 previously implemented Script actions.
- Set MRM Descriptor
- Configure MRM Output
- Set MRM Run Range
- Set MRM Ruleset
- Configure MRM Index Sequential
- Configure MRM Input DMI
- Enable/Disable MRM Distrib. Runs
MRM configuration editor controls for the relevant configuration settings
These are represented on these four tabs of the MRM Configuration Dialog. Details follow.
Tab |
Config Controls |
Proposed New Script Action |
Tab 1 |
Description |
(a) set descriptor key/value pair |
1 |
Set MRM Descriptor |
Tab 2 |
Output |
(b) change output control file
(c) enable/disable NetCDF
(d) enable/disable CSV output |
2 |
Configure MRM Output |
Tab 3 |
Run Parameters |
(e) modify run parameters |
3 |
Set MRM Run Range |
Tab 4 |
Policy |
(f) change ruleset |
4 |
Set MRM Ruleset |
Tab 5 |
Input |
(g.i) change index sequential number of runs, initial offset, interval
|
5 |
Configure MRM Index Sequential
|
(g.ii) DMI repeat |
6 |
Configure MRM Input DMI |
(g.iii) enable/disable distributed runs |
7 |
Enable/Disable MRM Distrib. Runs |

Script Action Names
Existing |
New, Proposed |
- Clear DMI Values
- Clear Scalar Slot Values
- Clear Table Slot Values
- Create Snapshot
- Enable RPL Item
- Execute DMI
- Execute MRM Run*
- Execute Run
- Generate Output Device
- Load Ruleset
- Load Goal Set
- Memo
- Open Global Functions Set
- Open SCT
- Open Slots
- Reorder RPL Set
- Save Model
- Set Account Method
- Set Accounting Period
- Set Controller
- Set Init. Rules Exec. Flag
- Set Method
- Set Run Range
- Set Scalar Slot Value
- Set Series Slot Flags
- Set Series Slot Values
- Set Table Slot Value
- Synchronize Objects
- Synchronize Slots
|
- Set MRM Descriptor
- Configure MRM Output
- Set MRM Run Range
- Set MRM Ruleset
- Configure MRM Index Sequential
- Configure MRM Input DMI
- Enable/Disable MRM Distrib. Runs
|
*Existing MRM-related Script Action (Execute MRM Run) Settings:

(Tab 1) MRM Description / Descriptors

Script Action (1): Set MRM Descriptor
Settings:
- Show in Dashboard ... Yes/No
- Display Text
- Configuration ... MRM Selector
- Keyword
- Value
Allow Value Editing (not needed)
(Tab 2) MRM Output Configuration

Script Action (2): Configure MRM Output
Settings:
- Show in Dashboard ... Yes/No
- Display Text
- Configuration ... MRM Selector
- Control File ... file selection (blank: don't change)
- Generate CSV Files ... Yes/No
- Generate NetCDF Files ... Yes/No
- Allow Control File Editing
(Tab 3) MRM Run Parameters Configuration

Similar existing script action: Set Run Range, settings:

Script Action (3): Set MRM Run Range
Settings:
- Show in Dashboard ... Yes/No
- Display Text
- Configuration ... MRM Selector
- Start Date ...
- End Date
- Allow Start Date Editing ... Yes/No
- Allow End Date Editing ... Yes/No
(Tab 4) MRM Change Ruleset Configuration

Similar existing script action: Load Ruleset, settings:

Script Action (4): Set MRM Ruleset
Settings:
- Show in Dashboard ... Yes/No
- Display Text
- Configuration ... MRM Selector
- Ruleset ... Positive Integer (spin box)
- File Name ... file chooser
Confirm Replacement ... Yes/No (not needed)
(Tab 5) MRM Input Configuration

Script Action (5): Configure MRM Index Sequential
Settings:
- Show in Dashboard ... Yes/No
- Display Text
- Configuration ... MRM Selector
- Number of Runs ... integer (spin box)
- Initial Offset ... integer (spin box)
- Interval ... integer (spin box)
Allow Number of Runs Editing ... Yes/No (not needed)
Allow Initial Offset Editing ... Yes/No (not needed)
Allow Interval Editing ... Yes/No (not needed)
continued ...
Script Action (6): Configure MRM Input DMI
Settings:
- Show in Dashboard ... Yes/No
- Display Text
- Configuration ... MRM Selector
- DMI Name ... DMI Selector
- Repeat Count ... integer (spin box)
Allow Repeat Count Editing ... Yes/No (not needed)
Script Action (7): Enable/Disable MRM Distrib. Runs
Settings:
- Show in Dashboard ... Yes/No
- Display Text
- Configuration ... MRM Selector
- Enable ... Yes/No
Allow Enable Editing ... Yes/No (not needed)
--- (end) ---