Discord
@hash/process
Behavior
6
156
4
Public

Process Modeling Library

Published behaviors for creating process models in HASH.

The HASH docs have detailed documentation on building Process Models in HASH


Process models allow you to represent systems or organizations which perform sequences of tasks. By chaining together delays, resource usages, and other blocks representing real-life tasks and events, you can simulate processes such as assembly lines, company workflows, and supply chains.

HASH provides the Process Modeling Library to make it easy for you to build your models. The library is easily extensible with custom behaviors that you can write to accurately model your system.

Building process models allows you to answer questions about your system. They can help you improve resource allocation, reduce cycle-time, and identify other optimizations that can be made to your organization or system. This is especially effective when used alongside HASH's Experiments to explore multiple scenarios and configurations.

A Process Model

Process models are composed of blocks, of which there are currently nine types. These blocks are published behaviors that you use in the behaviors array just like any others, and they execute in sequence. Objects are passed through the different blocks, representing a product on an assembly line, a bill being processed, etc. Each blocks in the behaviors array has a queue linked to it, where those objects are stored.

Each block operates in three parts:

  1. The block retrieves all objects in its queue.
  2. The block then performs a function, such as modifying on object property or seizing a resource from the agent.
  3. The block puts modified objects back into its queue, or into the queue of the following block.

The only exception to this is the Sink block. Since it represents the end of a process, it does not send objects into a new queue.

Process blocks

There are nine types of process blocks currently available:

  • Source
  • Sink
  • Delay
  • Seize
  • Release
  • Service
  • Enter
  • Exit
  • Select Output
  • Time Measure Start
  • Time Measure End