Loading Group Accounts in the PIN File

If you want to include group accounts in your model, you must be sure to load them upon startup in the PIN file. There are two ways to do this: the first is by using the PIN Builder, and the second by simply adding the lines of code to the PIN file. the section called “The PIN file” shows you how to create a PIN file using the PIN Builder. Once you arrive at the "Optional PIN file elements" window, click on the "Add group definition" box and input the group file(s) you wish to load.

Figure 35. Adding groups to the PIN file

Use the PIN Builder wizard to define group definition CSV files.


When you click on "Show code", all the associated code for the PIN file you have set up will display. The code corresponding to the group .csv files that were added above is as follows:

*
* Load groups here
*/
control.inputGroups("../tracks/group_compart.csv");
control.inputGroups("../tracks/group_lmu.csv");
control.inputGroups("../tracks/group_visual.csv");
control.inputGroups("../tracks/group_watershed.csv");
control.inputGroups("../tracks/groups.csv");