Cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Loading of a train with MUs

Creator
Creator

The train starts in intervals, which are produced by a source. And the loading/unloading is done with global variables and loading stations. But I think just the method is wrong, because the method for unloading the train works perfectly. I put it in attachement for you. Just the method for loading doesn´t work like I want it to work.

 

I also put my simulation in attachement, it´s the Plant Simulation 13.1 version, maybe you can open it somehow.

Re: Loading of a train with MUs

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

I can it only open in the viewer, so I'm unable to help you. For the second loading of the trains you dont have assigned a method in the transferstation, I guess this is wrong, there you need also to calculate the number of containers.

For checking the function set a break-point in the method, where you reduce the capa of the train. Then you can check the behavior.

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Loading of a train with MUs

Creator
Creator

Finally I made it work, thanks a lot!

 

I have one last question: After around 200 days of simulation, at one point one of the buffers is empty.

The transferstation therefore doesnt't give a MU to the Straddle Carrier that passes the sensor, which causes a problem later on.

 

I tried to create a sensor 1m before the sensor of the transferstation to make the straddle carrier wait until the buffer is not empty anymore, but it didn't work. The method was the following:

 

waituntil Buffer_Import.occupied = true

 

Do you have any suggestions to make it work, so my simulation can run a whole year?

Re: Loading of a train with MUs

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

you need to stop the carrier:

 

@.stopped:=true
waituntil Buffer_Import.occupied = true
@.stopped:=false
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Loading of a train with MUs

Creator
Creator

Do you know what this error in the "Experimentverwalter" means?

 

Re: Loading of a train with MUs

Creator
Creator

I fixed it. Thanks for everything, my 4 simulations work perfectly now!

Re: Loading of a train with MUs

Creator
Creator

Hi Steffen,

 

I have to present my simulation in university and therefore I neew to know something about the method I put in attachement. It´s the train loading method you helped me with. Except from this method, I understand everything in my simulation. But what exactly does the "if..then" lines at the end say? 

 

Thanks in advance,

Lukas

Re: Loading of a train with MUs

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

his is the basic structure of the user control of the transferstation (formated by Plant Simulation)

it is called twice and passes a parameter to differ between this two calls

(1 for entrance and 2 for exit of the transferstation)

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net