MAGIC is one of the most widely used models for forecasting long-term acidification. The model's code, however, has been experiencing numerical instability, though this might not be widely known to the public user...MAGIC is one of the most widely used models for forecasting long-term acidification. The model's code, however, has been experiencing numerical instability, though this might not be widely known to the public users. The major instability comes from the analytical solution to two cubic equations for calculating SO42- concentration and the exchangeable fraction of Al on the soils. The mathematical algorithm for calculating the concentration of SO42- from a quadratic equation is also found instable. This paper is aimed at improving the instability above through proved numerical algorithms.展开更多
文摘MAGIC is one of the most widely used models for forecasting long-term acidification. The model's code, however, has been experiencing numerical instability, though this might not be widely known to the public users. The major instability comes from the analytical solution to two cubic equations for calculating SO42- concentration and the exchangeable fraction of Al on the soils. The mathematical algorithm for calculating the concentration of SO42- from a quadratic equation is also found instable. This paper is aimed at improving the instability above through proved numerical algorithms.