<commit_before>===================
Operation Materials
===================

Operation materials are used to model the consumption and production of 
material from buffers by operations.

Different types are available:

* | **start**:
  | Consume (or produce) material at the start of an operationplan.
  | The quantity consumed or produced is proportional to the quantity of the
    operationplan.

* | **end**:
  | Produce (or consume) material at the end of an operationplan.
  | The quantity consumed or produced is proportional to the quantity of the
    operationplan.

* | **fixed_start**:
  | Consume (or produce) material at the start of an operationplan.
  | The quantity consumed or produced is constant and independent of the
    quantity of the operationplan.

* | **fixed_end**:
  | Produce (or consume) material at the end of an operationplan.
  | The quantity consumed or produced is constant and independent of the
    quantity of the operationplan.
    
* | **transfer_batch**:
  | Consume (or produce) material in a number of batches of fixed size
    at various moments during the total duration of the operationplan.

**Fields**

=============== ================= ===========================================================
Field           Type              Description
=============== ================= ===========================================================
buffer          buffer            | Buffer from which material will be moved or transferred
                                    into.
                                  | This is a required field.
operation       operation         | Operation to which the material flow is associated.
                                  | This is a required field.
quantity        double            | Material quantity being consumed or produced per unit of
                                    the operationplan.
transferbatch   double            | Batch size by in which material is produced or consumed.
                                  | Only relevant for flows of type batch_transfer.
                                  | The default is null, in which case we default to produce
                                    at the end when the quantity is positive, or consume at
                                    the start when the quantity is negative.                                  <commit_msg>added warning in doc about low values for the transfer batches<commit_after>===================
Operation Materials
===================

Operation materials are used to model the consumption and production of 
material from buffers by operations.

Different types are available:

* | **start**:
  | Consume (or produce) material at the start of an operationplan.
  | The quantity consumed or produced is proportional to the quantity of the
    operationplan.

* | **end**:
  | Produce (or consume) material at the end of an operationplan.
  | The quantity consumed or produced is proportional to the quantity of the
    operationplan.

* | **fixed_start**:
  | Consume (or produce) material at the start of an operationplan.
  | The quantity consumed or produced is constant and independent of the
    quantity of the operationplan.

* | **fixed_end**:
  | Produce (or consume) material at the end of an operationplan.
  | The quantity consumed or produced is constant and independent of the
    quantity of the operationplan.
    
* | **transfer_batch**:
  | Consume (or produce) material in a number of batches of fixed size
    at various moments during the total duration of the operationplan.

**Fields**

=============== ================= ===========================================================
Field           Type              Description
=============== ================= ===========================================================
buffer          buffer            | Buffer from which material will be moved or transferred
                                    into.
                                  | This is a required field.
operation       operation         | Operation to which the material flow is associated.
                                  | This is a required field.
quantity        double            | Material quantity being consumed or produced per unit of
                                    the operationplan.
transferbatch   double            | Batch size by in which material is produced or consumed.
                                  | Only relevant for flows of type batch_transfer.
                                  | The default value is null, in which case we default to 
                                    produce at the end when the quantity is positive, or 
                                    consume at the start when the quantity is negative.
                                  | Warning: Setting a low value can have a big impact on
                                    the memory size and planning time. What you gain in 
                                    additional accuracy of the plan may not be worth the
                                    extra complexity.                              
{'fraction_non_alphanumeric': 0.12237693665424593, 'fraction_numerical': 0.0, 'mean_word_length': 2.026706231454006, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 27, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3628190', 'n_tokens_mistral': 1023, 'n_tokens_neox': 966, 'n_words': 530}