Ashley Dan , Urjit Patil , Abhinav De , Bhavani Nandhini Mummidi Manuraj , Rohit Ramachandran
{"title":"基于CPU和GPU的高维人口平衡模型的矢量化和并行化多变量聚集和破碎积分项加速","authors":"Ashley Dan , Urjit Patil , Abhinav De , Bhavani Nandhini Mummidi Manuraj , Rohit Ramachandran","doi":"10.1016/j.compchemeng.2025.109037","DOIUrl":null,"url":null,"abstract":"<div><div>The development of mathematical models for physical systems often necessitates the use of high-dimensional spaces and fine discretizations to accurately capture complex dynamics. These models, which involve large matrices and extensive mathematical operations, tend to be computationally intensive, leading to slow execution times. In this study, we analyzed various acceleration strategies by comparing the simulation accuracy, computational time, and resource utilization of various vectorization and parallelization methods on both CPUs and GPUs, using a multi-dimensional Population Balance Model simulated in MATLAB and Python. Our findings revealed that GPU-based vectorization provided the highest performance, achieving a 40-fold speedup compared to the serial implementations. Unlike simulations on CPUs, where run time is often limited by processing power, GPUs simulations are limited by the available memory, especially at high resolution. This work highlights the importance of using appropriate resources and code optimization strategies to reduce computational time, for development of an efficient model.</div></div>","PeriodicalId":286,"journal":{"name":"Computers & Chemical Engineering","volume":"196 ","pages":"Article 109037"},"PeriodicalIF":3.9000,"publicationDate":"2025-02-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"CPU and GPU based acceleration of high-dimensional population balance models via the vectorization and parallelization of multivariate aggregation and breakage integral terms\",\"authors\":\"Ashley Dan , Urjit Patil , Abhinav De , Bhavani Nandhini Mummidi Manuraj , Rohit Ramachandran\",\"doi\":\"10.1016/j.compchemeng.2025.109037\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>The development of mathematical models for physical systems often necessitates the use of high-dimensional spaces and fine discretizations to accurately capture complex dynamics. These models, which involve large matrices and extensive mathematical operations, tend to be computationally intensive, leading to slow execution times. In this study, we analyzed various acceleration strategies by comparing the simulation accuracy, computational time, and resource utilization of various vectorization and parallelization methods on both CPUs and GPUs, using a multi-dimensional Population Balance Model simulated in MATLAB and Python. Our findings revealed that GPU-based vectorization provided the highest performance, achieving a 40-fold speedup compared to the serial implementations. Unlike simulations on CPUs, where run time is often limited by processing power, GPUs simulations are limited by the available memory, especially at high resolution. This work highlights the importance of using appropriate resources and code optimization strategies to reduce computational time, for development of an efficient model.</div></div>\",\"PeriodicalId\":286,\"journal\":{\"name\":\"Computers & Chemical Engineering\",\"volume\":\"196 \",\"pages\":\"Article 109037\"},\"PeriodicalIF\":3.9000,\"publicationDate\":\"2025-02-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computers & Chemical Engineering\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0098135425000419\",\"RegionNum\":2,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Chemical Engineering","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0098135425000419","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
CPU and GPU based acceleration of high-dimensional population balance models via the vectorization and parallelization of multivariate aggregation and breakage integral terms
The development of mathematical models for physical systems often necessitates the use of high-dimensional spaces and fine discretizations to accurately capture complex dynamics. These models, which involve large matrices and extensive mathematical operations, tend to be computationally intensive, leading to slow execution times. In this study, we analyzed various acceleration strategies by comparing the simulation accuracy, computational time, and resource utilization of various vectorization and parallelization methods on both CPUs and GPUs, using a multi-dimensional Population Balance Model simulated in MATLAB and Python. Our findings revealed that GPU-based vectorization provided the highest performance, achieving a 40-fold speedup compared to the serial implementations. Unlike simulations on CPUs, where run time is often limited by processing power, GPUs simulations are limited by the available memory, especially at high resolution. This work highlights the importance of using appropriate resources and code optimization strategies to reduce computational time, for development of an efficient model.
期刊介绍:
Computers & Chemical Engineering is primarily a journal of record for new developments in the application of computing and systems technology to chemical engineering problems.