question

Thiago M2 avatar image
1 Like"
Thiago M2 asked Ben Wilson commented

Closest location for down time with more than one location

Hi eveyone. I am trying to simulate subsea inspections using a ROV vessel. My idea is to use processor for the subsea equipments and an operator as the vessel. Each one would have a setup time (the necessary time until the next necessery inspection) and process time (the time for the inspection itself done by the operator). For this, I have no problem. The problem is that the vessel has to go to a harbor every 2 weeks and it has to be there for 1 day. I know there is down time (time table) or break room logic to apply, mas I have 2 harbor options and I want the vessel to go the closest one when the 2 weeks finish. I could not find anywhere how to use more than one place for down time. I actually thought about using processors for this with the highest priority, using a setup time of 2 weeks and a process time of one day for each, simulating the time needed in the harbor. I see 2 problems with this: 1) I cannot have the same priority for the 2 harbor processors, so the operator (vessel) could go to one that is actually more distant. 2) The setup times between the processors have to be synchronized, so the unused processor would have to reset the setup time, even though the operator did not go there. I attached a very rough version (it already contains some codes for placing the processors, because I'm gonna use a lot of subsea equipments).

FlexSim 19.0.0
flexsim 19.0.0problem with the model
vessel-harbor.fsm (22.2 KiB)
· 3
5 |100000

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

Michael Machado avatar image Michael Machado commented ·

Please, go to our online tutorial and see how Process Flow and FloWorks features works. Also, let us know which licenses you are using (Express, Student, Educationa or son on). If you wanna schedule an online demo, we can work on that to support you. Thanks,

https://docs.flexsim.com/en/20.2/Tutorials/ProcessFlow/Tutorial1UsingSharedAssets/UsingSharedAssetsOverview/

https://docs.flexsim.com/en/20.2/modules/FloWorks/manual/Concepts.html

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Michael Machado commented ·

I don't think FloWorks is applicable.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Thiago M2, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
2 Likes"
Jason Lightfoot answered Thiago M2 commented
Yes, use a timetable for the vessel/operator and instead of making the operator 'down' or stopped, create a task sequence for it to go to the nearest harbour and wait for 1 day.



· 6
5 |100000

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

Thiago M2 avatar image Thiago M2 commented ·

Thank you. But should a I use a processor for the harbor or other object for it?

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Thiago M2 commented ·

A processor is fine, because you can call the operator to assist for setup and / or processing. Both activities will bind the operator by an utilize task. This has got the advantage you can free the operator (vessel) in case of an emergency by another event or you can preempt him and he must continue later the time at the harbor for a complete new setup or just for the remaining time.

1 Like 1 ·
Thiago M2 avatar image Thiago M2 commented ·

Guys, I was very unsuccessful with the task manager. But I managed a solution that solves almost all problems. As you you can see, there is an error, because I tried to prevent him to go to the second harbor by clearing all objects in the second harbor. I thought that by clearing all objects, the operator wouldn't go there. I was wrong. Is there a way to prevent the error?vessel_inspection.fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

You can see from the message that you're trying to get the Vessel objet to load something from the harbor2 object but don't give it a valid object to load - the 'something' doesn't exist as you've deleted it. Either don't delete it, or don't create a job for it. Or preempt and abort the job using another task sequence when you delete the objects.


0 Likes 0 ·
Thiago M2 avatar image Thiago M2 commented ·

I tried preempting. Isn`t there any code snipet that just skip the nest tasksequence? I think it would work.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Thiago M2 commented ·

Upon what informaton would the skipping be based?

0 Likes 0 ·