Jump to content
Simio Forum

Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!

Click_Here_button.png

New Software Release

Our latest release, Simio 11, is here!

gtwirth

Members
  • Content Count

    159
  • Joined

  • Last visited

Everything posted by gtwirth

  1. Process steps cannot be exported....New capabilities just added...See first post on this topic.
  2. Attached are the files, code and an example of how to automatically run a schedule by dropping a file into a folder. See "SetupRunSchedule.docx" Updated 2017-10-29....Added the ability to add downtimes for Resources in the Event.csv. These will be read into the model prior to running Plan. Updated 2017-07-28....When the schedule is run, it now produces a file called "ExportSchedule.xml" that contains data from the resource usage log and target results. Updated 2019-05-21....Updated files to make is compatible with Simio 11. RunSimioScheduleCode.zip RunSimioSchedule.zip RunSimioScheduleFiles.zip SetupRunSimioSchedule.docx
  3. Here is an add-in that will rename the objects in your model based on values in a table. The first time you run the add-in, it will create a table called "Object Name Change". The uses will add the existing object name(s) and the new object name(s). Once done, run the add-in again and the object names will be changed in the model. To install, download the "RenameObjectsDLL.zip". Extract the "RenameObject.dll". Right click DLL and select Properties and then Unblock. Then, copy DLL into "C:\Users\\Documents\SimioUserExtensions". You might need to add the SimioUserExtensions folder under MyDocuments (C:\Users\\Documents) if it does not already exist. The c# code is also provided in the RenameObjectsCode.zip RenameObjectsDLL.zip RenameObjectsCode.zip
  4. Attached is an add-in that will append data from a CSV file into a Simio Table. Both the DLL and code are provided. To run with the DLL, complete the following steps: 1. Download AppendTablesDLL.zip and extract AppendTables.dll. 2. Right click DLL and unblock. 3. Place DLL into C:\Users\\Documents\SimioUserExtensions 4. Open Simio and create New Model 5. Select "Data" tab and run "Add Scheduling List and Tables" button under the Scheduling group....This will create 7 scheduling tables. 6. Next, select the "Append Tables" button under the Scheduling group...When prompted, select "C:\Users\Public\Documents\Simio\Examples\DiscretePartProductionFiles\Materials.csv". 7. Select Materials table...5 materials should be imported. 8. If you run the "AppendTables" again, the data will be updated...The add-in will append the table based on Material Name...It will not clear tables and add rows. The add-in will use the first column name in the file as the key and tries to find a matching column name in the table. If there is a match, the match will be used as the key. If the row already exists in the table, it will be updated. NOTE: This add-in also handle multiple files at a time. When prompted to select a file, choose multiple files. The import will assume the file name (excluding the extension) is the same name as the table. AppendTablesDLL.zip AppendTablesCode.zip
  5. Try Task1-10 Task2-20.1.1 Task3-20.1.2 Task4-20.2 Task5-30.1.1 Task6-30.1 Task7-40 ----Task 2 and 3 on Substream 1 and Task 4 on Substream 2 --- Task 2 on Subsubtream 1.1 and Task 3 on Subsubstream 1.2 --- Task 5 on Subsubstream 1.1 --- Task 6 on Substream 1 TaskSequence_Answer2.spfx
  6. The Resource Gantt is a good way to test the task sequences. I added a resource (with logging turned on) for each task. I then assigned resources to their associated tasks in the task sequence. I used the sequence numbers that Glenn suggested. With the Gantt, you can verify the task sequence.... A slight downtime on the Task3 and Task4 resources does not impact the start time of Task5 and Task6, but it does impact the start time of Task7. Give it a try!!! TaskSequence_Answer.spfx
  7. Add-On Process Triggers can be defined using the spreadsheet as well. Just change / add a column in the spreadsheet with the first row referencing the add-on process trigger property name on the object. Then, add the add-on process trigger name to the appropriate row in the spreadsheet. In the attached example, I changed the name of "PropertyA" in the Objects1 sheet to "ProcessingAddOnProcess". I then added "Server1_Processing" to the row hat references Server1 (e.g. "Server1_Processing"). Once imported, Server1 has a add-on process trigger to the "Server1_Processing" process. ImportObjectsLinksVertices_WithProcess.xlsx
  8. Updated Crane Library and Crane Library Example to Simio 8. Added fire of Bay.ZoneStatusChanged event in Crane.OnEnteredFreeSpace process. Used to relieve deadlock condition. 2015-12-17 - Fixed spelling of "Assoicated Bay" category name on the Bay object. Also, updated example and documentation. CraneLibraryV8.zip
  9. Hi...Just upgraded to Simio Version 7.128...No new functionality...It is just the latest library with the latest release. CraneLibraryV7.128.zip
  10. Hi Mark, Are you referencing the Spreadsheet Import? http://www.simio.com/forums/viewtopic.php?f=36&t=904 If so, you should be able to add the column to the spreadsheet that references the user defined property. The spreadsheet import should see and import the values defined in the column of the spreadsheet for the object.
  11. If you are binding a table to SQL Server Express, use the following connection properties If using SQL Server Security, you can specify the server name, database name, user id and password in the fields that are provided. If using Windows security, use a custom connection string. In the connection string, specify the server (e.g. Server=.\SQLExpress), database (e.g. Database=MESDB) and Trusted_Connection=True
  12. If you are running an experiment of the model through the api, you can add the nodes and links to the model right before the experiment is run. You just need to add your code for adding nodes and links to the following example. http://www.simio.com/forums/viewtopic.php?f=35&t=836 Adding nodes and links using steps will not work. The nodes and links need to be added during design time. They cannot be added during runtime.
  13. Based on a number of issues reported to the Crane library, we are providing this update - (Simio v 6.106 or higher needed) The fixes include: 1 - Added a fix to the push idle bridge logic. There were cases when the idle bridge could be moved where the logic was saying it could not. This fix removed a number of deadlock issues. 2 - Add re-plan of all cranes within a bay after each crane is unloaded. This change will improve the crane selection logic to reevaluated after each crane has completed a move. Since the selection logic is being reevaluate more often, the cranes should be better utilized. 3 - Exposed "Initial Number In System" properties on the bridge and crane objects. With is property exposed, it is possibly to disable bridges and cranes by setting this property = 0. CraneLibraryV6.106.zip
  14. NOTE: Inserting Data into MS Access is very slow...I suggest using MySQL or Microsoft Sql Server Your connect string should be: Provider=Microsoft.ACE.OLEDB.12.0;data source=C:\\Users\\dbName.mdb The provider should be: OleDb Data Provider If you are getting an error stating"Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine", see the following URLs... Running connectivity to MS Access using 64 bit apps is a well known issue. If this is an issue on your side, either follow the steps in the following URL or run SImio in 32 bit mode. http://social.msdn.microsoft.com/Forums/en-US/1d5c04c7-157f-4955-a14b-41d912d50a64/how-to-fix-error-the-microsoftaceoledb120-provider-is-not-registered-on-the-local-machine http://www.microsoft.com/en-us/download/details.aspx?id=13255
  15. I just uploaded the latest version with the updates to the Tanker and Dock objects. You can find the updated file in the first post.
  16. Here is an example of a custom step that will calculate the number of meters (x and z) between two points based on latitudes and longitudes. 2014-04-08...This post was updated to read the model origin coordinates and object coordinates from a table ( ObjectLocations ). Also, there is a design time add-in in this doe called "UpdatedLatLongAddIn" that will calculate the X and Z object locations based on the model origin coordinates and object coordinates and move the object to the location in the facility view. To setup the step, follow these instructions: 1) Download the "CalcMetersFromLatLongs_DLL.zip" 2) Extract "CalcMetersFromLatLongs.dll" from the "CalcMetersFromLatLongs_DLL.zip" into a temp folder (e.g. c:\temp). 3) Right-click the assembly and select properties. Then choose to "unblock" button and press apply. (only needed for Windows 7 and later). 4) Copy "CalcMetersFromLatLongs.dll" into "C:\Users\\Documents\SimioUserExtensions". You might need to add the SimioUserExtensions folder under MyDocuments (C:\Users\\Documents) if it does not already exist. CalcMetersFromLatLongsModel.spfx uses the Calc Meters From Lat Long step to calculate the number of meters (x and z) between Pittsburgh and Philadelphia. Once the distance is calculated, it moves the entity from the origin (location of Pittsburgh) to the location of Philadelphia. The code (CalcMetersFromLatLongs_Code.zip) is not needed to run the example. It is just provided in case anyone want to see now the step was defined. CalcMetersFromLatLongs_Code.zip CalcMetersFromLatLongsModel.spfx CalcMetersFromLatLongs_DLL.zip
  17. I have updated this add-in to support the export and import of vertices. If you need to update the vertices on a link in your model, first export them. Then update the text file and the import them again. If the link exists in the file, all vertices on a link will be removed and then re-added based on what is contained in the file. See attached code and DLL. Added 2014-03-04....The ability to define your own delimiter...Note: Import and Export of Objects does not work well with the comma as the delimiter. The expression properties will not import correctly since expression typically have commas in them as well. Added 2016-01-27....Updated project to use Microsoft .NET 4.5 Framework. Update 2016-10-24....See first post for latest files.
  18. Hi Mark...Please clarify...Do you mean updating the LogObservation property on a StateStatistic or TallyStatistic elements? This can be done with the existing Export Import Model Add in... I was able to export the elements from the HositalEmergenyDepartment.spfx. Then, I ran a a search an replace From "LogObservations|False" to "LogObservations|True". Imported the elements file. Once this is done, all StateStatistics and TallyStatistics in the model were being logged.
  19. Thanks for the feedback. The relative paths on experiments will be fixed the next sprint release (Sprint 98). The ExcelConnectElement.cs for the Excel Write step had the same issue. It will be fixed as well.
  20. Attached is V5 of the Crane Library. This version was developed in Simio 6.97. The new features in this version are: - Cranes now have a home node and an initial node. This enables the crane to be positioned at a different location at the start of the simulation run than the location where it resides when the crane is idle. - Cranes now have a home bridge that is different from the associated bridge. The associated bridge is used with the crane is initialized. The home bridge is the bridge where the crane resides when the crane is idle. - The Math.EPSILON delay is no longer needed for the first entity arrival. - Additional bay symbol. By default, the bay uses a symbol that is opaque (grey). If symbol index 1 is used (e.g. Current Symbol Index = 1 on the bay), the bay is transparent. The transparent bay is helpful if you wish to see schematics placed on the floor of the model. Additional, the following Simio V6 features has enhance our ability to model cranes. - You are able to turn off the Entity Instances at runtime. This is an option under the “Visibility” tab. With this option turned-off, the entity instances (including transporters) used to configure the model during design time, will not be shown when the model is run. - Entities now have a property for “Dynamic Label Text” under the “Animation” property group. This property enables a string expression to be added to any entity that will be shown during runtime. In the example, we are showing the current entity riding on the crane. The expression is “Math.If (Crane.RideStation.Contents.NumberWaiting > 0, Crane.RideStation.Contents.LastItem.ModelEntity.Name, "Nothing")” Note the following file is obsolete and has been updated in later posts below. (7/24/14)
  21. As I referenced in the above post, you need to use a custom step. We do not have custom selection rules for vehicles. When you create a custom step, you need to place a folder called "SimioUserExtensions" under your Documents folder. Typically, the folder is located at C:\Users\\Documents\SimioUserExtensions Just put your DLL in this folder. Do not include any of the Simio DLLs. They will be referenced in the C:\Program Files (x86)\Simio folder.
  22. Please send us a screen shot of your Simio GUI to 'support@simio.com' . Also, please send us the SimioActions.log and Simio3DStatus.log from your documents folder.
  23. 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.
  24. If you want to connect use MS Access, here is the information that you need. (NOTE: Writing to MS Access is not recommended....It is very slow. We suggest using MySQL instead. Instruction on how to setup MySQL are provided in the DBReadWrite simbit.) The connect string should be: Provider=Microsoft.ACE.OLEDB.12.0;data source=C:\\Users\\dbName.mdb The provider should be: OleDb Data Provider If you are getting an error stating"Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine", see the following URLs... Running connectivity to MS Access using 64 bit apps is a well known issue. If this is an issue on your side, either follow the steps in the following URL or run SImio in 32 bit mode. http://social.msdn.microsoft.com/Forums/en-US/1d5c04c7-157f-4955-a14b-41d912d50a64/how-to-fix-error-the-microsoftaceoledb120-provider-is-not-registered-on-the-local-machine http://www.microsoft.com/en-us/download/details.aspx?id=13255
×
×
  • Create New...