MauricioBiolato Posted January 4, 2019 Posted January 4, 2019 I need to simulate a crane moving entities between different points. But the problem is the load and unload time are not the same in all those points. I need to be able to define somehow the crane load & unload time as a variable (node depending). I wonder if anyone has dealed with this problem before? Rds.
gocken Posted January 4, 2019 Posted January 4, 2019 Subclass a transfer node then define two properties: LoadTime and UnloadTime. Then use these subclassed nodes in your model and set the values of LoadTime and UnloadTime properties appropriately for each subclassed transfer nodes. Also, define two properties on modelentity: you can name them as LoadTime and UnloadTime. Then, define an entered add-on process for each subclassed transfer nodes where you should assign ModelEntity.LoadTime=LoadTime and ModelEntity.UnloadTime=UnloadTime. Now, by setting loadtime and unloadtime properties of crane object as ModelEntity.UnloadTime and ModelEntity.LoadTime you can get different times for load and unload times at different points.
MauricioBiolato Posted January 4, 2019 Author Posted January 4, 2019 Excelent! thank you very much!!!
Recommended Posts