28 January 2025 in Energetika
Due to the progressing complexity of modern energy systems, the need to forecast energy consumption and generation, optimise processes and develop new technologies in the energy sector, analyse scenarios for the development of energy systems and elaborate a strategy for their development, modelling and simulation is of particular relevance in this industry. The growing need to improve the productivity of computer simulation in the energy industry is effectively addressed by utilising modern computer architectures and advanced software tools that provide acceleration for computationally intensive tasks. Research presented in this paper focuses on enhancing the performance of computationally intensive algorithms using the Thomas algorithm by employing modern asynchronous programming techniques. The work implements classical and develops and implements asynchronous computational algorithms of the sweep method with subsequent assessment of the time and efficiency of their execution for the order of systems of linear equations (SLAEs) up to 5 × 107. The program code was developed using Microsoft Visual Studio C++ and the standard template for asynchronous programming. The numerical experiments showed the possibility of increasing of the implementation speed of the asynchronous algorithm by 1.87–2.91 times. Research results correspond with the literature data and the results previously obtained by the authors in similar studies using alternative parallel programming software. In general, the results of this study determine the potential for further improvement and development of methods and technologies for parallel implementation of computational tasks using the Tridiagonal Matrix Algorithm. These approaches can be extended to developing various computer models of energy processes and systems based on the solution of SLAEs with tridiagonal matrices on computers with multiprocessor or multi-core architectures.
29 January 2025 in Energetika
Modelling heat and mass transfer processes is essential in designing and optimising technological processes in power engineering, mechanical engineering, metallurgy, chemical industry, and other engineering fields. For the mathematical description of such processes, differential equations of heat conduction and diffusion are used, the solution of which requires the application of efficient numerical methods, especially in the case of complex geometries and diverse boundary conditions. This study presents a unified methodology for the numerical solution of boundary value problems of heat conduction with internal heat sources, based on locally one-dimensional implicit finite difference schemes derived using the integral-interpolation method (balance method) in Cartesian and cylindrical coordinate systems. Special attention is given to discretising boundary conditions of the first, second, and third kinds, focusing on Robin conditions, the most commonly encountered in engineering practice. A quasi-linear approximation scheme and spatial splitting schemes are recommended to increase the efficiency of numerical solutions. This approach enables the application of the unconditionally stable Tridiagonal Matrix Algorithm (TDMA). The introduction of indica-tor coefficients provides flexibility in implementation, allowing the balance equation to be used variably by manipulating the terms responsible for heat fluxes and the location of com-putational nodes. This ensures ease of implementation and improves code readability, facili-tating software development for computational modelling. The results of the numerical simu-lation obtained using the proposed method are compared with known analytical and numerical solutions and demonstrate high accuracy. The proposed methodology opens broader opportu-nities for modelling thermal regimes in complex engineering systems.
28 September 2022 in Computer Systems and Information Technologies
Прогресивні апаратні та програмні засоби розпаралелювання та синхронізації обчислень на сучасних ЕОМ з багатоядерною архітектурою дозволяють підвищити ефективність комп'ютерного моделювання за рахунок збільшення (на порядок та вище) продуктивності обчислень. Метою цієї роботи є підвищення ефективності обчислювальних алгоритмів комп'ютерної реалізації методу прогонки за рахунок використання сучасних прогресивних технологій паралельного програмування. У ході дослідження використано методи матричної алгебри, паралельних обчислень, а також аналізу ефективності алгоритмів та програм. В результаті роботи було розроблено обчислювальні алгоритми послідовного та розпаралеленого на два потоки методу прогонки, а також виконано порівняльну оцінку ефективності їх реалізації за допомогою управління потоками засобами бібліотеки <thread> C++. Порядок СЛАР при цьому становив до 5×107. В результаті обчислювальних експериментів вдалося досягти збільшення швидкості обчислень у 1,88-2,86 разів. Отримані результати кореспондуються з аналогічними даними із доступних літературних джерел. Наукова новизна роботи полягає у подальшому розвитку перспективних підходів до підвищення ефективності комп'ютерного моделювання за рахунок застосування сучасних технологій та принципів паралельного програмування з проведенням обчислювальних експериментів на сучасних програмно-апаратних архітектурах. Вперше було отримано оцінки часу програмної реалізації алгоритмів послідовного та розпаралеленого засобами бібліотеки <thread> C++ обчислювальних алгоритмів методу прогонки для значного порядку СЛАР. При цьому продемонстровано доцільність застосування даного розпаралелювання для СЛАР порядку близько 2,5×105. Основна значущість роботи полягає у практичному застосуванні отриманих результатів під час проведення комп'ютерного моделювання інженерних задач, найбільш ресурсомістким етапом яких є множинне розв’язування СЛАР значного порядку. Подальші перспективи досліджень припускають поглиблене розпаралелювання алгоритмів чисельного розв’язання СЛАР за рахунок використання масштабованих варіацій застосовуваних методів, вибору найбільш продуктивних програмних технологій, розпаралелювання програмного коду на максимальну (за кількістю ядер процесора) кількість потоків.
26 December 2024 in Computer Systems and Information Technologies
Computational efficiency has become a key factor in progress across many fields of science and technology. However, traditional methods for improving the performance of computational systems have reached their limits, necessitating the search for new approaches to algorithm optimization. This paper explores the application of SIMD instructions to enhance the efficiency of numerical methods for solving systems of linear algebraic equations, particularly the Gauss method and the conjugate gradient method. The proposed approach enables the vectorization of computations, significantly reducing the number of iterative steps and accelerating algorithm execution. An optimization mechanism is presented, based on an analysis of the capabilities of SIMD instructions and their integration into existing SLAE-solving algorithms. The research includes an examination of the impact of vectorization on the performance and stability of numerical algorithms for problems of varying size, as well as a theoretical justification of the proposed approach’s effectiveness. The outcome of this work is the development of optimized versions of the Gauss and conjugate gradient methods, which demonstrate significant performance gains without loss of calculation accuracy. The proposed approach opens new perspectives for further development and improvement of numerical methods within the context of modern computing architectures, with broad applicability in engineering calculations, computer graphics, machine learning, and other fields where computational efficiency is of high priority.