Theory and foundations of modeling and simulation. (May 2023)