System Modeling and Optimization