Skip to content

Batch#

🔒 Batch.Show

Overview#

In many industries, Resources often work in Batch mode to optimize efficiency and reduce processing time. These systems handle Materials in groups, with all Materials being loaded, processed, and unloaded together. This method of operation helps to fully utilize equipment capacity and minimize the overall cycle time for each Batch. In Critical Manufacturing MES, the Batch entity is heavily interconnect with the Resource Job entity.

Batch Lifecycle#

A Batch typically progresses through several key stages in its lifecycle, from initial creation to its closure when all Materials have been processed and unloaded. These stages ensure that materials are efficiently managed, tracked, and processed in a controlled manner. There are two parallel state models: the Loading State that tracks the Batch Load lifecycle, and the System State that tracks the Main Batch lifecycle. The Batch Load lifecycle is determined primarily by the lifecycle of the Batch Materials.

Loading State#

Below is a diagram that shows the transitions between different states in the loading process:

graph TD
    A1[Not Loaded] --> A2[Loading]
    A2 --> A1
    A2 --> A3[Loaded]
    A3 --> A2
    A3 ---> A1
    A3 --> A4[Unloading]
    A4 --> A5[Unloaded]

classDef mermaid_title color:#000, fill:#fafafa, stroke:#fafafa, stroke-width:0x, font-size:100%, font-weight:200;
classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden;
classDef mermaid_initial_state color:#000, fill:#d7e4bd, stroke:#92d050, color:#000, stroke-width:3px, font-size:100%;
classDef mermaid_final_state color:#000, fill:#a7e2f2, stroke:#65CDE8, color:#000, stroke-width:3px, font-size:100%;
class Title mermaid_title
class Start mermaid_start
class A1,A2,A4,A3 mermaid_initial_state
class A5 mermaid_final_state

System State#

Below is a diagram that shows the transitions between different system states in the Batch lifecycle:

graph TD
    A1[Created] ---> |Release| A2[Released]
    A1 --> |Cancel| B1[Canceled]
    A2 ---> |Unrelease| A1
    A2 ---> |All Materials <br>Loaded| A3[Queued]
    A3 ---> |One Material <br>Unloaded| A2
    A3 ---> |Track In| A4[In Process]
    A4 ---> |Abort| A3
    A4 --> |Track Out| A5[Processed]
    A5 --> |All Materials <br>Unloaded| A6[Closed]
    A2 --> |Cancel| B1
    A3 --> |Cancel| B1

classDef mermaid_title color:#000, fill:#fafafa, stroke:#fafafa, stroke-width:0x, font-size:100%, font-weight:200;
classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden;
classDef mermaid_initial_state color:#000, fill:#d7e4bd, stroke:#92d050, color:#000, stroke-width:3px, font-size:100%;
classDef mermaid_final_state color:#000, fill:#a7e2f2, stroke:#65CDE8, color:#000, stroke-width:3px, font-size:100%;
class Title mermaid_title
class Start mermaid_start
class A1,A2,A4,A3,A5 mermaid_initial_state
class A6,B1 mermaid_final_state

The table below provides a summary of the key states in the Batch lifecycle and their corresponding descriptions. It shows how the Batch transitions through these states and highlights the points at which Materials are handled.

State Description
Created Batch is created. Materials can be assigned to it. Materials can be loaded based on property LoadStartMode.
Released Batch is fully formed – materials cannot be added or removed from the batch.
Queued All Batch Materials are loaded.
Loaded Batch is fully loaded.
In-Process Batch is in process.
Processed Batch is processed. Batch Materials can be unloaded.
Closed All Batch Materials are unloaded. Batch is closed / dissolved.

Table: A summary of the Batch Lifecycle, describing the interconnections between the Loading State and the System State diagrams.

Batch Material Lifecycle#

Below is a diagram that shows the stages in a Batch Material:

graph TD
    Start--> |Assign to Batch| A1[Not Loaded]
    A1 ---> |Load Material & <br>Release Batch| A2[Loaded]
    A2 ---> |Unload Material &<br> Unrelease Batch| A1
    A2 --> |Track In| A3[In Process]
    A3 --> |Track Out| A4[Processed]
    A4 --> |Unload Material| A5[Unloaded]


classDef mermaid_title color:#000, fill:#fafafa, stroke:#fafafa, stroke-width:0x, font-size:100%, font-weight:200;
classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden;
classDef mermaid_initial_state color:#000, fill:#d7e4bd, stroke:#92d050, color:#000, stroke-width:3px, font-size:100%;
classDef mermaid_final_state color:#000, fill:#a7e2f2, stroke:#65CDE8, color:#000, stroke-width:3px, font-size:100%;
class Title mermaid_title
class Start mermaid_start
class A1,A2,A4,A3 mermaid_initial_state
class A5 mermaid_final_state

Sequence Of Steps#

The necessary steps for correctly using a Batch are the following:

  1. Create a Resource.

    Note

    The Scheduling Type must be Batch. For more information, see Manage Batching.

  2. Create a Material.

  3. Create a Container.

Available Pages#

Dive into the pages below to explore more about Batch:

Main Page#

Generic Operations#

Specific Operations#