This simple model illustrates how to use a Spreadsheet element. Data is exported from GoldSim into two cells in the spreadsheet, a calculation is carried out that references those cells (a simple trigonometric calculation), and the result of the calculation in the spreadsheet is then imported back into GoldSim. Hence, the spreadsheet is effectively used as a subroutine. The result is also computed directly in GoldSim and the Results are compared and shown to be identical.
Download the Model File: