Wow... You seem like some kind of mathematician SIr... This site helped me to calculate Average Ball Possessions per Position per Offensensive Tactics from the image link I post above
https://www.basketball-reference.com/about/glossary.html by using the formulas here you can make a tool that can tailor-fit for your personal need.
Using the hints you can get from Games Box Scores hope you can help yourself and us. Coz I do believe BBs/Developers would reveal game formulas to us... But just like from the first reply I post for you... they can only describe how basic work is.
Any information that the BB/Devs will share to us about the GE... I would also like to see if that would be possible.