main content

modeling machine failure -凯发k8网页登录

overview

this example shows how to model random failures and scheduled maintenance of a machine during regular operation. in the model, the machine can transition between three different states.

  • regular operation

  • planned maintenance

  • random failure

in the regular operation state, the machine acquires a worker and processes raw materials to produce finished products. in the planned maintenance state, the machine gets into a service mode, and after a fixed service time it returns to regular operation. the machine can also sporadically breakdown and enter a random failure state. the breakdown repair time is also random and the machine returns to regular operation after the repair is complete. during the planned maintenance and the random failure states the machine acquires a serviceman.

after fixing a sporadic machine failure, the following options are available to continue operation.

  1. the operation resumes with the existing semi-processed material in the machine.

  2. the operation resumes by discarding the semi-processed material as a waste and by taking the next raw material for processing.

structure of the model

the model contains the following major components.

  • raw material source: generates raw materials periodically to be sent to the storage.

  • material storage: represents the storage space of the raw materials.

  • maintenance scheduler: generates an entity to trigger a scheduled machine maintenance.

  • machine: models a machine which can receive entities from maintenance scheduler and transitions between regular operation, planned maintenance and random failure states.

  • store: represents the departure of all finished goods.

  • worker pool: represents the available worker resource for regular operation.

  • serviceman pool: represents the available service man resource for scheduled maintenance and failure repair.

  • animatecontrol: models the switch to turn the animation on or off.

structure of the machine block

the machine block contains two discrete-event chart blocks, namely 'breakdowngenerator' and 'operatingstates' along with the resource acquirer and the resource releaser blocks.

  • breakdown generator: sends a message, 'breakdown', to indicate the breakdown of the machine and accepts a message, 'repairdone', that indicates the completion of the repair. random 'breakdown' messages are generated from a gaussian distribution.

  • operating states: encapsulates three possible machine block states which are 'breakdownaction', 'operationaction' and 'maintenanceaction'. on entering any of these states, the first action is to acquire the required resource and proceed with further actions.

operating states

  • breakdown: when entering the 'breakdownaction' state, the machine requests a serviceman who performs the repair action. after the repair is complete, the machine releases any acquired resources, and prepares to exit the 'breakdownaction' state. the random time spent for a repair is generated from a gaussian distribution. if the machine breakdown interrupts any ongoing process, after the repair, the machine either terminates it to start a new process or resumes the interrupted process. if a scheduled maintenance overlaps with a breakdown repair time, additional time is taken to complete the maintenance.

  • maintenance: when entering the 'maintenanceaction' state, the machine requests a serviceman who performs the service action. after the service is complete, the machine releases any acquired resources and exits the 'maintenanceaction' state. if a breakdown repair time overlaps with a service time, additional time is taken to repair the machine. in the event of a scheduled maintenance, the machine waits to complete any pending operations and only after their completion it enters the 'maintenanceaction' state.

  • machine operation: when entering the 'operationaction' state, the machine requests a worker before proceeding with its operation. then the machine fetches raw materials and switches to the processing state. after the processing is complete in a fixed duration, the machine releases the finished product and switches back to an idle state during which it waits for raw material. if the operation state is interrupted by a breakdown event, you can specify the action of the machine to resume or to terminate the operation after the repair.

model parameters

  • processing time: time required to process the raw material to a finished product.

  • maintenance time: time required to service the machine during periodic maintenance.

  • mean time between failures (mttf) : average time between two consecutive breakdowns. breakdowns are random events that are generated from a gaussian distribution.

  • standard deviation in failure: standard deviation of the gaussian distribution representing breakdowns.

  • mean time to repair (mttr): average time to repair a machine in a breakdown state. random repair time is generated from a gaussian distribution.

  • standard deviation in repair: standard deviation of the gaussian distribution representing the repair time.

  • resume operation post repair: checkbox to resume any pending operations in the machine after a breakdown. otherwise, the materials are discarded and a new operation starts.

visualization

enabling the toggle switch labeled 'automationcontrol' allows you to visualize the machine operations listed below.

  • raw materials are transferred to the storage, sent to the machine's processing queue, and processed by the machine into a finished product.

  • machine acquires a worker from the worker pool to operate. the worker is sent back to the pool during breakdown or maintenance.

  • machine acquires a serviceman from the pool in the event of a breakdown or a maintenance. when the service or repair is complete, the serviceman is sent back to the pool.

  • the material is sent to the waste bin to be discarded.

  • the animation displays the quantity of the materials that are unloaded, in storage, wasted and processed.

  • the animation also displays the quantity of available workers and serviceman.

see also

| |

related topics

网站地图