A method of combining the valve system program with the engine cycle modeling software to form a full set of working process modeling is submitted,not only considering the system as an independent part,but also as a part of working process to evaluate comprehensively and indicate directly if the design is good or not.The designers can optimize the design by changing the engine structure,operation and the basic parameters of the cam on condition that the sysem should be stable so as to save large amounts of time and cost.Practical examples show that such a software package is an effective tool in optimizing the valve systems and performance of the machine.