gtwirth Posted December 19, 2012 Share Posted December 19, 2012 NOTE....Code has been removed from this post. Please use the Excel Read and Excel Write steps that are provided when Simio is installed. There is a ExcelReadWrite simbit. The code is provided in C:\Users\Public\Documents\Simio\Examples\UserExtensions\ExcelReadWrite ExcelReadWrite.zip Link to comment Share on other sites More sharing options...
jdoran Posted December 23, 2012 Share Posted December 23, 2012 Great addition! If only this were here a few weeks ago, to save us creating our own... then again ours also auto generates a graph of the data. Link to comment Share on other sites More sharing options...
jdoran Posted January 2, 2013 Share Posted January 2, 2013 I finally got around to testing this, and the immediate restriction I see is that you can only use states and not functions. I.e. TimeNow, or custom math statements. Link to comment Share on other sites More sharing options...
gtwirth Posted January 2, 2013 Author Share Posted January 2, 2013 Good point...We will make an adjustment for the Excel Write and DB Write steps to handle expressions. This way it work work the same way as the Write (text) step. Link to comment Share on other sites More sharing options...
MEagar Posted February 20, 2013 Share Posted February 20, 2013 Hi, I am getting a file corrupted message when trying to open the model. Is there something I need to run or compile beforehand ? I am using version 5. Mark Link to comment Share on other sites More sharing options...
mgragert Posted August 23, 2013 Share Posted August 23, 2013 Hi, we would like to write the results of mutiple replications in one excel file (row=run.replicationNumber). We tried to change the excel connect and excel write step but we didn't find a solutuion. Do you have any suggestions for us in order to solve this problem? Best reg. Markus Gragert Link to comment Share on other sites More sharing options...
MEagar Posted August 26, 2013 Share Posted August 26, 2013 Ditto, I would also like to know...This is a request that I had requested but still no answer.... CSVs and Macros works....yet its a pain...please support the post under the SI Ideas & Suggestions section... Link to comment Share on other sites More sharing options...
gtwirth Posted October 18, 2013 Author Share Posted October 18, 2013 I don't think there is a solution around this. The Excel Write step could be setup to to handle replication number, but you would only be able to run one replication at a time. The same worksheet cannot be opened more than once. The way the Excel Write setup works, it opens the worksheet into memory, writes the data into memory during the replication and saves the worksheet when the replication completes. I recommend using the DB Write step and a MySQL database. MySQL is easy to setup and free to use. We provide instructions on how to setup it up in the DBReadWrite simbit. With the DBWrite, multiple replications can write to the database simultaneously and all the replication can be written to the same table. Once the experiment completes, you can import the data from the database into excel. In the end, the DB is the quickest way to get all your experiment results into one place. Link to comment Share on other sites More sharing options...
hugo Posted September 30, 2014 Share Posted September 30, 2014 Hi Glen, I have been using the DBWrite step in my current model with MySQL. It works like a charm, but it slows the model down considerably. (Can take almost 50% to 70% more time) Is there any reason why it is slowing the model down so much? Any work around suggestions? Thank you and regards, H Link to comment Share on other sites More sharing options...
Recommended Posts