ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > Flexsim CT > Container Terminal (CT) Library
Downloads

  #1  
Old 12-14-2009
Jamie Santa Ana Jamie Santa Ana is offline
Flexsim User
 
Join Date: Jul 2009
Location: Southern California
Posts: 44
Downloads: 22
Uploads: 0
Thanks: 25
Thanked 4 Times in 4 Posts
Rep Power: 135
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!
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: 440
Downloads: 86
Uploads: 4
Thanks: 171
Thanked 899 Times in 288 Posts
Rep Power: 735
Anthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond repute
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.
The Following 2 Users Say Thank You to Anthony Johnson For This Useful Post:
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: 44
Downloads: 22
Uploads: 0
Thanks: 25
Thanked 4 Times in 4 Posts
Rep Power: 135
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
  #4  
Old 02-18-2010
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
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.
The Following User Says Thank You to Phil BoBo For This Useful Post:
Jamie Santa Ana (02-18-2010)


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 08:47 PM
A simple question about “block” Vic Li Q&A 10 08-27-2009 11:20 AM
block a source ? juan alberto Q&A 4 07-13-2009 02:50 AM
Setting Custom State Francois Perron Q&A 1 04-06-2009 02:37 AM
New custom commands in Downloads link Cliff King Q&A 0 09-24-2007 05:46 PM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.