Welcome to the forum!
You are not storing remaining demand - so that you can release it later when it can be satisfied.
Have a look at: