Scenario Management -- Misc. Analysis Notes -- edit 7-16-2012
See screenshot links at bottom.
Aside: Slot List Qt4 Port Status [7-16, Monday Noon].
Basically Complete. This morning I fixed a performance bug with the three Scenario slot-modification operations. I am about to pull out the old Qt3 list implementation. I still do see the CRASH mentioned below (with no stack visible). If I still see that after pulling out the Qt3 list, I'll want to use Purify. (See latest screenshots showing sorting and optional column controls).
Significant Limitations:
- Gnats 3789: "
Would like to scale many scenario slots at one time." (Basically addressed in Qt4 Port).
- Can't use SCT to edit Scenario Slots ... and related limitations. Specifically, there is no way to get Scenario Slots into an SCT -- only the actual (applied) slot can be shown.
Other limitations and issues:
- CRASH after some operation; no stack available in Visual Studio debugger.
- Minor: Changes to a slot in the Active Scenario don't show up in the actual slot until Re-Activating or Beginning of Run.
- Scenario user can't save Plots (or other output devices) or Snapshot Template WITH the Scenario (or Baseline Model).
The Scenario Slot List View design opted for drag-and-drop reordering instead of the possibility of multiple-slot selection (for operations on multiple slots). (Basically addressed in Qt4 Port).
- (Single-Slot) Scaling is supported, but not absolute adjustments (e.g. + 2 feet).
- Minor: The Date/Time spinner in the Open Slot Dialog for Baseline and Scenario Slots isn't properly initialized; It initially shows "Dec 31, 1799".
Technical:
The Scenario Manager is still in Qt3. The significant piece is the Scenario Slot List View. (Qt4 Slot List Port is basically complete).
Addendum (7-15-2012):
- Both the "Clear Slots" and "Fill with Baseline Values" on a Scenario Slot technically delete the underlying Scenario Slot. So, if the Open Slot Dialog had been shown for the effected Scenario Slot, that dialog disappears -- which would be surprising to the user.
Addendum (7-16-2012):
- Accounting Slots are really not supported in Scenarios. Either, they should be explicitly excluded from the slot list, or should be implemented. Specifically:
- Scenario Accounting Series Slot data does not show up in the GUI (all un-editable NaNs).
- The SeriesSlot::resetState() method may not be called on an Accounting Slot (assertion failure). And that is used in the Scenario Slot reset algorithm. (More research would be needed).
Some Scenario Manager Screenshots (all from a Baseline Model):
- and Open Slot Dialogs of related slots.
- and Context Menu
- Menus
- and SCT (not usable for editing)
---