calculateAupusElements: Calculate AUPUS Elements

Description Usage Arguments Value

Description

This is the wrapper function that performs the full AUPUS module. It computes each individual element, then proceeds to compute utilization and balances. This function should be called several times to process all the processing levels of the items.

Usage

1
2
calculateAupusElements(aupusFinalData, itemTypeCol, balanceElementNum,
  aupusParam)

Arguments

aupusFinalData

The data.table object containing the nodes data, typically as created by the suaToNetworkRepresentation function.

itemTypeCol

The column name of aupusFinalData corresponding to the item type of the commodity item.

balanceElementNum

The column name of aupusFinalData corresponding to the balance element column.

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).

Value

No value is returned. Instead, the passed data.table (aupusFinalData) has each of it's elements computed and is balanced.


SWS-Methodology/faoswsAupus documentation built on May 9, 2019, 11:45 a.m.