Units > Example: Using Money Units
  
Example: Using Money Units
Determine the optimal order weight of a material when you know the annual demand.
1. Define the total weight of material needed each year.
Click to copy this expression
2. Define the cost to place an order.
Click to copy this expression
Unlike other dimensions, currency consists of only one unit, the base currency. This base currency is represented by the currency character.
3. Define the cost per unit weight.
Click to copy this expression
4. Define the cost of keeping material in the inventory.
Click to copy this expression
5. Define the total annual cost as a function of the order weight assuming that the average weight in stock is half the order weight.
Click to copy this expression
Click to copy this expression
6. Use the minimize function inside a solve block to minimize the total cost function. Define the guess value for the optimal order weight to be 5 kg.
Click to copy this expression
Click to copy this expression
7. Calculate the minimum value for the total annual cost.
Click to copy this expression