Computer principles of modeling and simulation