question

David Seo avatar image
0 Likes"
David Seo asked Ralf Gruber answered

how to set resource to global type?

How can I set the Resource activty to global type not local?

The default 'Resource' type is set local and grey not active. How can I change it to global type?

FlexSim 17.1.2
set resource to global type
5 |100000

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

Ralf Gruber avatar image
4 Likes"
Ralf Gruber answered David Seo commented

David,

a resource in a General Process Flow is always global. That is, why the property "Type" is grayed out. If you use it in a subflow or Process Flow instance, by default it is available only locally, but you can use the menu option to make it available globally.

Good luck

Ralf

· 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.

David Seo avatar image David Seo commented ·

@Ralf Gruber

When selecting the General Process Flow menu in the top main menu or the left Tool Box menu and drag and drop the Resource activty to the blank process flow page, the type of Resource is already 'Local' not 'Global' type.

I can't find where to set or change the type?

Waht's the problem?

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ David Seo commented ·

You need to use an instanced Process Flow - a Fixed Resource Flow , Task Executer Flow, or Sub Flow:

A General Process Flow has only one instance, so it doesn't make sense to make it global. The other three types can have more than one instance. In those cases you need to decide if the Resource is shared across all the instances or if each instance has its own local Resource.

0 Likes 0 ·
flows.png (6.2 KiB)
David Seo avatar image David Seo Matthew Gillespie ♦♦ commented ·

@Matthew Gillespie

Please look my attachement below.

model-14-shared-resources.fsm

The attached model has General Process Flow and the resource activity of GLOBAL.

How can I do like that?

When selecting Add a Fixed Resource..., a Task Executer .., a Sub Flow ... menu option, the tab page name is not same with Process Flow like attached image.

The model is training course book model from your office.

I want your more detail explanation.

0 Likes 0 ·
David Seo avatar image David Seo commented ·

Hi. @Ralf Gruber

You said a General Process Flow is always global and it means 'Resource' activity to be Global type nnnnnot local. But when I drag and drop 'Resource' actity in General Process Flow grid, it is always 'Local' type not global like the top captured.

Why it it? What's the matter?

0 Likes 0 ·
Ralf Gruber avatar image Ralf Gruber ♦ David Seo commented ·

David,

in a General Process Flow, the Type is not set to "Local"! The edit field is grayed out so the information in it is not valid. As Matt explained, since a General Process Flow is always global, the resources in it have to be as well. By the way, it is never a bad idea to consult the user manual to clarify. This is, what the section on the Type property says:

"Type

Resources can be defined globally or locally. If the Resource is in a General Process Flow or connected to a Group or an array, the Resource will be globally available and this property will be grayed out. Otherwise, it can be set to Local so only tokens in the same Process Flow instance will be competing for the same resources. If Type is set to Local and Reference is linked to a Dispatcher, Task Executer or Fixed Resource object, the object will be duplicated for each instance of the Process Flow. For more information see Global and Local Types."

If anywhere a field is grayed out, just ignore it.

Ralf

1 Like 1 ·
David Seo avatar image David Seo Ralf Gruber ♦ commented ·

@Ralf Gruber Thank you for your kind and detail explanation.

I don't know if this question should be entered as a new question.

But I think the happened problem in the attached model will be likely to the reason of ' Local type'.

In the above model, the AGV of Resource(Local type set; I can't change it to 'Global') disappear out of the model when click the stop button.

When two AGVs are located on the 2nd floor and stop the model run, two AGV disappear out of the model.

And when I re-run the model, the model show the error.

Why is it happen? Not local or global type reason?

I want to know the reason and how to fix it.

Thanks.

0 Likes 0 ·
Ralf Gruber avatar image
0 Likes"
Ralf Gruber answered

David,

after you moved the AGV up with the elevator, you move the AGV into the Queue_2nd. It remains there, until it is moved back into the elevator after unloading. If you hit reset, while it is in the queue, it is deleted from the model. This has nothing to do with the local/global setting for the resource type, but with the queue's reset logic.

Then you have a lot of travel to loc activities with no coordinates set, which I do not understand.

Ralf

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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