copyright goldsim technology group llc, 2006 slide 1 linking goldsim to spreadsheets goldsim...
TRANSCRIPT
![Page 1: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/1.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 1
Linking GoldSim to Linking GoldSim to SpreadsheetsSpreadsheets
GoldSim Technology GroupIssaquah, Washington
USA
![Page 2: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/2.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 2
Excel Enabled Elements
Five GoldSim elements will interface with Excel:
![Page 3: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/3.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 3
Agenda
We’ll discuss how each of the elements interacts with Excel and we’ll demonstrate how to set up linkages for each element
We won’t do any examples (there’s a lot of stuff to cover) but if you want to follow along on your own machine you’re welcome to.
![Page 4: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/4.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 4
Database Type Elements
Both of the Time Series elements and the Lookup Table can use Microsoft Excel as a database
Import to these elements is automatic. They check the linked spreadsheet prior to the beginning of a simulation run and update themselves with any changes
![Page 5: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/5.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 5
Formatting the Spreadsheet for the Time Series Element
Data can be in columns or rows
You can read in a specified number of rows or until you hit the first blank cell
The Excel import functions expect a column of time data (this can be Elapsed Time or Date/Time)
Scalar or vector data can be imported for each time point
Let’s create a simple spreadsheet and then import it…
![Page 6: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/6.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 6
The Lookup Table Element
Similar to the Time Series element, import to the Lookup Table is automatic.
Again, the lookup table has a spreadsheet format that it expects.
![Page 7: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/7.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 7
The Lookup Table’s Excel Dialog
![Page 8: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/8.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 8
1D Table Format
Data is expected to be in columns Data is read in until the first blank row
This cell is the Row Variable Starting Cell
![Page 9: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/9.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 9
2D Table Format
Data is expected to be in columns Data is read in until the first blank row/column
This cell is the Row Variable Starting Cell
This cell is the Column Variable Starting Cell
![Page 10: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/10.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 10
3D Table Format
Data in the 2D format Each Worksheet is a layer of the 3D table
This cell is where the Layer Variable is specified
![Page 11: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/11.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 11
The Time History Element – Export to Spreadsheets
What to Export
Where to put it in the spreadsheet
![Page 12: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/12.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 12
Disabling Automatic Export Sometimes you may
not want to export (e.g. when debugging a model)
You can globally disable Time History export in the Model|Options dialog
![Page 13: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/13.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 13
The Spreadsheet Element
![Page 14: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/14.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 14
Important Notes About the Spreadsheet Element
Using offsets The Shift button Updating Logic
– If a Spreadsheet element exports data, the spreadsheet is only called if the exported data or and offset changes
– If a spreadsheet element only imports data, the spreadsheet is only called at the start of the simulation and when an offset changes
![Page 15: Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA](https://reader035.vdocuments.site/reader035/viewer/2022062516/56649e4e5503460f94b4464c/html5/thumbnails/15.jpg)
Copyright GoldSim Technology Group LLC, 2006
Slide 15
Important Issues About Using Spreadsheets
ALWAYS use relative paths – if you use a full path running the simulation or a Player file on another machine can be difficult.
Do not work on connected spreadsheets while the simulation is running.