Theory of Modeling and Simulation