{"title":"动态模型仿真工具的比较","authors":"S. M. Sund, Marianne Plouvier, B. Lie","doi":"10.3384/ECP18153177","DOIUrl":null,"url":null,"abstract":"Macroscopic models are used extensively in process engineering, and can often be posed as DAE (Differential Algebraic Equation) models. Three generic tools for solving such DAEs are compared: OpenModelica, Julia, and MATLAB. To make the comparison concrete, a simple non-linear process model from the literature was extended by removing simplifying assumptions; the more complex model was posed as DAEs. Some implementation details of DAE models in OpenModelica, Julia, and MATLAB are given. Selected simulation results are given, with resulting execution time. The three tools gave identical simulation results. The tools are then compared wrt. cost, ease of use, documentation, numeric quality, Eco-system , and possibility for reuse of models/library. Overall, Julia appears may appear as the best choice. However, Modelica is found to be easier to use, so an ideal solution would probably be some tight integration of Modelica with Julia.","PeriodicalId":350464,"journal":{"name":"Proceedings of The 59th Conference on imulation and Modelling (SIMS 59), 26-28 September 2018, Oslo Metropolitan University, Norway","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-11-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Comparison of simulation tools for dynamic models\",\"authors\":\"S. M. Sund, Marianne Plouvier, B. Lie\",\"doi\":\"10.3384/ECP18153177\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Macroscopic models are used extensively in process engineering, and can often be posed as DAE (Differential Algebraic Equation) models. Three generic tools for solving such DAEs are compared: OpenModelica, Julia, and MATLAB. To make the comparison concrete, a simple non-linear process model from the literature was extended by removing simplifying assumptions; the more complex model was posed as DAEs. Some implementation details of DAE models in OpenModelica, Julia, and MATLAB are given. Selected simulation results are given, with resulting execution time. The three tools gave identical simulation results. The tools are then compared wrt. cost, ease of use, documentation, numeric quality, Eco-system , and possibility for reuse of models/library. Overall, Julia appears may appear as the best choice. However, Modelica is found to be easier to use, so an ideal solution would probably be some tight integration of Modelica with Julia.\",\"PeriodicalId\":350464,\"journal\":{\"name\":\"Proceedings of The 59th Conference on imulation and Modelling (SIMS 59), 26-28 September 2018, Oslo Metropolitan University, Norway\",\"volume\":\"5 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-11-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of The 59th Conference on imulation and Modelling (SIMS 59), 26-28 September 2018, Oslo Metropolitan University, Norway\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.3384/ECP18153177\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of The 59th Conference on imulation and Modelling (SIMS 59), 26-28 September 2018, Oslo Metropolitan University, Norway","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3384/ECP18153177","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Macroscopic models are used extensively in process engineering, and can often be posed as DAE (Differential Algebraic Equation) models. Three generic tools for solving such DAEs are compared: OpenModelica, Julia, and MATLAB. To make the comparison concrete, a simple non-linear process model from the literature was extended by removing simplifying assumptions; the more complex model was posed as DAEs. Some implementation details of DAE models in OpenModelica, Julia, and MATLAB are given. Selected simulation results are given, with resulting execution time. The three tools gave identical simulation results. The tools are then compared wrt. cost, ease of use, documentation, numeric quality, Eco-system , and possibility for reuse of models/library. Overall, Julia appears may appear as the best choice. However, Modelica is found to be easier to use, so an ideal solution would probably be some tight integration of Modelica with Julia.