1. Modify NMAX on the fly and set it to target.
2. As you get close to NMAX retard ignition
3. As you get close to NMAX make a map based on delta RPM and blend out up to half the cylinders using redsol, rest is done by throttle.
Thank you very much, redsol is what I was looking for