Тhis article describes creating of dynamic link library, which includes functions for working with the ideal gas. In particular, thermodynamic cycle is analysed, which consists of arbitrary quantity of points. Features of thermodynamic cycles algorithmization are shown. An algorithm of simplest cycle without mixing is proposed. For creating library, the OpenMaple technology was used. The article deals with the thermodynamic cycles algorithmization, it describes cycle calculation, which has arbitrary quantity of points. The main problem in algorithmization random cycle is lack of data of the number of points and processes. In order to solve the problem of the lack of data it is necessary to develop a universal method that allows to abstract from the formulas. One option is to present the cycle in the form of a graph. This allows to formalize graph easier. Introduction of nodes and links allows to develop the necessary functions and procedures easily. An algorithm for calculating the cycle with an arbitrary number of points without mixing was proposed. The dynamic library, which can be connected to the package Maple was created. The main difficulty in writing the procedures is the large capacity of the code, a significant number of service functions and exception handling. It is worth paying attention to the harmonization of data types, since their mismatch can lead to freezing the computer and other exceptional situations. An important question is cycle predetermination.
Keywords: Ideal Gas; Maple; OpenMaple.
В статті має місце опис створення динамічної бібліотеки, яка включає в себе функції для роботи з ідеальним газом. Показані особливості алгоритмізації термодинамічних розрахунків. Розглянута обробка циклу, який включає в себе довільну кількість точок. Запропоновано алгоритм обробки найпростішого циклу без змішування. При створенні бібліотеки використовувалася технологія OpenMaple.
Ключові слова: Ідеальний газ; Maple; OpenMaple.
В статье описывается создание динамической библиотеки, включающей в себя функции для работы с идеальным газом. В частности, рассматривается обработка цикла, состоящего из произвольного количества точек. Показаны особенности алгоритмизации термодинамических расчетов. Предложен алгоритм обработки простейшего цикла без смешения. При создании библиотек использовалась технология OpenMaple.
Ключевые слова: Идеальный газ; Maple; OpenMaple.