To protect the security of energy supplies, China is building a national strategic petroleum reserve (SPR). Here we present a dynamic programming model to determine the optimal drawdown strategies for SPR under various scenarios, focusing on minimizing cost. In a natural disaster scenario, the optimal strategy is rapid drawdown of ~10% of the reserve to stabilize oil prices and ease supply shor...