How Spreadsheet Files are
Affected By GoldSim
By default, GoldSim's interactions with the Excel spreadsheet only affect a copy of the spreadsheet temporarily stored in memory, and do not affect the data permanently stored in your spreadsheet file. That is, following your simulation, the spreadsheet file will be unchanged (even if during the simulation GoldSim has sent data to cells in the spreadsheet).
In some cases, however, you may want to save the changes you make to a spreadsheet (i.e., when GoldSim exports data to the spreadsheet). To do so, select the Save MS-Excel file after simulation item in the Options>> menu (which by default is cleared).
Note: Saving the changes you make to a spreadsheet (from the Options>> menu) is not possible when carrying out a distributed processing simulation (using the Distributed Processing Module). This is because each client Also referred to as a Client process. A GoldSim executable running on a client machine that can be used to carry out distributed processing of a Monte Carlo simulation using the Distributed Processing Module. uses a private copy of the original spreadsheet.
Note: Unless you use offsets that vary with time or realization A single model run within a Monte Carlo simulation. It represents one possible path the system could follow through time., if you access the spreadsheet multiple times (at multiple timesteps or for multiple realizations), only the changes made to the spreadsheet the final time you access it will be saved (all the previous modifications will be overwritten each time that you access it).
Note: Saving changes to a spreadsheet file and file locking are mutually exclusive. If the Save MS-Excel file after simulation item is selected in the Options>> menu when you try to lock onto a file, GoldSim will warn you that locking onto the file will automatically disable saving changes to the MS-Excel file. When you lock onto a file, the Save MS-Excel file after simulation item is no longer available in the Options>> menu.
Warning: You should always close any spreadsheets that are referenced by GoldSim prior to running your GoldSim model. In fact, in most cases, GoldSim will warn you if it tries to interact with (in particular, write to) a spreadsheet that is already open.
Learn more
Related topics…
- Controlling When GoldSim Exchanges Data with the Spreadsheet File
- Defining Offsets for Inputs and Outputs to a Spreadsheet Element
- Defining the Properties of a Spreadsheet Element
- Exchanging Date Information with a Spreadsheet
- How Spreadsheet Files are Affected By GoldSim
- Importing Stochastic Element Definitions from a Spreadsheet
- Locking onto a Spreadsheet File
- Saving Spreadsheet Element Outputs
- Shifting Ranges for Inputs and Outputs to a Spreadsheet Element
- Spreadsheet Element Inputs - Exporting Data to the Spreadsheet
- Spreadsheet Element Outputs - Importing Data from the Spreadsheet
- Using the Spreadsheet Wizard to Define Spreadsheet Inputs
- Using the Spreadsheet Wizard to Define Spreadsheet Outputs
- Viewing a Spreadsheet Element in the Browser