Go Back   Flexsim Community Forum > Flexsim CT > Container Terminal (CT) Library
FAQ Downloads Calendar Search Mark Forums Read vBExperience Register

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2009
Jamie Santa Ana Jamie Santa Ana is offline
Flexsim User
 
Join Date: Jul 2009
Location: Southern California
Posts: 43
Thanks: 24
Thanked 3 Times in 3 Posts
Downloads: 8
Uploads: 0
Rep Power: 20
Jamie Santa Ana is on a distinguished road
Default Custom Block Assignments

Hello,

I need some help on what exactly to input in the "custom" field under block assignments in the yard planner.

I have one wheeled block and one yard block. Both blocks will hold the same container type. 75% of the containers will go to the wheeled block and the remaining 25% will go to the yard block.

Thanks for any help!
Reply With Quote
The Following User Says Thank You to Jamie Santa Ana For This Useful Post:
zhang xin (12-14-2009)
  #2  
Old 12-15-2009
Anthony Johnson's Avatar
Anthony Johnson Anthony Johnson is offline
Manager of Product Development
 
Join Date: Jul 2007
Posts: 270
Thanks: 53
Thanked 433 Times in 149 Posts
Downloads: 72
Uploads: 4
Rep Power: 329
Anthony Johnson has much to be proud ofAnthony Johnson has much to be proud ofAnthony Johnson has much to be proud ofAnthony Johnson has much to be proud ofAnthony Johnson has much to be proud ofAnthony Johnson has much to be proud ofAnthony Johnson has much to be proud ofAnthony Johnson has much to be proud ofAnthony Johnson has much to be proud ofAnthony Johnson has much to be proud of
Default

You should have two rules in the rules table. Designate the first rule to send the container to the yard block, and the second to the wheeled block. In the custom field of the first rule, add: bernoulli(25,1,0). Leave the custom field of the second rule blank.
__________________
Anthony Johnson
Reply With Quote
The Following 2 Users Say Thank You to Anthony Johnson For This Useful Post:
Jamie Santa Ana (12-15-2009), zhang xin (12-15-2009)
  #3  
Old 02-17-2010
Jamie Santa Ana Jamie Santa Ana is offline
Flexsim User
 
Join Date: Jul 2009
Location: Southern California
Posts: 43
Thanks: 24
Thanked 3 Times in 3 Posts
Downloads: 8
Uploads: 0
Rep Power: 20
Jamie Santa Ana is on a distinguished road
Default

Is there also a way to send containers to different blocks based on more than 2 percentages?

ex: Say I have 2 wheeled blocks and a yard block, how would I send 45% to wheeled block 1, 35% to wheeled block 2 and the remaining 20% to the yard block?

Appreciate any help
Reply With Quote
  #4  
Old 02-18-2010
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 272
Thanks: 158
Thanked 415 Times in 178 Posts
Downloads: 66
Uploads: 12
Rep Power: 387
Phil BoBo has a brilliant futurePhil BoBo has a brilliant futurePhil BoBo has a brilliant futurePhil BoBo has a brilliant futurePhil BoBo has a brilliant futurePhil BoBo has a brilliant futurePhil BoBo has a brilliant futurePhil BoBo has a brilliant futurePhil BoBo has a brilliant futurePhil BoBo has a brilliant futurePhil BoBo has a brilliant future
Default

You should have three rules in the rules table. Designate the first rule to send the container to the yard block, and the second and third to each wheeled block. In the custom field of the first rule, add: bernoulli(25,1,0). In the custom field of the second rule, add: bernoulli(56.25,1,0) because 56.25% of the remaining 80% is 45% of the original total. Leave the custom field of the third rule blank.

It goes down the table in order trying to find a block to use. So 20% would return true in the first row. The 80% that return false in the first row would move on to checking the second row. The 56.25% of those 80% would return true on the second row. Any containers left (about 35% of the total) would return true on the last row because it always returns true.
Reply With Quote
The Following User Says Thank You to Phil BoBo For This Useful Post:
Jamie Santa Ana (02-18-2010)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the inializing mechnism of yard block? zhang xin Container Terminal (CT) Library 6 11-27-2009 05:47 PM
A simple question about “block” Vic Li Q&A 10 08-27-2009 09:20 AM
block a source ? juan alberto Q&A 4 07-13-2009 12:50 AM
Setting Custom State Francois Perron Q&A 1 04-06-2009 12:37 AM
New custom commands in Downloads link Cliff King Q&A 0 09-24-2007 03:46 PM


All times are GMT -6. The time now is 08:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Powered by NuWiki v1.3 RC1 Copyright ©2006-2007, NuHit, LLC
Copyright 1993-2010 Flexsim Software Products, Inc.