Jump to content
Simio Forum

gtwirth

Members
  • Content Count

    159
  • Joined

  • Last visited

Community Reputation

1 Neutral

1 Follower

About gtwirth

  • Rank
    Scheduling Product Manager
  • Birthday July 29

Converted

  • OCCUPATION
    Business Development Manager

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. gtwirth

    Export Import Model Using A Text File

    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. ResourceName,ExceptionStart,ExceptionEnd,ExceptionDescription Cut1,12/1/2016 12:00:00 PM,12/2/2016 4:00:00 PM,Short Breakdown Cut2,12/1/2016 12:00:00 PM,12/12/2016 11:00:00 PM,Long Breakdown 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. <?xml version="1.0" standalone="yes"?> Order05 0.861229915616692 Cut2 2016-12-01T08:00:05 2016-12-01T16:18:05 Order04 0.861229915616692 Cut1 2016-12-01T08:00:06 2016-12-01T11:00:06 Order03 0.861229915616692 Weld2 2016-12-01T08:00:15 2016-12-01T10:18:15 Order03 0.861229915616692 Resource2 2016-12-01T08:00:15 2016-12-01T10:18:15 Order01 0.861229915616692 Weld1 2016-12-01T08:00:17 2016-12-01T11:42:17 Order01 0.861229915616692 Resource1 2016-12-01T08:00:17 2016-12-01T11:42:17 Order03 0.861229915616692 Finish1 2016-12-01T10:18:22 2016-12-01T16:18:22 Order10 0.861229915616692 Cut1 2016-12-01T11:00:08 2016-12-01T15:54:08 Order04 0.861229915616692 Weld2 2016-12-01T11:00:16 2016-12-01T15:24:16 Order04 0.861229915616692 Resource2 2016-12-01T11:00:16 2016-12-01T15:24:16 Order01 0.861229915616692 Shape1 2016-12-01T11:42:30 2016-12-02T08:30:30 Order04 0.861229915616692 Finish2 2016-12-01T15:24:23 2016-12-02T11:24:23 Order11 0.861229915616692 Cut1 2016-12-01T15:54:11 2016-12-02T10:48:11 Order10 0.861229915616692 Weld1 2016-12-01T15:54:21 2016-12-02T10:18:21 Order10 0.861229915616692 Resource1 2016-12-01T15:54:21 2016-12-02T10:18:21 Order06 0.138770084383308 Cut2 2016-12-01T16:18:07 2016-12-02T14:18:07 Order05 0.861229915616692 Shape2 2016-12-01T16:18:15 2016-12-02T13:06:15 Order01 0.861229915616692 Finish1 2016-12-02T08:30:41 2016-12-02T13:54:41 Order16 0.861229915616692 Cut1 2016-12-02T10:48:14 2016-12-02T15:42:14 Order11 0.861229915616692 Weld1 2016-12-02T10:48:24 2016-12-02T15:12:24 Order11 0.861229915616692 Resource1 2016-12-02T10:48:24 2016-12-02T15:12:24 Order10 0.861229915616692 Finish2 2016-12-02T11:24:25 2016-12-05T08:24:25 Order05 0.861229915616692 Finish1 2016-12-02T13:54:44 2016-12-05T09:18:44 Order07 0.138770084383308 Cut2 2016-12-02T14:18:10 2016-12-05T11:18:10 Order06 0.138770084383308 Shape1 2016-12-02T14:18:19 2016-12-05T10:06:19 Order20 0.861229915616692 Cut1 2016-12-02T15:42:17 2016-12-05T10:36:17 Order16 0.861229915616692 Weld1 2016-12-02T15:42:26 2016-12-05T10:06:26 Order16 0.861229915616692 Resource1 2016-12-02T15:42:26 2016-12-05T10:06:26 Order11 0.861229915616692 Finish2 2016-12-05T08:24:26 2016-12-05T14:24:26 Order06 0.138770084383308 Finish1 2016-12-05T10:06:30 2016-12-05T15:30:30 Order21 0.861229915616692 Cut1 2016-12-05T10:36:20 2016-12-05T15:30:20 Order20 0.861229915616692 Weld1 2016-12-05T10:36:29 2016-12-05T15:00:29 Order20 0.861229915616692 Resource1 2016-12-05T10:36:29 2016-12-05T15:00:29 Order13 0.861229915616692 Cut2 2016-12-05T11:18:12 2016-12-06T09:18:12 Order07 0.138770084383308 Shape1 2016-12-05T11:18:22 2016-12-06T08:06:22 Order16 0.861229915616692 Finish2 2016-12-05T14:24:28 2016-12-06T10:24:28 Order26 0.861229915616692 Cut1 2016-12-05T15:30:22 2016-12-06T10:24:22 Order21 0.861229915616692 Weld1 2016-12-05T15:30:32 2016-12-06T09:54:32 Order21 0.861229915616692 Resource1 2016-12-05T15:30:32 2016-12-06T09:54:32 Order20 0.861229915616692 Finish1 2016-12-05T15:30:33 2016-12-06T11:30:33 Order15 0.861229915616692 Cut2 2016-12-06T09:18:14 2016-12-06T16:18:14 Order13 0.861229915616692 Shape1 2016-12-06T09:18:24 2016-12-06T15:06:24 Order17 0.861229915616692 Cut1 2016-12-06T10:24:25 2016-12-07T14:24:25 Order07 0.138770084383308 Finish2 2016-12-06T10:24:30 2016-12-06T15:48:30 Order26 0.861229915616692 Weld1 2016-12-06T10:24:35 2016-12-06T14:48:35 Order26 0.861229915616692 Resource1 2016-12-06T10:24:35 2016-12-06T14:48:35 Order21 0.861229915616692 Finish1 2016-12-06T11:30:35 2016-12-07T08:30:35 Order26 0.861229915616692 Finish2 2016-12-06T15:48:32 2016-12-07T11:48:32 Order23 0.861229915616692 Cut2 2016-12-06T16:18:17 2016-12-07T14:18:17 Order15 0.861229915616692 Shape1 2016-12-06T16:18:26 2016-12-07T13:06:26 Order13 0.861229915616692 Finish1 2016-12-07T08:30:37 2016-12-07T13:54:37 Order15 0.861229915616692 Finish2 2016-12-07T13:06:36 2016-12-08T08:30:36 Order25 0.861229915616692 Cut2 2016-12-07T14:18:19 2016-12-08T11:18:19 Order23 0.861229915616692 Shape1 2016-12-07T14:18:28 2016-12-08T10:06:28 Order27 0.861229915616692 Cut1 2016-12-07T14:24:28 2016-12-08T11:24:28 Order17 0.861229915616692 Shape2 2016-12-07T14:24:33 2016-12-08T10:12:33 Order23 0.861229915616692 Finish1 2016-12-08T10:06:39 2016-12-08T15:30:39 Order17 0.861229915616692 Finish2 2016-12-08T10:12:40 2016-12-08T15:36:40 Order02 0.138770084383308 Cut2 2016-12-08T11:18:21 2016-12-09T15:42:21 Order25 0.861229915616692 Shape1 2016-12-08T11:18:31 2016-12-09T08:06:31 Order08 0.138770084383308 Cut1 2016-12-08T11:24:31 2016-12-09T15:48:31 Order27 0.861229915616692 Shape2 2016-12-08T11:24:36 2016-12-09T08:12:36 Order25 0.861229915616692 Finish1 2016-12-09T08:06:42 2016-12-09T13:30:42 Order27 0.861229915616692 Finish2 2016-12-09T08:12:43 2016-12-09T13:36:43 Order09 0.861229915616692 Cut2 2016-12-09T15:42:23 2016-12-12T11:06:23 Order02 0.138770084383308 Weld1 2016-12-09T15:42:31 2016-12-12T15:06:31 Order02 0.138770084383308 Resource1 2016-12-09T15:42:31 2016-12-12T15:06:31 Order12 0.861229915616692 Cut1 2016-12-09T15:48:34 2016-12-12T11:12:34 Order08 0.138770084383308 Weld2 2016-12-09T15:48:41 2016-12-12T15:12:41 Order08 0.138770084383308 Resource2 2016-12-09T15:48:41 2016-12-12T15:12:41 Order14 0.861229915616692 Cut2 2016-12-12T11:06:26 2016-12-12T16:30:26 Order18 0.138770084383308 Cut1 2016-12-12T11:12:36 2016-12-12T16:36:36 Order09 0.861229915616692 Weld1 2016-12-12T15:06:35 2016-12-13T14:30:35 Order09 0.861229915616692 Resource1 2016-12-12T15:06:35 2016-12-13T14:30:35 Order02 0.138770084383308 Shape1 2016-12-12T15:06:45 2016-12-13T10:54:45 Order12 0.861229915616692 Weld2 2016-12-12T15:12:43 2016-12-13T14:36:43 Order12 0.861229915616692 Resource2 2016-12-12T15:12:43 2016-12-13T14:36:43 Order08 0.138770084383308 Shape2 2016-12-12T15:12:53 2016-12-13T11:00:53 Order19 0.138770084383308 Cut2 2016-12-12T16:30:28 2016-12-13T11:54:28 Order22 0.861229915616692 Cut1 2016-12-12T16:36:39 2016-12-13T13:00:39 Order02 0.138770084383308 Finish1 2016-12-13T10:54:56 2016-12-13T16:18:56 Order08 0.138770084383308 Finish2 2016-12-13T11:01:00 2016-12-13T16:25:00 Order24 0.644491966246677 Cut2 2016-12-13T11:54:30 2016-12-14T08:18:30 Order14 0.861229915616692 Weld1 2016-12-13T14:30:39 2016-12-14T13:54:39 Order14 0.861229915616692 Resource1 2016-12-13T14:30:39 2016-12-14T13:54:39 Order09 0.861229915616692 Shape1 2016-12-13T14:30:49 2016-12-14T10:18:49 Order18 0.138770084383308 Weld2 2016-12-13T14:36:45 2016-12-14T14:00:45 Order18 0.138770084383308 Resource2 2016-12-13T14:36:45 2016-12-14T14:00:45 Order12 0.861229915616692 Shape2 2016-12-13T14:36:55 2016-12-14T10:24:55 Order09 0.861229915616692 Finish1 2016-12-14T10:19:00 2016-12-14T15:43:00 Order12 0.861229915616692 Finish2 2016-12-14T10:25:02 2016-12-14T15:49:02 Order19 0.138770084383308 Weld1 2016-12-14T13:54:43 2016-12-15T13:18:43 Order19 0.138770084383308 Resource1 2016-12-14T13:54:43 2016-12-15T13:18:43 Order14 0.861229915616692 Shape1 2016-12-14T13:54:53 2016-12-15T09:42:53 Order22 0.861229915616692 Weld2 2016-12-14T14:00:47 2016-12-15T13:24:47 Order22 0.861229915616692 Resource2 2016-12-14T14:00:47 2016-12-15T13:24:47 Order18 0.138770084383308 Shape2 2016-12-14T14:00:57 2016-12-15T09:48:57 Order14 0.861229915616692 Finish1 2016-12-15T09:43:04 2016-12-15T15:07:04 Order18 0.138770084383308 Finish2 2016-12-15T09:49:04 2016-12-15T15:13:04 Order24 0.644491966246677 Weld1 2016-12-15T13:18:47 2016-12-16T11:42:47 Order24 0.644491966246677 Resource1 2016-12-15T13:18:47 2016-12-16T11:42:47 Order19 0.138770084383308 Shape1 2016-12-15T13:18:57 2016-12-16T09:06:57 Order22 0.861229915616692 Shape2 2016-12-15T13:24:59 2016-12-16T09:12:59 Order19 0.138770084383308 Finish1 2016-12-16T09:07:08 2016-12-16T14:31:08 Order22 0.861229915616692 Finish2 2016-12-16T09:13:06 2016-12-16T14:37:06 Order24 0.644491966246677 Shape1 2016-12-16T11:43:01 2016-12-19T08:31:01 Order24 0.644491966246677 Finish1 2016-12-19T08:31:11 2016-12-19T13:55:11 RunSimioScheduleCode.zip RunSimioSchedule.zip RunSimioScheduleFiles.zip SetupRunSimioSchedule.docx
  3. gtwirth

    Rename Objects Add-In

    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. gtwirth

    Append Tables Using Add-In

    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. gtwirth

    Import Objects From Spreadsheet

    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
  6. 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
  7. Hi...Just upgraded to Simio Version 7.128...No new functionality...It is just the latest library with the latest release. CraneLibraryV7.128.zip
  8. gtwirth

    Export Import Model Using A Text File

    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.
  9. gtwirth

    Import Objects From Spreadsheet

    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.
  10. 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
  11. gtwirth

    Transportation Library - Trains, Robots, Tanker

    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.
  12. gtwirth

    Projecting movements on globe

    Very Cool...Thanks Steve
  13. 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
  14. gtwirth

    Export Import Model Using A Text File

    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.
  15. gtwirth

    Export Import Model Using A Text File

    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.
×