question

Pranav Purohit avatar image
0 Likes"
Pranav Purohit asked Sam Stubbs answered

How to link real time locations to Task Executer movement

Hello All,

I am quite new to FlexSim and currently working on logistics transportation simulation project. I am trying to input real time position tracking data ( in latitude and longitude) for task executor's movement in the simulation model.

To elaborate the case:

Say in real time, my ship had the journey as following

Date Location Latitude Longitude
Start Date and location Sept. 22, 2016 Egypt 29.57.54 N 32.35.09 E
Current Date and location March 19,2017 UK 50.12.21 N 1.42.46 W

When I run the simulation, I want Task Executors to follow these routes on respective dates.

Also this input information will be updated time to time and I need my simulation model to catch that updated information each time for precised results.

If you could share any ideas to model with these constraints or examples of similar scenario, that would be a great help.

Thank you very much.

Regards,

Pranav

FlexSim 16.2.2
linking real time data to simulation
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered

The speed of a Task Executer will be determined by its acceleration and maxspeed variables. If you want the Task Executer to match your journey speed you'll have to figure out what speed you need it to be travelling.

As for traveling to specific locations. You can use a traveltoloc task in process flow. With the X and Y coordinates representing your latitude and longitude coordinates. If at any time you want to track your Task Executer just get the x and y position of it.

Is this what you are asking?

· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Pranav Purohit avatar image Pranav Purohit commented ·

Hello Sam,

Thank you very much for your response. Solution you provided is on similar track.

I appreciate your efforts in getting the solution to my problem.

I will convert latitude and longitude positions to X and Y coordinates. But the locations will change every time. So instead of inputting data separately every time for every activity, I just want all activities to pull the input data at the start of simulation. Is there any way I can do that?

Thanks much.

Regards,

Pranav

0 Likes 0 ·
Matt Long avatar image Matt Long Pranav Purohit commented ·

You can pull data into a Global Table from Excel and read data from that table.

1 Like 1 ·
Sam Stubbs avatar image Sam Stubbs ♦ Pranav Purohit commented ·

I'm not sure I completely follow, but you could add the x and y coordinates to a label or variable that can be dynamically changed, instead of hard coding the x and y for each travel activity. That way you can change those coordinates dyanamically in your logic

0 Likes 0 ·
Pranav Purohit avatar image Pranav Purohit Sam Stubbs ♦ commented ·

Sam,

Thank you very much for coming back to me. I was trying to pull the data using global table which is linked to excel input. But there are other variables as well that I need to consider. Your idea of creating labels looks like will work good. I will check if I can do that.

0 Likes 0 ·