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 Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 04-03-2013
brett forbes brett forbes is offline
Flexsim User
 
Join Date: Oct 2011
Posts: 34
Downloads: 0
Uploads: 0
Thanks: 27
Thanked 3 Times in 2 Posts
Rep Power: 107
brett forbes is on a distinguished road
Red face 3D, Multi Storey Simulation of underground and aboveground

Hi,

I have a simulation, which in practice takes place both underground and above-ground.

I want a below ground simulation of the coal mining process in a 3D model of the underground tunnels, and then the coal to travel on a conveyor to an above-ground simulation.

This is analagous to simulating two floors of a hospital in the Health Care application, with connection of resources, or a two-storey manufacturing layout.

We assume there is a 3D-model of the underground tunnel network that is imported into Flexsim, and then specialised resources are layed out with execution logic.

The key question is, can I fly into my below-ground model to look around, or can I make the background and above ground model invisible?

Has anyone tried this two-level type of model before, and does anyone have advice about whether this can be achieved, or how best to manage this multi-level type of problem?

Please advise

Thanks

Brett
  #2  
Old 04-03-2013
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

Quote:
Originally Posted by brett forbes View Post
The key question is, can I fly into my below-ground model to look around, or can I make the background and above ground model invisible?
Of course you can fly into your below ground model. But if you are using "1st Person" view you can't scroll into a negative height. Just put your ground into a higher position and this problem is solved (nobody can see this difference ).

If you put your objects into a visual tool (p.e. all above ground objects) you can work with the "show contents" option to show / hide your objects.

Greetings

Carsten
The Following User Says Thank You to Carsten Seehafer For This Useful Post:
brett forbes (04-04-2013)
  #3  
Old 04-03-2013
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

You can use another solution which take advantage of how the grafic engine in flexsim works. The key is the position of the "ShowBelow" object. Just push the button in the example
Attached Files
File Type: fsm floor_example.fsm (49.4 KB, 73 views)
The Following 3 Users Say Thank You to Carsten Seehafer For This Useful Post:
Vadim Fooks (04-03-2013)
  #4  
Old 04-04-2013
brett forbes brett forbes is offline
Flexsim User
 
Join Date: Oct 2011
Posts: 34
Downloads: 0
Uploads: 0
Thanks: 27
Thanked 3 Times in 2 Posts
Rep Power: 107
brett forbes is on a distinguished road
Default What if the model is large

Hi Carsten,

Thanks for your suggestions, they were excellent.

Yes, I will have to displace the underground coal mining process upward so it is above the surface, so I can use zooming.

Ideally, I would want to zoom in, and the top floor (i.e. the above ground) disappears, and I can just then see the 3D model of the bottom floor (i.e. underground mining operation).

Please see the picture attached as an example, where the mining is seen from an iso-metric projection. Ideally, it the Flexsim model would look like this, when I was viewing the bottom floor of the model

Also, its pretty big. I have two hundred 1.5km x 1.5km aerial image tiles from them to load in as background (i.e. all inside Visual Tools). the site is 30km x 15km.

The longwall shown in the picture attached is typically 300 m wide, 2m tall, and about 3,500 m long. There are multiple going on at different, widely-spaced areas up to 20kms away underground. The conveyor distance to above-ground is about 9.5kms.

So its pretty big, and spread-out, as are the above-ground operations. Is there a way I can zoom in and just see the underground operations, and then zoom back out and just see the above-ground operations?

Thanks

Brett
Attached Images
File Type: jpg Longwall Mining Actual.jpg (692.9 KB, 198 views)
  #5  
Old 04-04-2013
brett forbes brett forbes is offline
Flexsim User
 
Join Date: Oct 2011
Posts: 34
Downloads: 0
Uploads: 0
Thanks: 27
Thanked 3 Times in 2 Posts
Rep Power: 107
brett forbes is on a distinguished road
Default

Your little example applications is very clever. It greys out one production line when you press the switch. I'm not quite sure how it works though. Can you explain further please?
Brett
  #6  
Old 04-04-2013
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

Please have a look into the new example. Now you can see only below or floor with the switch. The code is in the button of the model gui "OnPress". In the tree you can see also how visual tools can separate the two levels.

Of course you could use this code in a user command if you want more flexibility.

Greetings

Carsten
Attached Files
File Type: fsm floor_2_example.fsm (49.6 KB, 66 views)
  #7  
Old 04-04-2013
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

Quote:
Originally Posted by brett forbes View Post
Your little example applications is very clever. It greys out one production line when you press the switch. I'm not quite sure how it works though. Can you explain further please?
Brett
The code is in the switch, please take a look in "Tools -> Graphical User Interfaces -> YourGui". There you can see the "Switch"-object with the code inside the "OnPress"-node.

Back in the main tree there is a visual tool named "ShowBelow". You get access to this object only via tree. In his properties you can see all his settings.

The idea is to use transparency to gray out one level. The transparency has dependencies with the object position in tree. There is a good chapter in the user manual ("3D Media > Transparency") with an excellent explanation.
The Following User Says Thank You to Carsten Seehafer For This Useful Post:
brett forbes (04-04-2013)
  #8  
Old 04-04-2013
brett forbes brett forbes is offline
Flexsim User
 
Join Date: Oct 2011
Posts: 34
Downloads: 0
Uploads: 0
Thanks: 27
Thanked 3 Times in 2 Posts
Rep Power: 107
brett forbes is on a distinguished road
Default Awesome

Thanks Carsten,

I had opened the "yourGui" inside the Gaphical User Interface, and got as far as seeing the event as a node, but hand't considered clicking on it to reveal the code underneath. Nice.

As you say, you could have the entire upper storey inside a giant visual tool (30 km x 15kms), and use this type of switch or some other device to make everything in the visual tool disappear.

Is this giant container approach the type you would recommend for a two-storey layout over a very large area?

Thanks a lot for the explanation

Brett
  #9  
Old 04-05-2013
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

Quote:
Originally Posted by brett forbes View Post
Is this giant container approach the type you would recommend for a two-storey layout over a very large area?
Yes, this should work. BTW your visual tools should be in the origin coordinate in X and Y to set the positions of the objects very easy because the positions are always based on the upper container object. The Z position of the visual tool could be used to set the height of level. The size of the visual tool is independent from his content.

Greetings

Carsten


Thread Thread Starter Forum Replies Last Post
Sorting and Stacking multi products Simon Zaw Q&A 5 08-05-2014 01:16 AM
Multi Batching Queue Kris Geisberger User Development 4 08-25-2011 12:55 AM
Multi Core Processor Alistair Smitheman Gripes and Goodies 1 04-28-2009 07:43 AM
Multi-Processor Help Davie Stomp Q&A 3 01-27-2008 02:23 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.