Unit Delivery
Convert phased unit deliveries into one bounded monthly inventory ledger.
How it works
Unit Delivery (5)
- Available
Available
Uses - Completion Month
Completion Month
Uses - Delivered Units
Delivered Units
Uses - First Delivery Month
First Delivery Month
- Monthly Deliveries
Monthly Deliveries
Calculation diagram
Each arrow leads to the calculation that uses the value. Choose a figure to see its dependencies.
Calculation steps (6)
- Periods
Run Unit Delivery Period for each delivery. Carry the closing state into the next period.
Component · Unit Delivery Period
Place one delivery phase into its bounded completion month.
Argument values
- Delivery Month
- Delivery Months
- Delivery Units
- Delivery Units
- Delivered Units
- Start at 0. For the next period, use the previous Delivered units.
- Monthly Deliveries
Sum along axis(Periods · Monthly Deliveries, Delivery)
Uses - Available
(Sum(Monthly Deliveries) > 0)
- Completion Month
Result of Last Delivery Period
Component · Last Delivery Period
Find the final month with positive unit delivery, or zero when none exists.
Argument values
- Deliveries
- Monthly Deliveries
- Delivered Units
Running total(Monthly Deliveries)
- First Delivery Month
Result of First True Month
UsesComponent · First True Month
Find the first true month, or zero when none exists.
Argument values
- Values
- (Delivered Units > 0)
Inputs and outputs
Inputs (3)
| Name | Unit | Applies to |
|---|---|---|
| Delivery Months | Months | Delivery |
| Delivery Units | units | Delivery |
| Total Units | units | Single value |
Outputs (5)
| Name | Unit | Applies to |
|---|---|---|
| Available | Flag | Single value |
| Completion Month | Months | Single value |
| Delivered Units | units | Month |
| First Delivery Month | Months | Single value |
| Monthly Deliveries | units | Month |