首页 | 本学科首页   官方微博 | 高级检索  
     


An approach to verifying and debugging simulation models governed by ordinary differential equations: Part 2. Residuals analysis and a case study
Authors:James A. Lennox  Zhiguo Yuan
Abstract:In Part 1 of this paper a methodology for back‐to‐back testing of simulation software was described. Residuals with error‐dependent geometric properties were generated. A set of potential coding errors was enumerated, along with a corresponding set of feature matrices, which describe the geometric properties imposed on the residuals by each of the errors. In this part of the paper, an algorithm is developed to isolate the coding errors present by analysing the residuals. A set of errors is isolated when the subspace spanned by their combined feature matrices corresponds to that of the residuals. Individual feature matrices are compared to the residuals and classified as ‘definite’, ‘possible’ or ‘impossible’. The status of ‘possible’ errors is resolved using a dynamic subset testing algorithm. To demonstrate and validate the testing methodology presented in Part 1 and the isolation algorithm presented in Part 2, a case study is presented using a model for biological wastewater treatment. Both single and simultaneous errors that are deliberately introduced into the simulation code are correctly detected and isolated. Copyright © 2003 John Wiley & Sons, Ltd.
Keywords:model verification  code debugging  ODE  simulation  model quality assurance
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号