User Manual for Materials Consumption Simulator

中文版 物料消耗模拟器用户指南
Materials Consumption Simulator Materials Consumption Simulator

1. Why Simulate

1.1. The Base Scenario C0

Imagine you are the Project Manager (PM) overseeing a single-center randomized controlled trial (RCT). The trial design is presented in Figure 1.

Figure 1. Base Scenario C0

The trial protocol specifies that 40 patients who meet the inclusion and exclusion criteria will be randomized into two treatment arms: Arm T and Arm R, with an allocation ratio of 1:1. Each patient will receive two kits of materials, one on Day 1 and one on Day 14.

The theoretical consumptions of materials is relatively straightforward to calculate:

Since this is a single-center trial, it is relatively straightforward for you, as the PM, to ensure that the correct amount of materials are shipped to the center. In this case, you can justify that at least 40 kits of T and 40 kits of R should be shipped to the center to cover the expected consumption. However, to account for potential unforeseen circumstances, you decide to add a small buffer. Based on your experience and historical data, you anticipate a 5% chance of re-dispense due to various factors such as:

To mitigate the risk of running out of materials, you decide to ship an additional 5% of the original required amount for each arm. This results in 42 kits for T and 42 kits for R.

C0 is a clear example of how, in trials with simple logistics and predictable needs, a manual approach can be sufficient, making simulations unnecessary for material supply planning.

1.2. The Alternative Scenarios Ccenter=2

You’re facing significant pressure to advance the timeline of your trial. To accelerate patient accrual, you decide to expand from a single-center to a multi-center RCT. Now, you have two centers to manage. The key question becomes:

Let’s break down the questions and challenges you're likely facing:

Central Randomization and Patient Enrollment Distribution

Under the framework of central randomization, patients are randomly assigned to either Arm T or Arm R. Since the total number of patients across all centers is fixed at 40, there are 41 possible enrollment outcomes for the two centers—ranging from 0 to 40 patients being enrolled at Center 1, with the remaining patients assigned to Center 2. Each outcome results in a different combination of patients in each arm at both centers.

Uncertainty in Material Requirements

Given the uncertainty in how patients will be distributed across the centers, it’s challenging to accurately predict how many materials should be shipped to each center.

The simplest, most conservative approach might be to send 40 kits of T and 40 kits of R to both centers. However, this will lead to overstocking at all centers. The actual material consumption could end up being 200% of the theoretical amount, which would significantly increase costs and resource wastage — an unacceptable outcome.

To avoid overstocking and reduce unnecessary waste, you consider an alternative strategy: Ship 30 kits of T and 30 kits of R to each center. This ensures that materials are distributed more reasonably, and the consumption would increase to only 150% of the theoretical consumption (rather than 200%). While this approach is still more than the minimum needed, it offers a more balanced solution, covering potential variations in patient enrollment without excessive overstock.

In Real World

Instead of shipping all the materials at once, you consider a more adaptive shipping strategy. This allows you to adjust material shipments based on the actual enrollment status of each center over time, reducing the risk of either overstocking or running out of materials. Here’s how it could work:

Of course, you have to specify follow parameters:

1.3. Quick View of Simulation

This is where simulation becomes invaluable. By using simulation, you no longer need to rely on simple, deterministic calculations. The simulation accounts for the uncertainty in how patients will be distributed across the centers and how materials will be consumed. With this approach, you can identify the optimal supply strategy that balances the need to ensure adequate supply without excessive overstocking or stockouts. And you can make data-driven decisions that improve the accuracy and efficiency of your clinical trial logistics.

At this stage, we understand that diving into the details of how to carry out a simulation might seem overwhelming, so we will focus on presenting the key evaluation results directly:

Table 1. Various Supply Strategy

# Supply Strategy Coverage Theoretic
Consumption
Actual
Consumption
Inflation Ratio
1 Single Shipment of 40 Ts and 40 Rs 100% 40 Ts and 40 Rs 80 Ts and 80 Rs 200.0%
2 Single Shipment of 30 Ts and 30 Rs 99% 40 Ts and 40 Rs 60 Ts and 60 Rs 150.0%
3 Multiple Shipment with Initial 20 Ts and 20 Rs
Supply 5 Ts and 5 Rs if any stock is under 5
99% 40 Ts and 40 Rs 57 Ts and 57 Rs 142.5%
4 Multiple Shipment with Initial 10 Ts and 10 Rs
Supply 5 Ts and 5 Rs if any stock is under 5
98% 40 Ts and 40 Rs 56 Ts and 55 Rs 137.5%
5 Multiple Shipment with Initial 10 Ts and 10 Rs
Supply adaptively if any stock is under 5
96% 40 Ts and 40 Rs 50 Ts and 50 Rs 122.5%

The short answer is that Scenario #4 or Scenario #5 are the most recommended options, with actual material consumption predicted to be between 123% and 138% of the theoretical consumption. This range provides a more realistic estimate of the materials required, and is much more efficient than preparing 150% or even 200% of the materials, which would lead to overstocking and unnecessary costs.

In the following sections, MACROLIB will walk you through the underlying mechanisms of the Monte Carlo simulation used to model materials consumption. We’ll cover:

Finally, we will introduce the Warehouse: a collection of advanced examples that demonstrate real-world use cases and simulation outcomes. These examples will serve as a reference, helping you better understand how to apply the simulation in different trial contexts.

2. How to Simulate

Here’s a quick and easy version to help you explain the idea to your colleagues without getting bogged down in technical details:

By repeating these simulations many times (often thousands of iterations), instead of relying on a single, potentially inaccurate estimate, you get a range of possible outcomes, which helps you make more informed decisions — you’re not just guessing; evidence is based on a wide range of potential scenarios.

If you’re the type who likes to get into the technical details and really understand how it all works under the hood, don’t worry — we’ve got you covered. The following sections will break down the Monte Carlo simulation process in plain English, so even if you don’t have a background in statistics, you can still follow along and get a solid grasp of how the simulations work and how to interpret the results.

2.1. Objective Function

A robust material supply strategy should primarily address:

One side is ensuring that each center has enough stock available to meet the needs of patients when they visit to claim their study materials. This is essential to maintaining trial integrity, as failure to dispense materials according to the protocol can have serious consequences.

However, the other side is avoiding overstocking at centers. While ensuring that sufficient stock is available is crucial, overstocking can be equally problematic. Excessive stock levels at centers lead to wastage and inefficiency.

Additionally, depending on the context, other factors should be carefully eluvated:

In each case, optimality is about balancing the trade-offs between availability, cost, storage complexity, and product life cycle. Depending on the specific product and trial requirements, the optimal strategy may prioritize one or more of these factors.

2.2. Complex System

In the real world, clinical supply chains don’t operate in isolation. They are shaped by multiple dimensions that constantly interact with each other.

Figure 3. Complex System for Clinical Trial Material Supply

These dimensions include:

Once both the trial design and logistics are finalized, the supply strategy can be formulated to ensure the right amount of materials are available at the right time. we can apply different strategies to manage material distribution and resupply. For example, Table 1 (provided later in this section) illustrates various supply strategies for a multi-center trial (Ccenter=2).

Take Supply Strategy #4 as an exmple:

2.3. Monte Carlo Simulation

Now, we can perform the Monte Carlo procedure to evaluate the complex system

  1. Create a group of patients, allocate treatment arm according to the randomization plan, simulate the date of enrollment and subsequent date of dispensing;

    Figure 4. Monte Carlo Simulation Step A


  2. Create a group of centers, add the initial supply according to the supply strategy;

    Figure 5. Monte Carlo Simulation Step B


  3. Advance trial day by day, dispense the materials according to the schedule of visit;

    Figure 6. Monte Carlo Simulation Step C


  4. Check the stock after every material dispensing. If the stock under pre-specified threshold, re-supply is triggered. The materials will be restock after shipment period;


    Figure 7. Monte Carlo Simulation Step D


  5. Run trial till the end. Anytime any center fails to dispense materials, the simulation will be recorded as failure. Otherwise, the number of supply (initial supply and re-supply) will be collected;
  6. Repeat A to E certain times to stablize the simulation outcomes.

3. Parameters Specification

Figure 8 presents the input panel for Simulator.

Figure 8. Input Panel

3.1. Trial Design

The trial protocol provides crucial information that forms the foundation for your simulation. From the protocol, the following key parameters are extracted:

Table 2. Example of Treatment Label and Allocation Ratio

Trial Protocol Input Panel
Treatment Arm Allocation Ratio Treatment Label Allocation Ratio
Example 1: Placebo Controlled
Test 2 T 2
Placebo 1 P 1
Example 2: Dose Ranging
Placebo 1 P 1
Low Dose 1 L 1
Mid Dose 1 M 1
High Dose 1 H 1

3.2. Logistic

Logistical factors, although rarely presented directly from the trial protocol, have a significant impact on the outcomes of the simulation. These factors play a crucial role in determining how materials are handled and distributed throughout the trial.

By taking into account these logistical components, MACROLIB ensures that the simulation reflects more realistic, real-world scenarios. This allows for a more accurate estimation of material requirements and helps in the planning of resources and timelines for trial execution.

3.3. Supply Strategy

The Supply Strategy refers to the procedures used to manage the flow of materials throughout the clinical trial. It ensures that the right quantity of materials is available at the right time and place, optimizing resource usage and reducing the risk of shortages or overstocking. This strategy is broken down into three main components: Initial Supply, Trigger for Re-supply, and Re-Supply.

3.3.1. Initial Supply

The Initial Supply refers to the amount of material that needs to be available at the start of the clinical trial to ensure that patient enrollment and treatment begin smoothly.

3.3.2. Trigger for Re-supply

The Trigger for Re-supply defines the point at which additional materials need to be shipped to the clinical trial sites. When the stock at a clinical site reaches a pre-defined minimum level, a shipment is triggered to restock the site. Shipments can take time, ensuring that materials are sent ahead of time before the stock runs low.

3.3.3. Re-Supply

Re-Supply refers to the process of restocking materials at clinical trial sites during the conduct, ensuring continuous availability of the required items. There are two major modalities:

3.4. Number of Simulation

To ensure the reliability and stability of the simulation outcomes, MACROLIB recommends conducting at least 100 iterations for each simulation. This helps stabilize the results and reduces the potential variability caused by random fluctuations in the data. While 100 iterations is the minimum recommended for general accuracy, the more iterations you run, the higher the reliability of the outcomes.

However, due to current resource limitations, MACROLIB only provides the option for a simulation of 10 iterations by default. This limited number is suitable for basic exploratory analysis but may not provide the full level of accuracy required for more complex simulations.

For users needing more intensive simulations or higher iteration counts, we encourage you to contact the Help Desk. Our team can assist in providing a customized solution that fits your specific simulation needs and resource requirements.

4. Intepretation

The simulation provides valuable insights to help you assess and refine your material supply strategy. Figure 9 presents the output panel for Simulator.

Figure 8. Output Panel

Let’s take a closer look at the two main pieces of information the simulation provides:

5. Others

Warehouse for Advance Examples Warehouse for Advance Examples

Revision #52
Created 2025-11-28 06:24:16 UTC by Colin Wang
Updated 2026-01-11 02:06:19 UTC by Colin Wang