how can I add a changeover to a processor to change its state?
how can I add a changeover to a processor to change its state?
Hi @ahmedmedhat, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of 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.
You can use "object.setState()" to change the state of a fixed resource or task executer. However, objects generally have a default state logic that will overwrite the previous state. For example, a processor is always going to change into the state "processing" when it starts to process an item. So in order to set a state, you have to be aware of the timing.
A decent solution is generally to react to an event that changes the state of the processor in an Event Triggered Source in Process Flow. Then have the token wait for 0s so the default state change happens first, then change the state to whatever you want which will stick until the next event that causes the processor to switch state again.
The example model essentially replaces the "Setup" state with the "Changeover" state that way.
If you use a custom state profile like I suggested in your other question then the timing doesn't matter, since only the default state profile is controlled by the internal logic.
13 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved