# Tutorial Exercise 2

## Exercise Information

Five tonnes of material must be transported from one station to another, a locomotive must travel from the empty station to the loaded one, going through a 300 meters rail. The locomotive can carry 500 kilograms on each trip, going at a velocity of 10 m/s, both coupled and uncoupled.

## Creating objects

In order to achieve the solution for the problem, you should create the following objects:

• Create one Source Train.
• Create three Rails, then resize Rail2 xvalue to 300. Connect Source Train to the Rail1 (using the A key) and then connect Rail1 to Rail2 and Rail2 to Rail3 via proximity.
• Create two RailControlPoint and place one on Rail1 and the other one on Rail3. The RailControlPoints should change color if they are connected correctly to the Rails. We recommend the creation of the RailControlPoints in a empty space and, after that, you can place it on the Rails.
• Create two Stations, then connect its center port (using the S key) to the RailControlPoint on Rail1 and the other station to RailControlPoint on Rail3.
• On the initial Station, set the Max Weight to 5000 (5 tonnes) and, on the other one, set Start Weight and Max Weight to 5000 (5 tonnes).

Your model should be looking like this:

## Processflow Configuration

In order to achieve the solution for the problem, you should create the following processflow tasks:

• Create a Schedule Source.
• Create a CreateTrain.
• Create a MoveTrain.
• Create a LoadWagon.
• Create a MoveTrain.
• Create a UnloadWagon.
• Create a Decide.
• Create a Sink.

Your processflow should be looking like this.