A Tokamak has startup and shutdown periods during which demand specifications differ from those during steady fueling operation. These periods can affect the required number of getter beds of the Storage and Delivery System. In this study, we developed a mathematical model based on the State Task Network, and an algorithm that considers daily operation which includes the period from startup to shutdown to find the optimal number of getter beds. This algorithm can estimate the optimal initial inventory of tritium or deuterium in a getter bed to compensate for fuel consumption until shutdown. The inductive operation mode of the Tokamak is analyzed to illustrate the applicability of the model and algorithm.