question

Sharon L3 avatar image
0 Likes"
Sharon L3 asked Sharon L3 commented

How to use Operator for breakdown

I have a model built in 3D environment using processors. I have breakdown status assigned to each processor and all processors share one technician for repair. Is it possible to simulate the repair technician? i.e. when machine goes down it calls the technician and other machines need to wait for the operator.

FlexSim 19.1.1
operatorbreakdown
· 2
5 |100000

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

Sharon L3 avatar image Sharon L3 commented ·

treenode current = c;

treenode profile = i;

int toState = eventcode;

int fromState = getstatenum(c);

if(toState = 11)

{ Object object = /** \TaskExecuter: *//***tag:object*//**/current.centerObjects[1]/**/;

Object involved = /** \nInvolved: *//***tag:involved*//**/ownerobject(c);/**/;

requestoperators(object, involved, involved, 1,0,0);

}

else if(fromState = 11)

{ Object object = /** \TaskExecuter: *//***tag:object*//**/current.centerObjects[1]/**/;

Object involved = /** \nInvolved: *//***tag:involved*//**/item/**/;

freeoperators(object, involved);

}

0 Likes 0 ·
Sharon L3 avatar image Sharon L3 commented ·

Trying to achieve this through code but does not seem to work...

0 Likes 0 ·

1 Answer

·
Sebastian Hemmann avatar image
0 Likes"
Sebastian Hemmann answered Sharon L3 commented

There is a "Stop Object and Call Operator" function in the MTBF MTTR option. Maybe this is a good base for the solution!?


· 1
5 |100000

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

Sharon L3 avatar image Sharon L3 commented ·

Thank you Sebastian. I'll check it out.

0 Likes 0 ·

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.