Description Usage Arguments Value
This function calculates total supply by summing up elements 51, 58, 61, and 66 (see arguments below to understand what these items are). Also, the itemTypeCol is required as a handful of commodities are treated differently when computing supply (see aupusGroups$initialAsSupply).
1 | calculateTotalSupply(data, aupusParam)
|
data |
The AUPUS node dataset, typically as produced by buildNodes. |
aupusParam |
A list of running parameters to be used in pulling the data. Typically, this is generated from getAupusParameter (see that function for a description of the required elements). |
No value is returned, but a new column ("TOTAL_SUPPLY") is appended to the passed data.table. This column provides the total supply for the balancing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.