I hope this question isn't too naive, but I've been studying optimal control and I've come to understand that PEG and UPFG are approximations of certain thrust integrals. This raises the question, why not simply do the integrals, i.e. numerically via some kind of quadrature? I would think that the resulting code, while perhaps more compute intensive, would be simpler and more accurate. It's obvious why PEG/UPFG didn't do this, they simply didn't have the compute power. But I think we have enough compute power to do this sort of thing today, particularly if a certain amount of care is taken to optimize the quadrature in a way that's computationally efficient, even if some accuracy is sacrificed, and also if we take the approach that PEG once took of doing the computer intensive calculations once every ~2 seconds and using intermediate values between calculations.
What do you think?