'use two "schedules" in one "source" block in anylogic

I am modeling a production process for my thesis. in this model I have two products (A & B) that are using same material so I have to inject the common material by schedule1 (Production Plan For Product A) and also schedule B. Is there any way to do this?



Solution 1:[1]

A more general solution

Make your sources a population

source

And then make a collection of all your schedules and do the following:

collection and now you can have as many sources as you want with as many schedules as you need

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Felipe