skip to main content
Accounting
Changes to Passthrough Accounts
To improve the size and functionality of the accounting system, a number of changes were made to passthrough accounts as follows.
Legal Lag
RiverWare was modified to allow legal lags only on passthrough accounts on Reach and Distribution Canal Objects. If you have a lag on a passthrough account on a reservoir, your model will need to be updated.
Gain/Loss
Gain/Loss slots will be allowed only on passthrough accounts that are on reaches, distribution canals or reservoirs. The Gain/loss Coefficient slot is only available on passthrough accounts on reaches.
Diversions and Return Flows
Diversions and return flows will be allowed only on reaches, distribution canals, diversion objects, reservoirs, and water users. Diversions and return flows are left on passthrough accounts on reservoirs for backward compatibility reasons only.
Transfers
Transfers in and transfers out will be available on passthrough accounts on Control Points, Stream Gages and reservoirs. If you have transfers in or transfers out on other objects, you will need to move these to a Stream Gage, Control Point or reservoir.
Storage
Previously, all passthrough accounts had a Storage slot, even if it was not enabled. Now, Storage is allowed only on passthrough accounts on reservoirs when it is enabled using the “Storage Allowed” checkbox. Furthermore, the Storage slot is instantiated only if the Storage Allowed is checked. This could affect rulesets that look for Storage on all passthrough accounts. The user will need to modified the ruleset to only look at the correct accounts.
Inline Power Plants
It is now possible to create passthrough accounts on Inline Power Plant objects.
Linkage to offstream reservoirs
Because of changes to the accounting system, the physical linkage used to connect a reach to an offstream reservoir should now look like the following:
Reach.Diversion <----->DiversionObject.Diversion
DiversionObject.Outflow <----> Reservoir.Inflow
On the accounting network supplies should be connected as follows:
Reach^Passthrough.Diversion<---->DiversionObject^Passthrough.Inflow
DiversionObject^Passthrough.Outflow<---->Reservoir^Storage.Inflow
Previously, the Reach^Passthrouh.Diversion was connected to the DiversionObject^Passthrough.Diversion.
Changes to Storage Accounts
A Diversion multislot and a Return Flow multislot were added to the storage account. In the account solution, Diversion and Return Flow were added to the storage mass balance but not to the accrual calculation.
Changes to Diversion Accounts
Lag unit type
On Diversion Accounts, the return flow lag now has units of time, like that for passthrough account.
Open Slot Dialog Menus for Accounting Slots
On the Open Slot dialog for accounting slots, the TimeStep I/O menu and the context menus (i.e. right-click) were changed to the following: Set to Input, Set All to Input, Clear Non-Inputs, Clear Values, Clear All Values. These selections are different from simulation slots because accounting slots are solved for differently.
Object Account Summary Dialogs
The Object Account Summary Dialog was re-implemented and enhanced. The Object Account Summary Dialog shows summary data about selected accounts on a specified object. For example, the user could select to see the total accounting storage for a given water type. The main difference from the old dialog is that now both the summation and the components of that sum are now shown. In addition, there is enhanced filtering and display functionality. Following is a screenshot showing the new Object Account Summary Dialog and a description of the components of the dialog.
Select Objects
The user can select the object using either a pull-down menu or through the slot selector dialog. Currently, the user can only select one object to show; in the future, multiple objects will be supported.
Columns
The user can show timesteps as either the column or the rows. If Acct Slots is selected, the accounts are shown across the columns and timesteps go down the rows as shown in the above screenshot. If Timesteps is selected, the timesteps are displayed across the columns and the accounts displayed down the rows in the table as shown in the following screenshot. If Timesteps is selected, the user can select the timesteps to display using the Set Selection button and the check boxes.
Account Types
Accounts can be filtered by type, i.e. Storage, PassThrough, Diversion, or Instream Flow, using the check boxes.
Account Slot Entity
The slot entity (Outflow, Inflow, Storage, etc...) shown in the summary area is selected using the pull-down menu. The most common slot types can be selected using buttons.
Account Selection
The accounts can be ordered and selected for display in the summary area. If the List All Accounts toggle is selected, then all accounts will be shown. Otherwise, only the selected accounts are shown. Each column can be sorted by clicking on the column heading. To select multiple accounts, highlight the row and click Set Selection. All accounts can be selected using the Select All Accounts button.
Summary Area
The summary area shows each of the selected slots and the total sum in the left most column. If appropriate, values in the summary area can be switched from Flow to Volume using the toggle button. Using the Show Empty Slots toggle, the user can select to show or hide slots that don’t contain any data.
Statistics Information
The following summary statistics are displayed for the highlighted selection: Sum, Average, Minimum, Maximum, and Range.
Miscellaneous
Additional features have been added to the dialog. The selection can now be exported to the clipboard using the Export Copy feature. In addition, the configuration can be saved using the Config ->Save As menu.
Edit Account Dialogs
The Edit Account Dialog was re-implemented in Qt and enhanced for usability as shown in the following screenshot:
Although similar to the old dialog, the updated version has increased usability. The user can choose to show or hide slots that do not contain any data and the order of the columns can be changed. In addition, a datetime spinner was added to allow the user to jump to a specified date. Summary data was added to the bottom of the dialog to show the sum, average, minimum, maximum, and range of the selection. In addition, Export Copy functionality was added to allow the user to export data to the clipboard and then paste it in Excel. As in the old dialog, there is the Flow to Volume toggle and the ability to open the component supplies directly. This is now done by right-clicking and selecting Open Slot.
Water Accounting System Configuration Dialog
The Water Accounting System Configuration dialog was enhanced to allow the user to better configure many accounting slots at one time. Shown in the following screenshot, the user is now able to use check boxes to select the slots they wish to change. If the “Apply Checked/Modified Slot Configurations to All Existing Slots” toggle is checked, then the configuration edits will apply to all of the checked slots and will change existing slots. If it is not checked, any edits will only apply to slots on accounts added in the future. This feature gives the user much more control over the configuration of accounting slots.
Import and Export of Objects and Accounts
It is now possible to import and export objects with their accounts. When exporting, the user is presented with the option to select the type of accounts to export as shown in the following screenshot. Note, when exporting, supplies connecting accounts are not maintained. On import, if an account has the same priority date as an existing account in the model, 1 second is added to the priority date of the imported account and a warning message is posted.
Future solution of Accounts
The user can no longer turn on full-future account solving. Disabling future solving has been occurring for many years now, and is now permanent. Previously, the user could enable full-future account solving using the “--noacctmin” option when invoking riverware.
Revised: 07/03/2024