If the ammonia comes from bacterial conversion of CYA into ammonia, then it can take more chlorine than implied by the ammonia test which is really a minimum bound. The reason is that there can be partially oxidized CYA that doesn't show up as either CYA nor as ammonia. So if you know the amount the CYA dropped by such bacterial conversion, then this gives you an upper bound of how much chlorine may be needed which is around 2.5x the CYA level drop as cumulative FC.
A summary of my own experience with this in
this post shows that the ammonia reading only implied perhaps 20 ppm FC that would be needed plus the 6 I added before reading ammonia, so 26 ppm total. However, it actually took around 56 ppm FC cumulatively added before things got stable and this amount of a theoretical 23 ppm FC was close to what was predicted based on the CYA level drop of around 20 ppm.
A better way to determine the chlorine demand is to do a bucket test since it is just a mini-version of what goes on in the pool. Every 1/4 teaspoon of 6% bleach in 2 gallons of pool water is 10 ppm FC. Or you can just do as I did and keep adding chlorine frequently almost every hour, mostly in one day.
Richard