Mass Balance Summary Slots in RiverWare currently support computations using Flow or Volume series slots as input terms to be summed. The user can currently include series slots with other unit types, but the recomputation reports an error. The following screenshots demonstrate the results of including Mass slots in a Mass Balance Summary:
Note: In the current implementation, if the set of referenced slots in a Mass Balance Summary includes unit types other than Flow and Volume, the option to hide the "Units" column is disabled, and that column is unconditionally shown.
One possibility is that the Mass Balance Summary could automatically detect that all of the series slots included in a Mass Balance Summary happen to all have Mass units, and effect the following changes:
Notes:
It would be a simple matter to support any single unit type in this way -- or a prescribed set of unit types. Probably even in the latter case, users would have to use some discretion in insuring that the computed sum is meaningful.
In the GUI, "Mass Balance" (e.g. in the title bar) would be changed to refer to the effective unit type, e.g. "Energy Balance Summary". Furthermore, we might want to change references to "Mass Balance Summary" in other parts of the GUI (and RiverWare documentation) to simply "Balance Summary".
For reference, here are the unit types currently supported in RiverWare 6.2:
LENGTH SQRT_LENGTH AREA VOLUME FLOW FLOWSQUARED FLOWperSQRT_LENGTH PER_FLOW POWER POWERperFLOW ENERGY TIME TIMESQUARED MASS HEAT |
ENERGYFLUX MASSFLUX VOLFLUX CONCENTRATION AREAperTIME PER_TIME TEMPERATURE LENGTHperTEMPERATURE_F TEMPERATUREinF SPECIFICHEAT VELOCITY VELOCITYperTEMPERATURE_F DENSITY POWERCOST VALUE |
VALUEperFLOW VALUEperVOLUME LENGTHperVOLUME LENGTHperFLOW PER_LENGTH FLOWperLENGTH VOLUMEperFLOW ENERGYperLENGTH POWERperLENGTH FRACTION NODIM VOLUMESQUARED TIMEperLENGTH FLOWVOLUME FLOWTIME FLOWperTIME DATETIME |
Beyond the scope of this task, in the future we may want to support common unit-type pairs related by a "per-time" factor (as are Flow and Volume) such as the following pairs of related units:
(The reason a "per-time" factor is relevant here is that all quantities are represented in the context of a time series (a series slot), where the absolute number of seconds in each timestep is known, though sometimes variable, i.e. in the case of monthly or annual timesteps).
*In RiverWare, "Velocity" is a scalar value, not a directional vector (i.e. more correctly, "Speed").
---