RU2656687C1 - Chemical-technological systems simulation and calculation system and method - Google Patents

Chemical-technological systems simulation and calculation system and method Download PDF

Info

Publication number
RU2656687C1
RU2656687C1 RU2017107562A RU2017107562A RU2656687C1 RU 2656687 C1 RU2656687 C1 RU 2656687C1 RU 2017107562 A RU2017107562 A RU 2017107562A RU 2017107562 A RU2017107562 A RU 2017107562A RU 2656687 C1 RU2656687 C1 RU 2656687C1
Authority
RU
Russia
Prior art keywords
chemical
technological scheme
modules
calculation
technological
Prior art date
Application number
RU2017107562A
Other languages
Russian (ru)
Inventor
Александр Георгиевич Наринский
Андрей Александрович Ахременков
Original Assignee
Александр Георгиевич Наринский
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Александр Георгиевич Наринский filed Critical Александр Георгиевич Наринский
Priority to RU2017107562A priority Critical patent/RU2656687C1/en
Application granted granted Critical
Publication of RU2656687C1 publication Critical patent/RU2656687C1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B25/00Models for purposes not provided for in G09B23/00, e.g. full-sized devices for demonstration purposes
    • G09B25/02Models for purposes not provided for in G09B23/00, e.g. full-sized devices for demonstration purposes of industrial processes; of machinery

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

FIELD: computer engineering.
SUBSTANCE: invention relates to the chemical-technological systems simulation and calculation. For this, creating the chemical technological scheme (CTS) through the user side interface software, for example, WEB-interface. Setting the CTS input stream and/or the output stream parameters, and/or the CTS devices parameters, and/or the CTS modules parameters, and/or the calculation modules for the CTS modules. Converting the produced data into the HTTP request to be sent to the server. On the server converting the HTTP request with the CTS description into the text configuration task in the Enterprise Service Bus format. Processing the configuration task by the Enterprise Service Bus, calculating the CTS devices based on the specified in the configuration file software modules. Sending the CTS calculating results to the user.
EFFECT: technical result is the chemical-technological scheme calculation achievement based on the configuration task.
31 cl, 8 dwg

Description

ОБЛАСТЬ ТЕХНИКИFIELD OF TECHNOLOGY

[01] Настоящее изобретение относится к компьютерным системам и, более конкретно, к системам и способам для моделирования и расчета химико-технологических систем, а также к системам и способам для расчета аппаратов химико-технологических схем.[01] The present invention relates to computer systems and, more specifically, to systems and methods for modeling and calculating chemical-technological systems, as well as to systems and methods for calculating apparatuses of chemical-technological schemes.

УРОВЕНЬ ТЕХНИКИBACKGROUND

[02] При создании новой технологической системы (в частности, химико-технологической системы) или модернизации существующей с целью создания эффективного производства или повышения эффективности существующего производства необходимо знать параметры элементов технологической (в частности, модулей технологической схемы) схемы и самой технологической схемы в целом. Для того чтобы узнать параметры технологической схемы, необходимо провести ее расчет. Такие расчеты могут быть произведены посредством моделирования технологических схем.[02] When creating a new technological system (in particular, a chemical-technological system) or modernizing an existing one with the aim of creating efficient production or increasing the efficiency of existing production, it is necessary to know the parameters of the elements of the technological (in particular, the technological scheme modules) scheme and the technological scheme as a whole . In order to find out the parameters of the technological scheme, it is necessary to carry out its calculation. Such calculations can be made by modeling technological schemes.

[03] Моделирование является одним из основных способов, позволяющих ускорить технический прогресс, создать и ввести в эксплуатацию новые установки и т.д.[03] Simulation is one of the main ways to accelerate technological progress, create and commission new installations, etc.

[04] К недостаткам существующих систем, таких как CHEMCAD, Aspen PRO II, а также HYSYS, реализующих расчет химико-технологических схем различными способами, можно отнести наличие однопользовательского режима работы таких систем, поскольку они представляют собой программное обеспечение, устанавливаемое на компьютере пользователя, использующего только операционную систему Microsoft Windows.[04] The disadvantages of existing systems, such as CHEMCAD, Aspen PRO II, as well as HYSYS, which implement the calculation of chemical-technological schemes in various ways, include the single-user mode of operation of such systems, since they are software installed on the user's computer, using only the Microsoft Windows operating system.

[05] Одной из особенностей системы, реализующий способ, описанный в настоящем изобретении, является кроссплатформенность такой системы, т.е. независимость клиентской части системы от платформы. В частности, описываемая в рамках настоящего изобретения система может быть реализована в виде интернет-приложения (веб-приложения), в котором клиентом выступает веб-браузер, а сервером - веб-сервер, что позволяет предоставить доступ сразу нескольким пользователям к расчету проектируемой технологической схемы или нескольким проектируемым технологическим схемам.[05] One of the features of the system that implements the method described in the present invention is the cross-platform of such a system, ie platform client system independence. In particular, the system described in the framework of the present invention can be implemented as an Internet application (web application), in which the client is a web browser, and the server is a web server, which allows several users to provide access to the calculation of the designed technological scheme or several projected technological schemes.

[06] Также, одним из недостатков существующих систем, реализующих способы расчета технологических схем, является невозможность использовать более одной системы расчета (в том числе системы промышленного моделирования технологических схем и аппаратов), алгоритма расчета, модели расчета, программы расчета технологической схемы или аппарата (аппарата химико-технологических схем).[06] Also, one of the drawbacks of existing systems that implement methods for calculating technological schemes is the inability to use more than one calculation system (including systems for industrial modeling of technological schemes and devices), a calculation algorithm, a calculation model, a program for calculating a technological scheme or device ( apparatus of chemical technological schemes).

[07] Еще одной особенностью системы, реализующий способ, описанный в настоящем изобретении, является возможность использования одновременно несколько систем (алгоритмов, модулей) расчета/моделирования (далее модуль расчета, реализованный, по крайней мере, одним программным модулем), предназначенных для расчета аппаратов и модулей (в том числе, для расчета одного и того же аппарата и/или технологической схемы различными системами расчета), что позволяет объединить результаты расчетов различных систем расчета (в том числе, промышленных систем моделирования), в том числе, в одной технологической схеме. Также каждый модуль технологической схемы может быть рассчитан различными системами промышленного моделирования, что позволяет производить сравнение результатов расчета. Если известны некоторые характеристики (например, характеристики/параметры выходных потоков аппарата, температура газа после компрессора и т.д.) составных частей технологической схемы, (например, пользователь, редактирующий/моделирующий существующую технологическую схему, уже знает некие ее характеристики), то пользователь может оценить какая, из предложенных систем расчета, более точно описывает существующую технологическую схему (например, посмотреть и оценить, какая из использованных систем расчета наиболее точно рассчитала значение элементов технологической схемы (модулей технологической схемы), например, значение температуры газа после компрессора), что позволяет повысить эффективность моделирования технологических схем.[07] Another feature of the system that implements the method described in the present invention is the ability to use several systems (algorithms, modules) of calculation / simulation simultaneously (hereinafter, the calculation module implemented by at least one software module) designed for calculating devices and modules (including for calculating the same apparatus and / or technological scheme with different calculation systems), which allows you to combine the results of calculations of various calculation systems (including industrial systems simulation), including in one technological scheme. Also, each module of the technological scheme can be calculated by various industrial modeling systems, which allows comparison of calculation results. If some characteristics are known (for example, characteristics / parameters of the device’s output flows, gas temperature after the compressor, etc.) of the components of the technological scheme (for example, the user editing / modeling the existing technological scheme already knows some of its characteristics), then the user can evaluate which of the proposed calculation systems more accurately describes the existing technological scheme (for example, see and evaluate which of the used calculation systems most accurately calculated the value ue elements flowsheet (flowsheet modules), e.g., gas temperature after the compressor), which improves the simulation efficiency flowsheets.

[08] Стоит отметить, что в существующих системах моделирования и расчета химико-технологических схем добавление новых расчетных модулей химико-технологических схем осуществляется только путем добавления в систему расчета в виде динамически подключаемых библиотек (Dynamic Link Library, DLL), что резко ограничивает возможность интегрирования различных расчетных моделей в систему расчета химико-технологических схем и делает невозможным подключение расчетных модулей/программных модулей, не написанных специфически для Windows Object Linking and Embedding (технология связывания и внедрения объектов в другие документы и объекты, сокр. OLE).[08] It is worth noting that in existing systems for modeling and calculation of chemical-technological schemes, the addition of new calculation modules of chemical-technological schemes is carried out only by adding to the calculation system in the form of dynamically connected libraries (Dynamic Link Library, DLL), which severely limits the possibility of integration different calculation models into the calculation system of chemical technological schemes and makes it impossible to connect calculation modules / software modules not written specifically for Windows Object Linking and Embedding (technologist I Object Linking and Embedding in other documents and objects, abbr. OLE).

[09] Еще одним недостатком существующих систем расчета химико-технологических схем и химико-технологических процессов является однопользовательский режим работы таких систем (приложений) и требуют установки отдельной копии программного обеспечения (такой системы расчета) на каждый пользовательский компьютер, на котором предполагается производить расчет химико-технологических схем, что затрудняет использование результатов расчетов химико-технологических схем и созданных одним пользователем химико-технологических схем другими пользователями. Такие решения также зависят от компьютерной платформы (архитектуры процессора компьютера, типа операционной системы, программного обеспечения, установленного на компьютере пользователя и т.д.), что делает невозможным использование программного обеспечения, написанного под одну компьютерную платформу (например, на персональном компьютере под управлением операционной системы Apple OsX/MacOs), на другой компьютерной платформе (например, на персональном компьютере под управлением операционной системы Microsoft Windows).[09] Another drawback of existing systems for calculating chemical-technological schemes and chemical-technological processes is the single-user mode of operation of such systems (applications) and require the installation of a separate copy of the software (such a calculation system) on each user computer on which it is planned to calculate the chemical -technological schemes, which makes it difficult to use the results of calculations of chemical-technological schemes and created by one user chemical-technological schemes by other users ovatelyami. Such decisions also depend on the computer platform (computer processor architecture, type of operating system, software installed on the user's computer, etc.), which makes it impossible to use software written for a single computer platform (for example, on a personal computer running operating system Apple OsX / MacOs), on another computer platform (for example, on a personal computer running the Microsoft Windows operating system).

[010] Также, помимо существующих (например, на сервере или подключаемые к серверу) систем (алгоритмов расчета, расчетных модулей/модулей расчета) расчета, в частности, реализованных, по крайней мере, одним программным модулем, при расчете технологических схем, модулей и аппаратов могут быть использованы алгоритмы расчета/расчетные модули/модули расчета/модели расчета, написанные, например, пользователем, администратором сервера, посредством систем, подключаемых к серверу, производящему упомянутый выше расчет, на одном из языков программирования, в частности, скриптовом языке программирования, как описано ниже, причем такие алгоритмы расчета могут быть заданы в процессе создания или корректировки технологической схемы или в процессе корректировки или добавления модуля технологической схемы, а также после расчета технологической схемы, аппарата, модуля технологической схемы и т.д. Таким образом, в описываемой в настоящем изобретении системе, реализуемый описываемый способ расчета технологических схем, предусматривает возможность добавления элементов технологической схемы, в частности, модулей технологической схемы (которых еще нет в системе расчета технологической схемы) на стороне пользователя, а также предусматривается возможность введения корректировок для технологической схемы (в частности, могут быть скорректированы параметры потоков, например, путем добавления теплопотерь в трубопроводе между двумя модулями технологической схемы).[010] Also, in addition to existing (for example, on the server or connected to the server) systems (calculation algorithms, calculation modules / calculation modules), calculation, in particular, implemented by at least one software module, in the calculation of technological schemes, modules and apparatuses, calculation algorithms / calculation modules / calculation modules / calculation models written, for example, by a user, server administrator, by means of systems connected to a server performing the calculation mentioned above, in one of the programming languages in particular, in a scripting programming language, as described below, moreover, such calculation algorithms can be specified in the process of creating or adjusting a technological scheme or in the process of updating or adding a module of a technological scheme, as well as after calculating the technological scheme, apparatus, module of the technological scheme and etc. Thus, in the system described in the present invention, the described method for calculating technological schemes is implemented, it is possible to add elements of the technological scheme, in particular, modules of the technological scheme (which are not already in the system for calculating the technological scheme) on the user side, and it is also possible to introduce corrections for the technological scheme (in particular, the flow parameters can be adjusted, for example, by adding heat losses in the pipeline between two duli technological scheme).

[011] Таким образом, индивидуальный расчет модуля может быть интегрирован в описываемую систему не только как Windows-компонент, например, в виде DLL-библиотеки, но и как отдельный процесс на любой компьютерной системе, что повышает эффективность интегрирования модулей технологической схемы.[011] Thus, the individual calculation of the module can be integrated into the described system not only as a Windows component, for example, in the form of a DLL library, but also as a separate process on any computer system, which increases the efficiency of integration of the technological scheme modules.

[012] Кроме того, описываемая в настоящем изобретении система позволяет задавать упрощенное описание модулей, позволяющее производить быстрый предварительный расчет технологической схемы. Далее, после проведения предварительного расчета технологической схемы, используемые модули с упрощенным описанием расчета могут быть заменены модулями с полным описанием, т.е. модулями, более точно описывающими реально существующие аппараты, после чего система способна произвести детальный расчет технологической схемы. Упрощенное описание модулей может быть задано пользователем посредством одного из компьютерных языков программирования, включая скриптовые языки программирования, как будет раскрыто в рамках описания настоящего изобретения.[012] In addition, the system described in the present invention allows you to specify a simplified description of the modules, allowing for quick preliminary calculation of the technological scheme. Further, after preliminary calculation of the technological scheme, the used modules with a simplified description of the calculation can be replaced by modules with a full description, i.e. modules that more accurately describe real-life devices, after which the system is able to perform a detailed calculation of the technological scheme. A simplified description of the modules can be set by the user through one of the computer programming languages, including scripting programming languages, as will be disclosed as part of the description of the present invention.

[013] Еще одним преимуществом описываемых в настоящем изобретении способе и системе является использование стандартного языка Сервисной Шины Предприятия. На сервере, для модулируемой системы создается конфигурационный файл с конфигурационным заданием, обрабатываемым средствами/элементами Сервисной Шины Предприятия. Конфигурационный файл содержит данные, записанные в текстовом формате, что делает возможным его чтение и редактирование без использования дополнительного программного обеспечения, включающего, например, программный или графический интерфейс пользователя, и позволяет использовать любой стандартный текстовый редактор, уже установленный на компьютере пользователя.[013] Another advantage of the method and system described in the present invention is the use of the standard language of the Enterprise Service Bus. On the server, for the modulated system, a configuration file is created with the configuration task processed by the means / elements of the Enterprise Service Bus. The configuration file contains data recorded in a text format, which makes it possible to read and edit it without using additional software, including, for example, a software or graphical user interface, and allows you to use any standard text editor already installed on the user's computer.

[014] В существующих системах расчета технологических схем, как правило, для добавления нового аппарата необходимо обновлять, как минимум, графический интерфейс пользователя, например, путем добавления новой формы, содержащей характеристики/параметры аппарата, для такого аппарата, включающей параметры добавляемого аппарата. Кроме того, при добавлении нового аппарата в систему расчета на сервере, графический интерфейс пользователя автоматически не обновляется.[014] In existing systems for calculating technological schemes, as a rule, to add a new apparatus, it is necessary to update at least the graphical user interface, for example, by adding a new form containing the characteristics / parameters of the apparatus for such an apparatus, including the parameters of the apparatus to be added. In addition, when adding a new device to the settlement system on the server, the graphical user interface is not automatically updated.

[015] В свою очередь, описываемые в настоящем изобретении система и способ расчета позволяют генерировать входы, выходы аппаратов, модулей и т.д., их параметры/характеристики, а также форму для ввода/задания характеристик/параметров для аппарата на основе описания соответствующего модуля, расположенного на сервере.[015] In turn, the calculation system and method described in the present invention allow generating inputs, outputs of apparatuses, modules, etc., their parameters / characteristics, as well as a form for inputting / setting characteristics / parameters for the apparatus based on the description of the corresponding module located on the server.

[016] Кроме того, известные существующие системы расчета технологических схем, как правило, используют для вычисления компьютерное устройство, на котором оно установлено, в частности, персональный компьютер пользователя, в то время, как расчет на сервере или нескольких серверах (описываемый в рамках настоящего изобретения) позволяет использовать ресурсы мощных вычислительных устройств, тем самым снизив время, затрачиваемое на расчет технологических схем, что позволяет повысить скорость расчета технологических схем и ее составных частей посредством использования распределенной системы вычислений.[016] In addition, the known existing systems for calculating technological schemes, as a rule, use for computing the computer device on which it is installed, in particular, the user's personal computer, while the calculation on a server or several servers (described in the framework of this invention) allows you to use the resources of powerful computing devices, thereby reducing the time spent on the calculation of technological schemes, which allows to increase the speed of calculation of technological schemes and its components by using a distributed computing system.

[017] Соответственно, основываясь на анализе существующего уровня техники и возможностей, существует потребность в данной области техники в системе и способе для моделирования и расчета химико-технологических систем, а также в системе и способе для расчета аппаратов химико-технологической схемы.[017] Accordingly, based on an analysis of the current state of the art and capabilities, there is a need in the art for a system and method for modeling and calculating chemical-technological systems, as well as a system and method for calculating apparatuses of a chemical-technological scheme.

СУЩНОСТЬ ИЗОБРЕТЕНИЯSUMMARY OF THE INVENTION

[018] Технический результат настоящего изобретения заключается в моделировании и расчете химико-технологических систем, а также в расчете аппаратов химико-технологической схемы на основе конфигурационного задания.[018] The technical result of the present invention consists in modeling and calculating chemical-technological systems, as well as in calculating apparatuses of a chemical-technological scheme based on a configuration task.

[019] Согласно одному из вариантов реализации, предлагается способ для моделирования и расчета химико-технологических систем, включающий следующие шаги: а) создание пользователем новой химико-технологической схемы или выбор и/или редактирование пользователем созданной или существующей химико-технологической схемы из набора химико-технологических схем посредством интерфейса ввода-вывода на клиентской стороне, сохраненных на сервере, где химико-технологическая схема описывает химико-технологическую систему, характеризующейся, по крайней мере, одним химико-технологическим процессом, причем химико-технологическая схема состоит из модулей химико-технологической схемы, связанных входными и выходными потоками, и расчет аппаратов химико-технологической схемы выполняется расчетными модулями, реализованными в виде элементов Сервисной Шины Предприятия; б) выбор и добавление модулей химико-технологической схемы в химико-технологическую схему и задание пользователем входных параметров химико-технологической схемы и/или параметров модулей химико-технологической схемы, включающих, по крайней мере, параметры входного потока и/или выходного потока для химико-технологической схемы, и/или параметры аппаратов химико-технологической схемы, и/или параметры для модулей химико-технологической схемы, и/или выбор расчетных модулей для модулей химико-технологической схемы; в) передача данных, полученных в пунктах а) и б) с описанием химико-технологической схемы на сервер в виде HTTP-запроса для расчета химико-технологической схемы; г) преобразование полученных со стороны пользователя данных на сервере в конфигурационное задание в формате Сервисной Шины Предприятия; д) проведение расчета посредством обработки Сервисной Шиной Предприятия конфигурационного задания, причем химико-технологические потоки представлены сообщениями Сервисной Шины Предприятия и модули химико-технологической схемы представлены элементами Сервисной Шины Предприятия; е) отправка результатов расчета химико-технологической схемы на клиентскую сторону в виде HTTP-ответа.[019] According to one implementation option, a method for modeling and calculating chemical-technological systems is proposed, comprising the following steps: a) creating a new chemical-technological scheme by a user or selecting and / or editing a created or existing chemical-technological scheme from a set of chemical -technological schemes through the input-output interface on the client side, stored on the server, where the chemical-technological scheme describes a chemical-technological system, characterized by it least one chemical-process, the chemical-technological scheme consists of modules Chemical flowsheet associated input and output flows, and the calculation of the chemical-technological scheme performed apparatuses calculated modules, implemented as Enterprise Service Bus elements; b) selection and addition of modules of the chemical-technological scheme to the chemical-technological scheme and the user setting the input parameters of the chemical-technological scheme and / or parameters of the modules of the chemical-technological scheme, including at least the parameters of the input stream and / or output stream for the chemical -the technological scheme, and / or the parameters of the devices of the chemical-technological scheme, and / or the parameters for the modules of the chemical-technological scheme, and / or the choice of design modules for the modules of the chemical-technological scheme; c) transfer of data obtained in points a) and b) with a description of the chemical-technological scheme to the server in the form of an HTTP request for calculating the chemical-technological scheme; d) converting the data received from the user on the server into the configuration task in the format of the Service Bus of the Enterprise; d) carrying out the calculation by processing the Service Bus of the Enterprise configuration task, and the chemical-technological flows are represented by messages of the Service Bus of the Enterprise and the modules of the chemical-technological scheme are represented by elements of the Service Bus of the Enterprise; f) sending the results of the calculation of the chemical-technological scheme to the client side in the form of an HTTP response.

[020] В одном из частных вариантов реализации задаваемые параметры модулей химико-технологической схемы включают задание, по крайней мере, одного входного потока модуля химико-технологической схемы.[020] In one particular embodiment, the parameter settings of the chemical process module include setting at least one input stream of the chemical process module.

[021] В одном из частных вариантов реализации модулю химико-технологической схемы соответствует, по крайней мере, один расчетный модуль химико-технологической схемы, выполненный в виде программного модуля, реализованного на языке программирования.[021] In one particular embodiment, the chemical-technological scheme module corresponds to at least one calculation module of the chemical-technological scheme made in the form of a software module implemented in a programming language.

[022] В одном из частных вариантов реализации расчетные модули создаются пользователем на языке Сервисной Шины Предприятия в дополнение к ранее созданным расчетным модулям.[022] In one particular embodiment, the calculation modules are created by the user in the language of the Enterprise Service Bus in addition to the previously created calculation modules.

[023] В одном из частных вариантов реализации модули химико-технологической схемы преобразуют входящие потоки в выходящие потоки аппаратов.[023] In one of the private embodiments, the modules of the chemical-technological scheme convert the incoming streams into the outgoing streams of the apparatuses.

[024] В одном из частных вариантов реализации интерфейс пользователя является веб-интерфейсом.[024] In one particular embodiment, the user interface is a web interface.

[025] В одном из частных вариантов реализации расчетные модули преобразуются на сервере в элементы Сервисной Шины Предприятия.[025] In one of the private embodiments, the calculation modules are converted on the server into elements of the Service Bus of the Enterprise.

[026] В одном из частных вариантов реализации характеристики потоков химико-технологической схемы моделируются сообщениями Сервисной Шины Предприятия, которые включают химико-технологические параметры потоков, такие как: давление; температуру; расход, концентрации химических элементов.[026] In one particular embodiment, the flow characteristics of the chemical process circuit are modeled by the Enterprise Service Bus messages, which include the chemical process flow parameters, such as: pressure; temperature consumption, concentration of chemical elements.

[027] В одном из частных вариантов реализации Сервисная Шина Предприятия может быть построена с использованием фреймворка для интеграции корпоративных приложений «Spring Integration», основанном на ядре «SpringFramework».[027] In one particular embodiment, the Enterprise Service Bus can be built using the Spring Integration framework for enterprise application integration, based on the SpringFramework core.

[028] В одном из частных вариантов реализации описание химико-технологической схемы включено в конфигурационный файл, представленный в формате сохранения данных, например, XML.[028] In one particular embodiment, a description of the process flow diagram is included in a configuration file presented in a data storage format, such as XML.

[029] В одном из частных вариантов реализации после окончания расчета химико-технологической схемы результаты расчета добавляются в конфигурационный файл в виде свойств элементов Сервисной Шины Предприятия.[029] In one of the private embodiments, after the calculation of the chemical-technological scheme is completed, the calculation results are added to the configuration file in the form of the properties of the elements of the Service Bus of the Enterprise.

[030] В одном из частных вариантов реализации конфигурационный файл сохраняется на сервере и может быть запрошен пользователем для восстановления исходной химико-технологической схемы.[030] In one of the private embodiments, the configuration file is stored on the server and can be requested by the user to restore the original chemical-technological scheme.

[031] В одном из частных вариантов реализации описание химико-технологической схемы включает упрощенное описание модулей химико-технологической схемы, позволяющее производить быстрый расчет химико-технологической схемы.[031] In one of the private embodiments, the description of the chemical-technological scheme includes a simplified description of the modules of the chemical-technological scheme, allowing quick calculation of the chemical-technological scheme.

[032] В одном из частных вариантов реализации конфигурационный файл сохраняется в базе данных.[032] In one particular embodiment, the configuration file is stored in a database.

[033] В одном из частных вариантов реализации расчетные модули подключаются к серверу для расчета, по крайней мере, одного модуля химико-технологической схемы.[033] In one of the private embodiments, the calculation modules are connected to the server to calculate at least one module of the chemical-technological scheme.

[034] В одном из частных вариантов реализации модули химико-технологической схемы могут быть скомпонованы в цепочки модулей химико-технологической схемы, описывающих, по крайней мере, один аппарат, причем такая цепочка рассчитывается, по крайней мере, одним выбранным для нее расчетным модулем.[034] In one particular embodiment, the chemical-technological scheme modules can be arranged in chains of chemical-technological scheme modules describing at least one apparatus, and such a chain is calculated by at least one calculation module selected for it.

[035] В одном из частных вариантов реализации цепочка модулей химико-технологической схемы сохраняется на сервере отдельно от химико-технологической схемы в виде блока химико-технологической схемы или модуля химико-технологической схемы.[035] In one of the private embodiments, the chain of modules of the chemical-technological scheme is stored on the server separately from the chemical-technological scheme in the form of a block of a chemical-technological scheme or a module of a chemical-technological scheme.

[036] В одном из частных вариантов реализации цепочка модулей химико-технологической схемы может быть добавлена в химико-технологическую схему в виде блока модулей химико-технологической схемы или модуля химико-технологической схемы.[036] In one particular embodiment, a chain of modules of a chemical-technological scheme can be added to a chemical-technological scheme as a block of modules of a chemical-technological scheme or a module of a chemical-technological scheme.

[037] В одном из частных вариантов реализации рассчитанные на сервере характеристики цепочки модулей химико-технологической схемы, включая входные, выходные и промежуточные потоки и их характеристики, хранятся вместе с цепочкой модулей и используются для расчета химико-технологической схемы, в которую такая цепочка модулей химико-технологической схемы была добавлена.[037] In one particular embodiment, server-side characteristics of a chain of modules of a chemical-technological scheme, including input, output, and intermediate flows and their characteristics, are stored together with a chain of modules and are used to calculate a chemical-technological scheme in which such a chain of modules A chemical process scheme has been added.

[038] В одном из частных вариантов реализации модулю химико-технологической схемы сопоставляется элемент Сервисной Шины Предприятия, при помощи которого на сервере выполняется расчет данного модуля химико-технологической схемы.[038] In one of the particular embodiments, the chemical-technological scheme module compares an element of the Service Bus of the Enterprise, with the help of which the calculation of this chemical-technological scheme module is performed on the server.

[039] В одном из частных вариантов реализации расчет модуля химико-технологической схемы проводится на разных серверах, в зависимости от настроек Сервисной Шины Предприятия.[039] In one of the private embodiments, the calculation of the chemical-technological scheme module is carried out on different servers, depending on the settings of the Enterprise Service Bus.

[040] Согласно еще одному из вариантов реализации, предлагается способ для расчета аппаратов химико-технологической схемы, выполняющийся на сервере, на основе конфигурационного задания, включающий следующие шаги: получение на сервере конфигурационного файла, содержащего конфигурационного задания, описывающего свойства элементов Сервисной Шины Предприятия; преобразование набора данных из конфигурационного файла в, по крайней мере, одно Сообщение Сервисной Шины Предприятия, относящихся к определенному потоку химико-технологической схемы, описывающих характеристики, по крайней мере, одного потока химико-технологической схемы и передающихся по потокам химико-технологической схемы, где химико-технологическая схема описывает химико-технологическую систему, характеризующейся, по крайней мере, одним химико-технологическим процессом, причем химико-технологическая схема состоит из аппаратов химико-технологической схемы, связанных входными и выходными потоками, и расчет аппаратов химико-технологической схемы выполняется расчетными модулями; передачу, по крайней мере, одного Сообщения, по крайней мере, по одному Каналу, причем Канал является частью Сервисной Шины Предприятия и связывает элементы Сервисной Шины Предприятия, а также используется для моделирования направления потоков химико-технологической схемы, где элементами Сервисной Шины Предприятия являются, по крайней мере, активатор, адаптер, роутер, агрегатор; вычисление, по крайней мере, одного параметра аппарата с использованием элементов Сервисной Шины Предприятия.[040] According to yet another embodiment, a method is proposed for calculating apparatuses of a chemical-technological scheme, executed on a server based on a configuration task, including the following steps: obtaining a configuration file on the server containing a configuration task describing the properties of the elements of the Enterprise Service Bus; converting a dataset from a configuration file to at least one Enterprise Service Bus Message related to a particular flow of a chemical technological scheme, describing the characteristics of at least one stream of a chemical technological scheme and transmitted through the flows of a chemical technological scheme, where chemical-technological scheme describes a chemical-technological system, characterized by at least one chemical-technological process, and the chemical-technological scheme consists of apparatuses imiko-flowsheet associated input and output flows, and the calculation of the chemical-technological scheme performed apparatuses calculated modules; transmission of at least one Message on at least one Channel, moreover, the Channel is part of the Service Bus of the Enterprise and links the elements of the Service Bus of the Enterprise, and is also used to model the flow direction of the chemical-technological scheme, where the elements of the Service Bus of the Enterprise are, at least an activator, adapter, router, aggregator; calculation of at least one device parameter using the elements of the Enterprise Service Bus.

[041] В одном из частных вариантов реализации активатор используется для получения сообщения и вызова адаптера и имеет один вход и один выход и используется для преобразования сообщения; адаптер используется для расчета модуля химико-технологической схемы и для преобразования и отправки сообщения в канал и обработки сообщения из канала; роутер используется для перенаправления, по крайней мере, одного сообщения по каналам, в зависимости от свойств сообщений; агрегатор используется для объединения, по крайней мере, двух сообщений в одно.[041] In one particular embodiment, the activator is used to receive a message and call the adapter and has one input and one output and is used to convert the message; the adapter is used to calculate the module of the chemical-technological scheme and to convert and send messages to the channel and process messages from the channel; a router is used to redirect at least one message on channels, depending on the properties of the messages; An aggregator is used to combine at least two messages into one.

[042] В одном из частных вариантов реализации потоки химико-технологической схемы представлены каналами Сервисной Шины Предприятия.[042] In one of the private embodiments, the flows of the chemical-technological scheme are represented by the channels of the Service Bus of the Enterprise.

[043] В одном из частных вариантов реализации сервер использует, по крайней мере, один алгоритм расчета аппарата схемы, подключаемый к серверу в виде модуля химико-технологической схемы.[043] In one of the private implementations, the server uses at least one algorithm for calculating the apparatus of the circuit, connected to the server in the form of a module of a chemical-technological scheme.

[044] В одном из частных вариантов реализации алгоритм расчета аппарата химико-технологической схемы выполнен в виде программного кода.[044] In one of the private embodiments, the algorithm for calculating the apparatus of the chemical-technological scheme is made in the form of program code.

[045] В одном из частных вариантов реализации алгоритмы и/или программы расчета для модулей химико-технологической схемы создаются пользователем на языке программирования и включают программный код.[045] In one particular embodiment, the algorithms and / or calculation programs for the modules of the chemical-technological scheme are created by the user in a programming language and include program code.

[046] В одном из частных вариантов реализации расчетные модули преобразуются на сервере в элементы Сервисной Шины Предприятия.[046] In one of the private embodiments, the calculation modules are converted on the server into elements of the Service Bus of the Enterprise.

[047] В одном из частных вариантов реализации расчет, по крайней мере, одного аппарата может быть запрошен устройством пользователя, так что результаты расчета аппарата после проведения, по крайней мере, одного расчета аппарата могут быть переданы на устройство пользователя.[047] In one particular embodiment, the calculation of at least one device can be requested by the user device, so that the results of the calculation of the device after at least one calculation of the device can be transmitted to the user device.

[048] В одном из частных вариантов реализации химико-технологической схеме сопоставляется конфигурационное задание, содержащееся в конфигурационном файле.[048] In one particular embodiment of the chemical process scheme, the configuration task contained in the configuration file is compared.

[049] В одном из частных вариантов реализации результаты расчета, по крайней мере, одного аппарата химико-технологической схемы сохраняются на сервере.[049] In one particular embodiment, the calculation results of at least one apparatus of the chemical-technological scheme are stored on the server.

КРАТКОЕ ОПИСАНИЕ ЧЕРТЕЖЕЙBRIEF DESCRIPTION OF THE DRAWINGS

[050] Дополнительные цели, признаки и преимущества настоящего изобретения будут очевидными из прочтения последующего описания осуществления изобретения со ссылкой на прилагаемые чертежи, на которых:[050] Additional objectives, features and advantages of the present invention will be apparent from reading the following description of an embodiment of the invention with reference to the accompanying drawings, in which:

[051] ФИГ. 1 иллюстрирует примерный вариант связи аппарата с математическими моделями, алгоритмами и модулями технологической схемы (технологическим модулем);FIG. 1 illustrates an exemplary embodiment of the communication apparatus with mathematical models, algorithms and modules of the technological scheme (technological module);

[052] ФИГ. 2 иллюстрирует примерный вариант технологической схемы технологической линии/процесса;FIG. 2 illustrates an exemplary process line / process flow diagram;

[053] ФИГ. 3 иллюстрирует примерный вариант системы, реализующей настоящее изобретение;FIG. 3 illustrates an exemplary embodiment of a system implementing the present invention;

[054] ФИГ. 4 иллюстрирует примерное представление части технологической схемы, изображенной на ФИГ. 2, в виде элементов Сервисной Шины Предприятия;FIG. 4 illustrates an exemplary representation of a portion of the flow diagram shown in FIG. 2, in the form of elements of an Enterprise Service Bus;

[055] ФИГ. 5 иллюстрирует примерный вариант интерфейса установки параметров аппарата;FIG. 5 illustrates an exemplary embodiment of an apparatus parameter setting interface;

[056] ФИГ. 6 иллюстрирует блок-схему одного из вариантов процесса создания, редактирования и расчета технологической схемы;FIG. 6 illustrates a flowchart of one embodiment of a process for creating, editing, and calculating a flow chart;

[057] ФИГ. 7 иллюстрирует блок-схему примерного варианта обработки данных и расчета технологической схемы;FIG. 7 illustrates a block diagram of an exemplary embodiment of data processing and process flow calculation;

[058] ФИГ. 8 иллюстрирует пример компьютерной системы общего назначения.FIG. 8 illustrates an example of a general purpose computer system.

ОПИСАНИЕ ВАРИАНТОВ ОСУЩЕСТВЛЕНИЯ ИЗОБРЕТЕНИЯDESCRIPTION OF EMBODIMENTS OF THE INVENTION

[059] Объекты и признаки настоящего изобретения, способы для достижения этих объектов и признаков станут очевидными посредством отсылки к примерным вариантам осуществления. Однако настоящее изобретение не ограничивается примерными вариантами осуществления, раскрытыми ниже, она может воплощаться в различных видах. Сущность, приведенная в описании, является ничем иным, как конкретными деталями, обеспеченными для помощи специалисту в области техники в исчерпывающем понимании изобретения, и настоящее изобретение определяется только в объеме приложенной формулы.[059] The objects and features of the present invention, methods for achieving these objects and features will become apparent by reference to exemplary embodiments. However, the present invention is not limited to the exemplary embodiments disclosed below, it can be embodied in various forms. The essence described in the description is nothing more than the specific details provided to assist the specialist in the field of technology in a comprehensive understanding of the invention, and the present invention is defined only in the scope of the attached claims.

[060] Химико-технологическая схема (ХТС) представляет собой описание технологической системы, характеризующейся, как минимум, одним технологическим процессом, и состоит из аппаратов (в частности, химических аппаратов, химико-технологических аппаратов, технологических аппаратов и т.д.). Аппараты (в которых протекают технологические процессы, включая химические и химико-технологические процессы) представляют собой модули технологической схемы, соединенные технологическими каналами, по которым передаются потоки (химико-технологические потоки). Каждому потоку в технологической схеме соответствует, как минимум, один Канал, связывающий, как минимум, два модуля. К примерам аппаратов можно отнести массообменные аппараты, выпарные аппараты, колонна дистилляции, адсорбер и т.д. Каналы, как для модуля технологической схемы, так и для технологической схемы, делятся на входные каналы и выходные каналы. В частном случае, выходной канал из одного модуля технологической схемы является входным каналом для другого модуля технологической схемы. Каналы служат/используются для связи/соединения модулей технологической схемы и используются для передачи потоков между модулями технологической схемы. Каждый аппарат включен в модуль химико-технологической схемы. Модуль технологической схемы может быть рассчитан, по крайней мере, одним расчетным модулем (реализующим, по крайней мере, один алгоритм расчета модуля технологической схемы), который представляет собой программное решение (программное обеспечение, программу), при помощи которого производится расчет. Для одного типа аппарата может существовать несколько модулей расчета, которые способны производить расчет данного типа аппарата различными способами, например, аппарат типа компрессор может быть реализован такими модулями расчета, как:[060] A chemical-technological scheme (CTS) is a description of a technological system characterized by at least one technological process and consists of apparatuses (in particular, chemical apparatuses, chemical-technological apparatuses, technological apparatuses, etc.). Devices (in which technological processes occur, including chemical and chemical-technological processes) are modules of the technological scheme connected by technological channels through which flows are transferred (chemical-technological flows). Each flow in the technological scheme corresponds to at least one Channel connecting at least two modules. Examples of apparatus include mass transfer apparatus, evaporators, distillation column, adsorber, etc. Channels, both for the technological scheme module and for the technological scheme, are divided into input channels and output channels. In the particular case, the output channel from one module of the technological scheme is the input channel for another module of the technological scheme. Channels serve / are used for communication / connection of the modules of the technological scheme and are used for transmitting flows between the modules of the technological scheme. Each device is included in the module of the chemical-technological scheme. The module of the technological scheme can be calculated by at least one calculation module (implementing at least one algorithm for calculating the module of the technological scheme), which is a software solution (software, program) by which the calculation is performed. For one type of apparatus, there may be several calculation modules that are capable of calculating this type of apparatus in various ways, for example, a compressor-type apparatus can be implemented by calculation modules such as:

[061] - модуль расчета позволяющий рассчитать определенную модель аппарата с использованием программного обеспечения, поддерживающегося системой, описываемой в рамках настоящего изобретения;[061] - calculation module that allows you to calculate a specific model of the apparatus using software supported by the system described in the framework of the present invention;

[062] - модуль расчета позволяющий рассчитать определенную модель аппарата при помощи программы промышленного моделирования (программы расчета);[062] - a calculation module that allows you to calculate a specific model of the device using the industrial modeling program (calculation program);

[063] - модуль расчета позволяющий рассчитать определенную модель аппарата при помощи программного обеспечения MatLab (программы расчета)[063] - calculation module that allows you to calculate a specific model of the device using MatLab software (calculation program)

[064] и т.д.[064] etc.

[065] Задачей моделирования является определение выходных потоков аппарата 110 на ФИГ. 1 (химико-технологического процесса, химико-технологической схемы, химико-технологической системы, цепочек химико-технологической схемы и т.д.) на основании его математической модели (120, 130, 140 на ФИГ. 1), т.е. математического описания работы аппарата и определение его свойств и особенностей. Технологическая схема, состоит из аппаратов, которые преобразуют входные потоки в выходные потоки. Возможное количество таких аппаратов может исчисляться десятками, сотнями и т.д., в то время как, технологических схем, которые можно создать с использованием аппаратов может быть создано бесконечное множество. В связи с этим, как правило, математическая модель для каждой схемы не создается, поскольку является крайне ресурсоемкой задачей. Математические модели аппаратов подробно описывают работу аппаратов, например, описывают, как изменится выходной поток, на основе входного потока и свойств аппарата. При этом, математическая модель не учитывает, в какой именно технологической схеме используется тот или иной аппарат, поскольку роль играют такие параметры, как начальные данные (свойства, характеристики, параметры входных потоков и аппарата), задаваемые, например, пользователем или частями автоматизированной системы управления. Однако даже если используется математическая модель аппарата, не всегда с высокой точностью могут быть рассчитаны параметры выходных потоков аппарата. Часто наиболее точные методы расчета химико-технологических аппаратов (аппаратов химико-технологической схемы) основаны на решении дифференциальных уравнений обыкновенных или в частных производных, на сложных итеративных методах с негарантированной сходимостью, особенно если задание начальных условий неточное. Таким образом, для расчетов может быть использовано несколько моделей, поэтому возможность выбора модели очень важна для пользователя. В связи с этим, для решения какой-либо математической модели могут быть использованы различные алгоритмы (150, 152, 154, 156, 158, 159 на ФИГ. 1), которые с той или иной точностью решают математическую модель. Таким образом, существуют технологический аппарат (компрессор, насос, разделитель, смеситель и т.д.), математическая модель, описывающая работу аппарата (математических моделей может быть несколько) и алгоритмы, которые рассчитывают математические модели (которых также может быть несколько для каждой математической модели). Модуль расчета (160, 162, 164, 166 на ФИГ. 1), описываемый в рамках настоящего изобретения, представляет собой реализацию одного из возможных алгоритмов расчета математической модели аппарата.[065] The task of modeling is to determine the output streams of apparatus 110 in FIG. 1 (chemical-technological process, chemical-technological scheme, chemical-technological system, chains of chemical-technological schemes, etc.) based on its mathematical model (120, 130, 140 in FIG. 1), i.e. mathematical description of the apparatus and the definition of its properties and features. The technological scheme consists of devices that convert input streams to output streams. The possible number of such devices can be in the tens, hundreds, etc., while the technological schemes that can be created using the devices can be created by an infinite number. In this regard, as a rule, a mathematical model for each scheme is not created, since it is an extremely resource-intensive task. Mathematical models of devices describe in detail the operation of devices, for example, describe how the output stream will change, based on the input stream and the properties of the device. At the same time, the mathematical model does not take into account which technological scheme one or another apparatus is used in, since such parameters as initial data (properties, characteristics, parameters of input streams and apparatus), set, for example, by the user or parts of an automated control system, play a role . However, even if a mathematical model of the apparatus is used, the parameters of the apparatus output streams cannot always be calculated with high accuracy. Often, the most accurate methods for calculating chemical-technological apparatuses (apparatuses of a chemical-technological scheme) are based on solving differential equations of ordinary or partial derivatives, on complex iterative methods with unwarranted convergence, especially if the initial conditions are inaccurate. Thus, several models can be used for calculations, so the ability to choose a model is very important for the user. In this regard, to solve a mathematical model, various algorithms can be used (150, 152, 154, 156, 158, 159 in FIG. 1), which solve the mathematical model with one degree or another. Thus, there are a technological apparatus (compressor, pump, separator, mixer, etc.), a mathematical model that describes the operation of the apparatus (there may be several mathematical models) and algorithms that calculate mathematical models (which may also be several for each mathematical models). The calculation module (160, 162, 164, 166 in FIG. 1), described in the framework of the present invention, is an implementation of one of the possible algorithms for calculating the mathematical model of the apparatus.

[066] Например, в компрессор подается газ, известны химико-технологические параметры потоков, т.е. состав газа, концентрация химических элементов, из которых состоит газ, давление, температура и расход, необходимо определить, как изменится его давление, температура и расход после прохождения аппарата. Модуль расчета производит расчет аппаратов и/или модулей технологической схемы, то есть, определяет свойства/параметры выходных потоков на основе типа аппарата и/или модуля технологической схемы и входной информации. Выходной поток для одного аппарата и/или модуля технологической схемы является входным для следующего.[066] For example, gas is supplied to the compressor, the chemical-technological parameters of the flows are known, i.e. the composition of the gas, the concentration of the chemical elements that make up the gas, pressure, temperature and flow, it is necessary to determine how its pressure, temperature and flow will change after passing through the apparatus. The calculation module calculates the devices and / or modules of the technological scheme, that is, determines the properties / parameters of the output flows based on the type of apparatus and / or module of the technological scheme and input information. The output stream for one device and / or module of the technological scheme is the input for the next.

[067] Модуль технологической схемы, рассчитываемый, по крайней мере, одним элементом Сервисной Шины Предприятия, в частности, модулем расчета (расчетным модулем), характеризуется, по крайней мере, типом, как минимум, одного аппарата, набором входных и выходных потоков и их характеристиками, а также свойствами, описывающих аппарат и/или модуль технологической схемы, так, например, к таким свойствам для теплообменного аппарата относится коэффициент теплообмена, а для мембранного разделения - площадь мембраны и ее параметры.[067] The module of the technological scheme, calculated by at least one element of the Service Bus of the Enterprise, in particular, the calculation module (calculation module), is characterized by at least the type of at least one device, a set of input and output flows and their characteristics, as well as properties describing the apparatus and / or module of the technological scheme, for example, such properties for the heat exchanger include the heat transfer coefficient, and for membrane separation - the membrane area and its parameters.

[068] Потоки, как для модуля технологической схемы, так и для технологической схемы, делятся на входные потоки и выходные потоки. Потоки можно разделить, как минимум, на два типа: материальные потоки (вещественные потоки) и энергические потоки. Материальные потоки описывают потоки веществ и их свойства/параметры, такие как состав и концентрация компонент/компонентов (химических элементов), расход компонентов и физические свойства компонентов, например, температуру, давление и т.д. Энергетические потоки описывают потоки энергии (тепловой, электрической и т.д.) подводимой к модулям или отводимой от модулей технологического процесса.[068] Streams, both for the module of the technological scheme, and for the technological scheme, are divided into input streams and output streams. Streams can be divided into at least two types: material flows (material flows) and energy flows. Material flows describe the flows of substances and their properties / parameters, such as the composition and concentration of components / components (chemical elements), consumption of components and physical properties of components, for example, temperature, pressure, etc. Energy flows describe energy flows (thermal, electric, etc.) supplied to modules or removed from process modules.

[069] Так, например, вещественный поток может представлять собой поток жидкости или газа. Если рассматривать в качестве аппарата (описываемого модулем технологической схемы) компрессор, то входной поток компрессора может быть представлен газом, который подается на вход компрессора, а выходной поток может быть представлен газом выходящим из компрессора. Для работы компрессора к нему необходимо подключить электричество - это и есть энергетический поток, который измеряется в киловатт-часах (кВт ч).[069] Thus, for example, the material stream may be a liquid or gas stream. If we consider a compressor as an apparatus (described by the technological module), the compressor input stream can be represented by gas, which is supplied to the compressor input, and the output stream can be represented by gas leaving the compressor. For the compressor to work, electricity must be connected to it - this is the energy flow, which is measured in kilowatt hours (kWh).

[070] На ФИГ. 2 показан примерный вариант технологической линии (в виде технологической схемы) на примере производства сметаны. Входным потоком 210 для данной технологической линии в данном частном случае является цельное молоко. Характеристиками входного потока могут являться следующие параметры: температура 12 градусов Цельсия, расход 100 л/ч; состав: вода 12%, молоко 84%, жир 4%.[070] In FIG. 2 shows an exemplary embodiment of the production line (in the form of a technological scheme) using the example of the production of sour cream. The input stream 210 for this production line in this particular case is whole milk. The characteristics of the input stream can be the following parameters: temperature 12 degrees Celsius, flow rate 100 l / h; composition: water 12%, milk 84%, fat 4%.

[071] В первом аппарате 215 (представленным смесителем) входной поток 210 смешивается с потоком нормализованного молока 248 при этом параметры молока (в частности, состав молока и его температура) при этом меняются, таким образом, динамически изменяя характеристики входного потока 210. Далее через аппарат 220 (представленный насосом) молоко (смесь цельного и пастеризованного молока) подается в аппарат 225 (представленный пастеризатором), где молоко нагревается до температуры 60 градусов Цельсия. Далее молоко поступает в аппарат 230 (в качестве которого может выступать пастеризационная ванна). Далее пастеризованное молоко 234 (являющегося в данном случае выходным потоком аппарата 230 и входным потоком аппарата 235) поступает в аппарат 235 (представленный насосом) после чего подается в аппарат 240 (сепаратор сливкоотделитель). В аппарате 240 пастеризованное молоко разделяется на два потока с разными долями жира: поток 241 (с большой жирностью) и 242 (обезжиренное молоко). Поток 242 через аппарат 244 (насос) подается в аппарат 246 (представляющий собой накопительную ванну/ванну нормализационную), из которой потом смешивается с входным потоком 210 в аппарате 215.[071] In the first apparatus 215 (represented by a mixer), the input stream 210 is mixed with the normalized milk stream 248, while the milk parameters (in particular, the composition of the milk and its temperature) are changed, thus dynamically changing the characteristics of the input stream 210. Then through apparatus 220 (represented by a pump) milk (a mixture of whole and pasteurized milk) is supplied to apparatus 225 (represented by a pasteurizer), where the milk is heated to a temperature of 60 degrees Celsius. Next, the milk enters the apparatus 230 (which can be a pasteurization bath). Next, pasteurized milk 234 (which in this case is the output stream of the apparatus 230 and the input stream of the apparatus 235) enters the apparatus 235 (represented by a pump) and then is supplied to the apparatus 240 (cream separator). In the apparatus 240, pasteurized milk is divided into two streams with different fractions of fat: stream 241 (with high fat content) and 242 (skim milk). The stream 242 through the apparatus 244 (pump) is supplied to the apparatus 246 (which is a storage bath / normalization bath), from which it is then mixed with the input stream 210 in the apparatus 215.

[072] Поток 241 попадает в аппарат 250 (представляющий собой пастеризатор), из которого при помощи аппарата 255 (представленного насосом) подается готовая сметана. Выходным потоком (258) данной технологической линии в данном частном случае является сметана с определенными характеристиками (температура, жирность, расход и т.д.).[072] Stream 241 enters the apparatus 250 (which is a pasteurizer), from which, using the apparatus 255 (represented by a pump), the finished sour cream is supplied. The output stream (258) of this production line in this particular case is sour cream with certain characteristics (temperature, fat content, flow rate, etc.).

[073] Показанная на ФИГ. 2 схема может быть рассчитана в системе, показанной на ФИГ. 3, с целью определения параметров выходного потока (258), а также параметров каждого из аппаратов (в частности, 215, 220, 225, 230, 235, 240, 250, 255, 258, 244, 246), а также промежуточных потоков (в частности, 241 и 242) присутствующих в технологической схеме (технологической линии, технологической системе), например, потребляемую мощность и производительность каждого аппарата.[073] Shown in FIG. 2, the circuit can be calculated in the system shown in FIG. 3, in order to determine the parameters of the output stream (258), as well as the parameters of each of the devices (in particular, 215, 220, 225, 230, 235, 240, 250, 255, 258, 244, 246), as well as intermediate streams ( in particular, 241 and 242) present in the technological scheme (technological line, technological system), for example, power consumption and productivity of each device.

[074] На ФИГ. 3 показана структурная схема одного из вариантов системы, реализующей настоящее изобретение. Как показано на ФИГ. 3, система 300 может быть представлена двумя сторонами: клиентской стороной/клиентской частью 310 и серверной стороной/серверной частью 370. Клиентская часть 310 может быть представлена, как минимум, одним вычислительным устройством, например, персональным компьютером, сервером, мобильным устройством (смартфоном, телефоном, ноутбуком и т.д.). Клиентская часть 310 включает в себя, по крайней мере, интерфейс ввода данных 320 (в частности, интерфейс пользователя) и, как минимум, одну технологическую схему 330 (состоящую из модулей технологической схемы, 340A…340N, в частности, модулей технологической схемы аппаратов 215, 220, 225, 230, 235 и т.д. показанных на ФИГ. 2 и потоки 350, в частности, 248, 242, 241, показанные на ФИГ. 2, включая выходные потоки 210 и 258). Как было сказано выше, модули расчета представляют собой программное обеспечение или программный код, при помощи которого может быть произведен расчет аппаратов и модулей химико-технологической схемы 340A-340N различными способами, в частности, модули расчета 388А-388N отражают программное обеспечение, которое может быть использовано для расчета аппаратов, в то время как сами модули технологической схемы (в частности, алгоритмы по которым рассчитываются аппараты и, соответственно, алгоритмы модулей технологической схемы) могут размещаться как на серверной стороне 370, так и, в частном случае, на клиентской стороне 310, т.е. вычисления могут производиться как на серверной стороне 370 системы, так и на клиентской/пользовательской стороне 310 системы. Стоит также отметить, что часть аппаратов и модулей химико-технологической схемы может быть рассчитана на серверной стороне, а часть на клиентской части. Так, например, как минимум один пользовательский скрипт (описанные ниже) может обрабатываться/ на серверной стороне, а как минимум один алгоритм/программный код модулей расчета модулей технологической схемы может располагаться (и/или рассчитываться/обрабатываться) на серверной стороне. В качестве интерфейса ввода/вывода данных 320 может выступать (использоваться) интерфейс пользователя/пользовательский интерфейс (интерфейс на стороне пользователя), реализованный например, в виде веб-интерфейса, интерфейса приложения/программного обеспечения для персональных компьютеров, серверов, мобильных устройств (например, смартфонов, мобильных телефонов, планшетов) и других вычислительных устройств. Стоит отметить, что интерфейс ввода вывода 320 может быть реализован в виде Графического Интерфейса Пользователя (ГИП), командной строки и других инструментов, позволяющих пользователю взаимодействовать с системой 300, например, собирать/конструировать/компоновать технологическую схему, вводить исходные данные для аппаратов (например, как показано на ФИГ. 5), вводить исходные данные для аппаратов и модулей технологической схемы и всей химико-технологической схемы и т.д. (более подробно возможные типы и способы взаимодействия пользователя с системой 300 будут описано ниже). Также стоит отметить, что в качестве интерфейса ввода/вывода данных 320 может использоваться программный интерфейс приложения/интерфейс программирования приложений/интерфейс прикладного приложения (API), которые могут обеспечивать связь системы 300 с другими вычислительными устройствами (например, удаленным компьютером/сервером, мобильным устройством), программным обеспечением, сервисами (в частности, веб-сервисами, веб-службами), службами, и/или, как минимум одной, другой системой, функционал которой может повторять, быть схожим или отличаться от системы 300, и т.д. для обеспечения их взаимодействия/связи с системой 300.[074] FIG. 3 shows a block diagram of one embodiment of a system that implements the present invention. As shown in FIG. 3, the system 300 can be represented by two parties: the client side / client part 310 and the server side / server part 370. The client part 310 can be represented by at least one computing device, for example, a personal computer, a server, a mobile device (smartphone, phone, laptop, etc.). The client part 310 includes at least a data input interface 320 (in particular, a user interface) and at least one technological scheme 330 (consisting of modules of the technological scheme, 340A ... 340N, in particular, the technological modules of the devices 215 220, 225, 230, 235, etc. shown in FIG. 2 and streams 350, in particular, 248, 242, 241 shown in FIG. 2, including output streams 210 and 258). As mentioned above, the calculation modules are software or program code with which the devices and modules of the chemical-technological scheme 340A-340N can be calculated in various ways, in particular, the calculation modules 388A-388N reflect the software, which can be used to calculate the devices, while the modules of the technological scheme (in particular, the algorithms by which the devices are calculated and, accordingly, the algorithms of the modules of the technological scheme) can be placed on the server side 370, and, in the particular case, on the client side 310, i.e., calculations can be performed both on the server side 370 of the system, and on the client / user side 310 of the system. It is also worth noting that part of the devices and modules of the chemical-technological scheme can be designed on the server side, and part on the client side. So, for example, at least one user script (described below) can be processed / on the server side, and at least one algorithm / program code of the modules for calculating the modules of the technological scheme can be located (and / or calculated / processed) on the server side. As the data input / output interface 320, a user interface / user interface (user-side interface) can be used (used, for example, as a web interface, an application / software interface for personal computers, servers, mobile devices (e.g. smartphones, mobile phones, tablets) and other computing devices. It is worth noting that the input-output interface 320 can be implemented in the form of a Graphical User Interface (GUI), a command line, and other tools that allow the user to interact with the system 300, for example, to collect / construct / assemble a technological scheme and enter the initial data for devices (for example , as shown in FIG. 5), enter the source data for the apparatus and modules of the technological scheme and the entire chemical-technological scheme, etc. (in more detail, possible types and methods of user interaction with system 300 will be described below). It is also worth noting that as the data input / output interface 320, an application program interface / application programming interface / application application interface (API) can be used, which can provide the system 300 with other computing devices (e.g., a remote computer / server, mobile device) ), software, services (in particular, web services, web services), services, and / or at least one other system whose functionality may be similar, similar, or different from system 300, etc. to ensure their interaction / communication with the system 300.

[075] Стоит отметить, что реализация клиентской части, в частности, с использованием веб-интерфейса позволяет реализовать систему 300 в виде кроссплатформенного решения/кроссплатформенной системы (в виде кроссплатформенной/межплатформенной системы, функционирующей более чем на одной аппаратной платформе и/или операционной системе) и в виде многопользовательской системы. Интерфейс ввода данных или любое другое средство и способ взаимодействия/связи пользователя, программного обеспечения, сервиса или устройства позволяет создавать, компоновать, настраивать и т.д. технологическую схему, вводить/передавать описание технологической диаграммы/схему и данные, необходимые для расчета технологической схемы (химико-технологической схемы), химико-технологической диаграммы, технологического процесса (например, химико-технологического процесса), технологической системы (например, химико-технологической системы), отдельных модулей технологической схемы, набора модулей технологической схемы (блоков технологической схемы) и т.д.[075] It is worth noting that the implementation of the client part, in particular, using the web interface allows you to implement the system 300 in the form of a cross-platform solution / cross-platform system (in the form of a cross-platform / cross-platform system that operates on more than one hardware platform and / or operating system ) and as a multi-user system. The data input interface or any other means and method of interaction / communication of a user, software, service or device allows you to create, assemble, configure, etc. technological scheme, enter / transmit the description of the technological diagram / scheme and the data necessary for calculating the technological scheme (chemical-technological scheme), chemical-technological diagram, technological process (for example, chemical-technological process), technological system (for example, chemical-technological system), individual modules of the technological scheme, a set of modules of the technological scheme (blocks of the technological scheme), etc.

[076] Собранные на стороне пользователя (клиентской стороне) 310 данные отправляются на серверную сторону 370 для выполнения расчетов, в частности расчетов технологической схемы и ее составных частей (в частности, модулей технологической схемы), т.е. характеристик как минимум, одного выходного потока, характеристик, как минимум одного выходного/входного потоков, характеристик аппаратов технологической схемы, параметров модулей, описывающих аппараты и т.д.[076] The data collected on the user side (client side) 310 is sent to the server side 370 to perform calculations, in particular calculations of the technological scheme and its components (in particular, technological scheme modules), i.e. characteristics of at least one output stream, characteristics of at least one output / input stream, characteristics of devices of the technological scheme, parameters of modules describing devices, etc.

[077] Серверная сторона системы 300 может включать как минимум, один сервер 380, управляющий процессом расчета технологической схемы, технологической системы (вычисления ее параметров/характеристик и т.д.) и характеристик ее составных частей, а также вычислением всех связанных с технологической схемой и технологическим процессом данных.[077] The server side of the system 300 may include at least one server 380 that controls the process of calculating the technological scheme, technological system (calculating its parameters / characteristics, etc.) and the characteristics of its components, as well as calculating all associated with the technological scheme and process data.

[078] После проведенного расчета результаты расчета могут быть сохранены на сервере или связанных с ним устройствах (других серверах, персональных компьютерах, устройствах хранения и т.д.) и могут быть отправлены на клиентскую сторону для демонстрации/визуализации результатов расчета пользователю (например, в виде XML-файла, содержащим, в частности свойства всех потоков, рассчитанных на серверной стороне). XML-файл может быть преобразован интерфейсом пользователя в визуальное представления результатов расчета пользователю.[078] After the calculation, the calculation results can be stored on the server or related devices (other servers, personal computers, storage devices, etc.) and can be sent to the client side to demonstrate / visualize the calculation results to the user (for example, in the form of an XML file containing, in particular, the properties of all streams calculated on the server side). The XML file can be transformed by the user interface into a visual representation of the calculation results to the user.

[079] Стоит отметить, что конфигурационное задание может быть представлено конфигурационным файлом (может быть сохранено в виде конфигурационного файла), например, в виде XML-файла (файла в формате XML), в базе данных, которая, в свою очередь, может храниться в хранилище описанного сервера и/или на клиентской стороне. Также, конфигурационный файл может быть дополнен результатами расчета и сохранен на устройстве хранения, например, в базе данных.[079] It is worth noting that the configuration task can be represented by a configuration file (can be saved as a configuration file), for example, as an XML file (XML file), in a database, which, in turn, can be stored in the storage of the described server and / or on the client side. Also, the configuration file can be supplemented with calculation results and stored on a storage device, for example, in a database.

[080] Также, конфигурационный файл может использоваться пользователем (например, загружен пользователем на клиентскую сторону и/или открыт пользователем с сервера), например, для восстановления исходной химико-технологической схемы (которая, например, была сохранена на сервере и/или для которой был проведен расчет), например, для повторного использования химико-технологической схемы и/или модулей химико-технологической схемы для проведения нового расчета данной схемы или для создания новой или отредактированной химико-технологической схемы.[080] Also, the configuration file can be used by the user (for example, downloaded by the user to the client side and / or opened by the user from the server), for example, to restore the original chemical-technological scheme (which, for example, was stored on the server and / or for which a calculation was made), for example, to reuse the chemical-technological scheme and / or modules of the chemical-technological scheme to conduct a new calculation of this scheme or to create a new or edited chemical-technological scheme with emy.

[081] Стоит также отметить, что результаты расчета могут быть сохранены на пользовательской стороне, включая персональный компьютер, с которого был отправлен запрос на расчет технологической схемы, а также включая подключенные к нему вычислительные устройства и устройства хранения данных.[081] It is also worth noting that the calculation results can be stored on the user side, including the personal computer from which the request for the calculation of the technological scheme was sent, as well as including computing devices and data storage devices connected to it.

[082] После получения данных пользователь может использовать полученные данные расчета, например, для создания технологической системы на базе предоставленных расчетов либо для корректировки существующей технологической системы. Также, пользователь может изменить конфигурацию технологической схемы, в том числе, переопределив параметры аппаратов, модулей технологической схемы, потоков, добавив новые модули технологической схемы, изменив алгоритмы расчета/модули расчета аппаратов и модулей технологической схемы и т.д., и отправить запрос на пересчет технологической схемы на серверную сторону 370.[082] After receiving the data, the user can use the obtained calculation data, for example, to create a technological system based on the provided calculations or to adjust an existing technological system. Also, the user can change the configuration of the technological scheme, including by overriding the parameters of devices, technological scheme modules, flows, adding new technological scheme modules, changing calculation algorithms / calculation modules of devices and technological scheme modules, etc., and send a request for recalculation of the technological scheme to the server side 370.

[083] Расчет технологической схемы выполняется на серверной стороне посредством Сервисной Шины Предприятия (от англ. Enterprise Service Bus, сокращенно - ESB). Сервисная Шина Предприятия (385 на ФИГ. 3) представляет собой промышленное программное обеспечение, описывающее взаимодействие между элементами Сервисной Шины Предприятия в виде Сообщений между элементами Сервисной Шины Предприятия, используя для этого конфигурационный файл /конфигурационное задание, которое более подробно описано ниже. Элемент Сервисной Шины Предприятия является частью Сервисной Шины Предприятия, описанной в конфигурационном задании (описывающим свойства различных элементов Сервисной Шины Предприятия и направления информационных потоков (в виде сообщений) между ними и может быть представлен, например, текстовым файлом в формате XML), задачей которой является преобразование входящих Сообщений в исходящие Сообщения. Другими словами технологической схеме 330 сопоставляется конфигурационное задание (содержащееся, например, в конфигурационном файле), которое используется Сервисной Шиной Предприятия.[083] The calculation of the technological scheme is performed on the server side through the Enterprise Service Bus (from the English Enterprise Service Bus, in short - ESB). The Service Bus of the Enterprise (385 in FIG. 3) is an industrial software that describes the interaction between the elements of the Service Bus of the Enterprise in the form of Messages between the elements of the Service Bus of the Enterprise, using the configuration file / configuration task, which is described in more detail below. The Enterprise Service Bus element is part of the Enterprise Service Bus described in the configuration task (describing the properties of the various elements of the Enterprise Service Bus and the direction of information flows (in the form of messages) between them and can be represented, for example, by a text file in XML format), the task of which is Convert incoming Messages to outgoing Messages. In other words, the technological task 330 associates the configuration task (contained, for example, in the configuration file), which is used by the Enterprise Service Bus.

[084] Так, например, в частном случае, если рассмотреть часть технологической схемы (состоящей из модулей технологической схемы аппаратов 234, 235 и 240) на ФИГ. 2, то локальной задачей в данном случае является разделение входного потока 234 (соответствующего входному каналу 434 на ФИГ. 4) для модуля технологической схемы аппарата 235 технологической схемы на сливки 241 и обезжиренное молоко 242. Данная технологическая схема может быть представлена в виде наборов элементов Сервисной Шины Предприятия, в частности Активатором Сервисной Шины Предприятия (далее Активатор) и Адаптером Сервисной Шины Предприятия (далее Адаптер), т.е. модулем расчета элементов Сервисной Шины Предприятия. Так, например, модуль технологической схемы, описывающий аппарат, представленный компрессором/насосом 235, может быть представлен, как минимум, двумя элементами Сервисной Шины Предприятия: Активатором (438 на ФИГ. 4) и Адаптером (439 на ФИГ. 4). В общем случае Активатор представляет собой элемент, описывающий преобразование, с одним входом и выходом. Таким образом, Активатор получает Сообщение и в зависимости от параметров (заданных пользователем для модуля и/или технологической схемы и ее составных частей) вызывает/активирует Адаптер, который производит расчет аппарата 235, описываемого соответствующим ему модулем технологической схемы. В качестве адаптера, может быть представлена любая система технологического расчета (алгоритм расчета модуля технологической схемы, аппарата, технологической схемы и т.д., реализованный модулем расчета, в частности, программным модулем). Каждому модулю технологической схемы может быть сопоставлен, как минимум, один адаптер, при помощи которого происходит расчет данного модуля. В зависимости от настроек адаптера, расчет каждого такого модуля может производиться на различных серверах, что способно оптимизировать процесс расчета технологической схемы и модуля технологической схемы, в частности, что способно повысить эффективность системы расчета технологической схемы и ее составных частей. В общем случае, элемент типа Адаптер используется для преобразования и отправки сообщения в канал и обработки сообщения из канала. Канал представляет собой элемент Сервисной Шины Предприятия, связывающий элементы Сервисной Шины Предприятия между собой, и моделирует направление потоков технологической схемы (соответствует потокам технологической схемы). Канал используется для передачи информации о потоках в виде Сообщений с описанием потоков технологической схемы. Сообщения, как элемент Сервисной Шины Предприятия, представляют собой набор данных, описывающих характеристики потоков технологической схемы, которые передаются по Каналам Сервисной Шины Предприятия. Так, например, входящее Сообщение для аппарата 235 (насоса/компрессора) описывает входной поток 234, а выходящее Сообщение для аппарата 240 (представленного в данном случае двумя элементами Сервисной Шины Предприятия: Активатором 443 на ФИГ. 4 и Адаптером 447 на ФИГ. 4) описывает (задает все его необходимые параметры) выходной поток 241 (представленный выходным каналом 441 на ФИГ. 4) и выходной поток 242 (представленный выходным каналом 442 на ФИГ. 4).[084] So, for example, in the particular case, if we consider a part of the technological scheme (consisting of modules of the technological scheme of devices 234, 235 and 240) in FIG. 2, then the local task in this case is to separate the input stream 234 (corresponding to the input channel 434 in FIG. 4) for the technological module of the apparatus 235 of the technological scheme into cream 241 and skim milk 242. This technological scheme can be represented as sets of Service items Tires of the Enterprise, in particular, the Activator of the Service Bus of the Enterprise (hereinafter the Activator) and the Adapter of the Service Bus of the Enterprise (hereinafter the Adapter), i.e. module for calculating the elements of an Enterprise Service Bus. So, for example, the technological module describing the apparatus represented by the compressor / pump 235 can be represented by at least two elements of the Enterprise Service Bus: the Activator (438 in FIG. 4) and the Adapter (439 in FIG. 4). In general, an Activator is an element that describes a conversion, with one input and output. Thus, the Activator receives a Message and, depending on the parameters (user-defined for the module and / or the technological scheme and its components), calls / activates the Adapter, which calculates the device 235 described by the corresponding technological module. As an adapter, any technological calculation system can be represented (algorithm for calculating a module of a technological scheme, apparatus, technological scheme, etc., implemented by a calculation module, in particular, a software module). Each module of the technological scheme can be associated with at least one adapter, with which this module is calculated. Depending on the adapter settings, the calculation of each such module can be performed on different servers, which is able to optimize the calculation process of the technological scheme and the technological scheme module, in particular, which can increase the efficiency of the calculation system of the technological scheme and its components. In general, an adapter type element is used to convert and send a message to a channel and process a message from a channel. The channel is an element of the Service Bus of the Enterprise, connecting the elements of the Service Bus of the Enterprise with each other, and models the direction of flows of the technological scheme (corresponds to the flows of the technological scheme). The channel is used to transmit information about flows in the form of Messages with a description of flows of the technological scheme. Messages, as an element of the Enterprise Service Bus, are a set of data describing the characteristics of the flows of the technological scheme that are transmitted through the Enterprise Service Bus Channels. So, for example, the incoming Message for apparatus 235 (pump / compressor) describes the input stream 234, and the outgoing Message for apparatus 240 (represented in this case by two elements of the Enterprise Service Bus: Activator 443 in FIG. 4 and Adapter 447 in FIG. 4) describes (sets all its necessary parameters) the output stream 241 (represented by the output channel 441 in FIG. 4) and the output stream 242 (represented by the output channel 442 in FIG. 4).

[085] Т.е. сообщение (в частности, для входных каналов) представляет собой данные из конфигурационного файла, относящиеся к определенному потоку технологической схемы.[085] That is, a message (in particular, for input channels) is data from a configuration file related to a specific flow of a technological scheme.

[086] Каждый аппарат технологической схемы представляется информационной системой (модулем технологического процесса, модулем технологической схемы), которая получив Сообщение, в котором находится описание входного потока, запускает модуль расчета, который определяет значения выходных потоков. Далее эти результаты в виде, как минимум, одного Сообщения передаются к другим элементам Сервисной Шины Предприятия.[086] Each apparatus of the technological scheme is represented by an information system (technological process module, technological scheme module), which, upon receipt of the Message, which contains the description of the input stream, starts the calculation module, which determines the values of the output flows. Further, these results in the form of at least one Message are transmitted to other elements of the Service Bus of the Enterprise.

[087] На ФИГ. 5 показан интерфейс задания исходных данных аппарата, реализованный в виде графического интерфейса пользователя. Интерфейс задания параметров аппарата может включать визуальное/графическое представления аппарата (изображение аппарата) 510, а также элементы для ввода исходных данных/параметров аппарата 520. Сохранение/подтверждение исходных данных (параметров) аппарата может осуществляться кнопкой 530 или автоматически по закрытию окна ввода исходных данных/параметров. Интерфейс, показанный на ФИГ. 5, также может содержать элемент, позволяющий копировать исходные данные для аппарата из базы данных параметров других аппаратов, например, аппаратов подобного типа или близких к текущему аппарату, для которого вводятся исходные данные, например, путем выбора таких аппаратов из списка существующих/зарегистрированных в системе (или подключенных к ней) аппаратов.[087] In FIG. 5 shows the interface for setting the source data of the device, implemented as a graphical user interface. The interface for setting the parameters of the device may include visual / graphical representations of the device (image of the device) 510, as well as elements for entering the initial data / parameters of the device 520. Saving / confirming the initial data (parameters) of the device can be performed using button 530 or automatically by closing the window for entering initial data / parameters. The interface shown in FIG. 5, may also contain an element that allows you to copy the source data for the device from the database of parameters of other devices, for example, devices of a similar type or close to the current device for which the source data is entered, for example, by selecting such devices from the list of existing / registered in the system (or connected to it) devices.

[088] На ФИГ. 6 показана блок-схема процесса создания, редактирования и расчета технологической схемы. Процесс начинается в шаге 610. В шаге 615 устанавливаются/задаются начальные параметры технологической схемы, например, значения входных потоков для технологической схемы, после чего процесс переходит к шагу 620. В шаге 620 процесс проверяет, требуется ли создать новую технологическую схему. Если в шаге 620 установлено что необходимости в создании новой технологической схему нет, то процесс переходит в шаг 630, в котором происходит выбор (например, пользователем), как минимум, одной из существующих технологических схем, после чего процесс переходит к шагу 640. В шаге 640 процесс проверяет необходимость редактирования технологической схемы, например, необходимость добавления нового модуля технологической схемы, задание параметров и свойств нового или, как минимум, одного из существующих модулей технологической схемы, необходимость задания параметров входных потоков и выходных потоков технологической схемы, необходимость установления связей между модулями технологической схемы посредством каналов или перенаправление связей, удаление и т.д. существующих связей между модулями технологической схемы и необходимость изменения любых других параметров технологической схемы и ее составных частей. Стоит отметить, что при установлении связи между модулями технологической схемы система может автоматически подбирать типы каналов для связи модулей технологической схемы, либо пользователь может определять тип канала самостоятельно, выбирая их из списка. Каналы могут быть подобраны в зависимости от типа модуля технологической схемы, типа аппарата и их характеристик, например, входных потоков и выходных потоков. В том случае, если пользователь определит неправильный канал, система сообщит пользователю об ошибке при выборе типа канала.[088] FIG. 6 shows a flowchart of the process of creating, editing and calculating a flow chart. The process begins at step 610. At step 615, the initial parameters of the technological scheme are set / set, for example, the values of the input flows for the technological scheme, after which the process proceeds to step 620. At step 620, the process checks whether it is necessary to create a new technological scheme. If at step 620 it is established that there is no need to create a new technological scheme, the process proceeds to step 630, in which the user selects, for example, at least one of the existing technological schemes, after which the process proceeds to step 640. In step 640 a process verifies the need to edit a flow chart, for example, the need to add a new flowchart module, specify the parameters and properties of a new or at least one of the existing flowchart modules, the need setting parameters of input streams and output streams of the technological scheme, the need to establish links between the modules of the technological scheme through channels or redirect communications, delete, etc. existing relationships between the modules of the technological scheme and the need to change any other parameters of the technological scheme and its components. It should be noted that when establishing a connection between the modules of the technological scheme, the system can automatically select the types of channels for communication between the modules of the technological scheme, or the user can determine the type of channel by himself, choosing them from the list. Channels can be selected depending on the type of module of the technological scheme, the type of apparatus and their characteristics, for example, input streams and output streams. In the event that the user determines the wrong channel, the system will notify the user of an error when choosing the type of channel.

[089] Также стоит отметить, что свойства модулей технологической схемы используются для расчета модулей и могут задаваться из набора свойств для каждого модуля технологической схемы, например, определенных программистом (разработчиком программного обеспечения, создавшим модуль) при разработке модуля расчета и/или модуля расчета или пользователем при добавлении модуля технологической схемы в систему, описываемую в рамках настоящего изобретения. В частном случае, под расчетом модуля технологической схемы понимается определение (вычисление значения выходного потока) выходного потока модуля (или выходных потоков модулей, если их несколько) технологической схемы.[089] It is also worth noting that the properties of the modules of the technological scheme are used to calculate the modules and can be set from the set of properties for each module of the technological scheme, for example, determined by the programmer (software developer who created the module) when developing the calculation module and / or calculation module or by the user when adding a flowchart module to the system described in the framework of the present invention. In the particular case, the calculation of the module of the technological scheme means the definition (calculation of the value of the output stream) of the output stream of the module (or the output flows of the modules, if there are several) of the technological scheme.

[090] Если в шаге 640 установлена необходимость редактирования технологической схемы, то процесс переходит к шагу 650, в котором процесс проверяет необходимость добавления нового модуля технологической схемы. Если в шаге 650 не была установлена необходимость добавления нового модуля технологической схемы, то процесс переходит к шагу 660.[090] If the need to edit the flowchart is established in step 640, the process proceeds to step 650, in which the process verifies the need to add a new flowchart module. If in step 650 the necessity of adding a new module of the technological scheme was not established, the process proceeds to step 660.

[091] Если в шаге 650 была установлена необходимость в добавлении нового модуля технологической схемы, то процесс переходит к шагу 655, в котором происходит выбор одного из существующих модулей технологической схемы, например, пользователем системы, после чего процесс переходит к шагу 660.[091] If the need for adding a new flowchart module was determined in step 650, the process proceeds to step 655, in which one of the existing flowchart modules is selected, for example, by a system user, and then the process proceeds to step 660.

[092] В шаге 660 процесс проверяет необходимость редактирования добавленного модуля технологической схемы или существующего модуля технологической схемы. Если модуль технологической схемы редактировать не требуется (например, при добавлении нового модуля технологической схемы он добавляется с параметрами и свойствами, задаваемыми по умолчанию, и они соответствуют требованиям для расчета создаваемой/редактируемой технологической схемы), то процесс возвращается к шагу 640. Если в шаге 660 установлена необходимость редактирования модуля технологической схемы, например, необходимость введения свойства аппарата, изменения программы расчета/модуля расчета модуля технологической схемы, изменения его свойств и/или параметров, а также установление связей, изменение связей с другими модулями технологической схемы, то процесс переходит к шагу 670, в котором задаются параметры и свойства созданного или выбранного для редактирования модуля технологической схемы, а также способ расчета (модели расчета/расчетной модели/расчетного модуля/модуля расчета/, например, в программах/приложениях промышленного моделирования) выбранного модуля (который может быть представлен, например, в виде алгоритма, программы, метода/способа и т.д.). После настройки модуля технологической схемы в шаге 670 процесс возвращается к шагу 640.[092] In step 660, the process verifies the need to edit the added flowchart module or an existing flowchart module. If you do not need to edit the flowchart module (for example, when adding a new flowchart module, it is added with the default parameters and properties, and they meet the requirements for calculating the created / edited flowchart), then the process returns to step 640. If in step 660 establishes the need to edit the flowchart module, for example, the need to introduce the properties of the apparatus, change the calculation program / calculation module of the flowchart module, change If its properties and / or parameters are determined, as well as establishing relationships, changing relationships with other modules of the technological scheme, the process proceeds to step 670, in which the parameters and properties of the technological scheme module created or selected for editing are set, as well as the calculation method (calculation models / calculation model / calculation module / calculation module /, for example, in industrial modeling programs / applications) of the selected module (which can be represented, for example, in the form of an algorithm, program, method / method, etc.). After you configure the flowchart in step 670, the process returns to step 640.

[093] Если в шаге 640 установлено, что настройка технологической схемы завершена и не требует дальнейшего редактирования, то процесс переходит к шагу 675, в котором происходит передача данных на сервер 380 для расчета технологической схемы и ее параметров, включая параметры ее составляющих частей (в частности аппаратов, входных и выходных потоков и т.д.) в шаге 680.[093] If it was determined in step 640 that the setup of the technological scheme was completed and does not require further editing, the process proceeds to step 675, in which data is transmitted to the server 380 to calculate the technological scheme and its parameters, including the parameters of its constituent parts (in particular devices, input and output streams, etc.) in step 680.

[094] После того как технологическая схема будет рассчитана на сервере, результаты расчетов отправляются в клиентскую часть в шаге 690, так что пользователь получает значения свойств потоков (выходных и промежуточных) и параметров модулей технологической схемы, а также параметров аппаратов, например, химических аппаратов, таких как колонна дистилляции, адсорбер и т.д., и процесс заканчивается в шаге 695. Так например, при задании входных потоков и их параметров (например, для аппарата, технологической схемы, частей технологической схемы, объединенных в цепочку/блок и т.д.) в результате расчета аппарата (технологической схемы, частей технологической схемы, объединенных в цепочку/блок и т.д.) определяются выходные потоки и их параметры. Например, если использовать для примера миксер для смешивания двух потоков, то для проведения вычисления выходного потока и его параметров необходимо задать характеристики/параметры двух потоков. Так, например, в качестве вещества первого потока может быть выбрана вода, а в качестве вещества второго потока - спирт. При выбранном одинаковом расходе в результате расчета аппарата (миксера) будет определен выходной поток, который будет содержать 50 процентов воды и 50 процентов спирта, а также будут определены характеристики/параметры выходного потока (результирующего вещества в данном случае), например, расход, температура, давление и т.д.[094] After the flowchart is calculated on the server, the calculation results are sent to the client part in step 690, so that the user receives the values of the flow properties (output and intermediate) and the parameters of the flowchart modules, as well as the parameters of devices, for example, chemical devices , such as a distillation column, an adsorber, etc., and the process ends in step 695. For example, when setting input streams and their parameters (for example, for an apparatus, a technological scheme, parts of a technological scheme, ennyh chained / block, etc.) as a result of the calculation unit (processing circuit flowsheet parts united in a chain / block, etc.) are determined by the output flow and their parameters. For example, if you use an example mixer to mix two streams, then to calculate the output stream and its parameters, you need to specify the characteristics / parameters of the two streams. So, for example, water can be selected as the substance of the first stream, and alcohol as the substance of the second stream. If the same flow rate is selected, as a result of the calculation of the apparatus (mixer), the output stream will be determined, which will contain 50 percent water and 50 percent alcohol, and the characteristics / parameters of the output stream (the resulting substance in this case), for example, flow rate, temperature, pressure etc.

[095] Как было сказано выше, в процессе создания, редактирования и настройки технологической схемы пользователь может выбрать способ расчета модуля (модель расчета/модель расчета модуля/расчетная модель модуля). Таким образом, не только один модуль технологической схемы может быть рассчитан различными способами (моделями расчета), но и несколько модулей технологической схемы могут бтыь рассчитаны, как минимум, одним способом (расчетным модулем). Так, например, каждый модуль технологической схемы может быть рассчитан разными способами расчета, и, в частном случае, разными расчетными модулями.[095] As mentioned above, in the process of creating, editing and adjusting the technological scheme, the user can choose the method of calculating the module (calculation model / calculation model of the module / calculation model of the module). Thus, not only one module of the technological scheme can be calculated in various ways (calculation models), but several modules of the technological scheme can be calculated in at least one way (calculation module). So, for example, each module of the technological scheme can be calculated by different calculation methods, and, in the particular case, by different calculation modules.

[096] Также, в процессе расчета аппарата (технологической схемы, модулей технологической схемы, частей технологической схемы, объединенных в цепочку/блок и т.д.), в частности, химико-технологического аппарата, при помощи, как минимум, одной моделью расчета могут быть рассчитаны свойства аппарата (технологической схемы, модулей технологической схемы, частей технологической схемы, объединенных в цепочку/блок и т.д.), необходимые для реализации заданного процесса, например, могут быть рассчитаны значения оптимальной температуры в выходном потоке аппарата (на выходе из аппарата).[096] Also, in the process of calculating the apparatus (technological scheme, modules of the technological scheme, parts of the technological scheme combined into a chain / block, etc.), in particular, the chemical-technological apparatus, using at least one calculation model the properties of the apparatus (technological scheme, modules of the technological scheme, parts of the technological scheme combined into a chain / block, etc.) necessary for the implementation of a given process can be calculated, for example, the values of the optimum temperature in the output flow can be calculated e unit (at the outlet of the device).

[097] Стоит отметить, что модули могут быть скомпонованы в блоки/цепочки модулей. Если блок (цепочка), состоящий, как минимум, из одного аппарата, уже описывается системой технологического расчета, пользователь может включить такой блок в технологическую схему в качестве одного блок-элемента, включая модуль расчета для него. Для блока модулей также может быть выбрана модель расчета блока модулей (модель расчета блока). Также часть технологической схемы может быть выделена (например, пользователем) в блоки/цепочки, которые могут быть сохранены отдельно от технологической схемы. Сохраненные блоки/цепочки технологической схемы могут включать начальные/входные параметры/характеристики. Сохраненные цепочки/блоки, включающие несколько частей технологической схемы и связи между ними, могут быть добавлены в технологическую схему (например, в другую технологическую схему, которая содержит такой же набор аппаратов, что и содержащийся в цепочке) в виде одного модуля технологической схемы. Для такого модуля технологической схемы (представляющего собой совокупность аппаратов и связей между ними, или совокупность модулей и связи между нами) программой расчета/модулем расчета могут быть вычислены его характеристики, включая входные, выходные и промежуточные потоки и их характеристики, которые могут быть сохранены вместе с модулем технологической схемы и могут быть использованы для расчета технологической схемы, в частности, модуля технологической схемы, в которую был добавлен такой модуль технологической схемы. Стоит отметить, что сохранение параметров/характеристик модуля вместе с модулем или в отдельной базе данных применимо не только к модулям, содержащим набор аппаратов и модулей технологической схемы, но и к модулю технологической схемы, описывающему отдельно взятый аппарат.[097] It is worth noting that modules can be arranged in blocks / chains of modules. If a block (chain), consisting of at least one device, is already described by the technological calculation system, the user can include such a block in the technological scheme as one block element, including a calculation module for it. For a block of modules, a block model calculation model (block calculation model) can also be selected. Also, part of the technological scheme can be allocated (for example, by the user) in blocks / chains, which can be stored separately from the technological scheme. The stored blocks / chains of the flowchart may include initial / input parameters / characteristics. Saved chains / blocks, including several parts of the technological scheme and the connections between them, can be added to the technological scheme (for example, to another technological scheme, which contains the same set of devices as contained in the chain) as a single module of the technological scheme. For such a module of the technological scheme (which is a set of devices and connections between them, or a set of modules and connections between us), the calculation program / calculation module can calculate its characteristics, including input, output and intermediate flows and their characteristics, which can be stored together with the module of the technological scheme and can be used to calculate the technological scheme, in particular, the module of the technological scheme, in which such a module of the technological scheme was added. It should be noted that saving the parameters / characteristics of the module together with the module or in a separate database is applicable not only to modules containing a set of devices and modules of the technological scheme, but also to the technological module describing a single device.

[098] Стоит также отметить, что при создании, редактировании и настройке технологической схемы могут быть заданы свойства и параметры аппаратов, как показано на ФИГ. 5. Например, в случае использования пользовательского интерфейса, представленным веб-интерфейсом, пользователь может ввести свойства и настройки аппарата посредством веб-формы, в частности, HTML-формы, которая генерируется динамически на сервере из описания аппарата, в частности, содержащегося в конфигурационном файле (конфигурационном задании), который может храниться на сервере или на устройстве пользователя на клиентской стороне. В качестве одного из входных параметров (входных данных), описывающих аппарат, может быть использован способ/метод (программа/модель) расчета аппарата (по крайней мере, один элемент Сервисной Шины Предприятия, в частности, расчетная модель/расчетный модуль аппарата), так что отдельно взятый аппарат (или набор аппаратов) может быть рассчитан различными методами/способами, в частности, элементами Сервисной Шины Предприятия.[098] It is also worth noting that when creating, editing and adjusting the technological scheme, the properties and parameters of the apparatuses can be set, as shown in FIG. 5. For example, in the case of using the user interface represented by the web interface, the user can enter the properties and settings of the device through a web form, in particular, an HTML form that is dynamically generated on the server from the description of the device, in particular, contained in the configuration file (configuration task), which can be stored on the server or on the user's device on the client side. As one of the input parameters (input data) describing the device, the method / method (program / model) for calculating the device (at least one element of the Service Bus of the Enterprise, in particular, the calculation model / calculation module of the device) can be used, so that a single device (or a set of devices) can be calculated by various methods / methods, in particular, elements of the Service Bus of the Enterprise.

[099] Как было сказано выше, технологические схемы состоят из модулей технологической схемы, каждый из которых моделирует поведение реального (или виртуального аппарата, например, при разработке нового устройства) аппарата (компрессор, теплообменник, ректификационная колонна и т.д.). Для расчета каждого модуля технологической схемы, кроме входных потоков (в частности, характеристик/параметров/свойств входных потоков), как правило, указываются характеристики самого модуля технологической схемы, на основе которых может быть произведен расчет химико-технологической схемы и данного конкретного модуля технологической схемы (например, его выходных параметров), а также, как минимум одного, другого модуля (например, входного потока и его характеристик) технологической схемы. Список необходимых параметров для расчета модуля технологической схемы определяется расчетной программой (модулем расчета, позволяющим определить/вычислить характеристики аппаратов, модулей, технологической схемы, блоков и цепочек технологической схемы). Список необходимых параметров определяется при добавлении модуля технологической схемы в систему, как было описано выше (программистом или пользователем, а также может быть определен системой, например, путем использования введенных пользователем данных в процессе создания нового модуля технологической схемы, либо может быть скопирован из конфигурационного файла, содержащего описание другого модуля технологической схемы, схожего по своему функционалу с создаваемым модулем технологической схемы, причем параметры нового модуля технологической схемы могут быть изменены пользователем, включая изменения внесенные пользователем), рассчитываемый модулем расчета, выполненным, например, в виде конфигурационного файла расчета модуля, который может включать, но не ограничивается перечисленным, название модуля/программы расчета/способа расчета, описание модуля, типы переменных (использующихся для расчета аппарата в процессе работы модуля технологической схемы), значения и/или интервал возможных значений параметров аппарата или модуля технологической схемы, значения по умолчанию (которые используются для отображения пользователю при добавлении модуля с технологическую схему) и т.д. Кроме того, конфигурационный файл может содержать описание типов входных и выходных потоков модулей технологической схемы, блоков/цепочек технологической схемы или всей технологической схемы. После того, как файл с конфигурацией блока задан, клиентская часть/клиентская сторона может запросить созданный или отредактированный такой конфигурационный файл и предоставить пользователю возможность его использования для расчета модуля технологической схемы или технологической схемы, или набора модулей технологической схемы.[099] As mentioned above, technological schemes consist of technological scheme modules, each of which models the behavior of a real (or virtual apparatus, for example, when developing a new device) apparatus (compressor, heat exchanger, distillation column, etc.). To calculate each module of the technological scheme, in addition to the input flows (in particular, the characteristics / parameters / properties of the input flows), as a rule, the characteristics of the module of the technological scheme are indicated, on the basis of which the chemical-technological scheme and this specific module of the technological scheme can be calculated (for example, its output parameters), as well as at least one other module (for example, the input stream and its characteristics) of the technological scheme. The list of necessary parameters for calculating the module of the technological scheme is determined by the calculation program (calculation module that allows you to determine / calculate the characteristics of the devices, modules, technological scheme, blocks and chains of the technological scheme). The list of necessary parameters is determined by adding a flowchart module to the system, as described above (by a programmer or user, and can also be determined by the system, for example, by using the data entered by the user in the process of creating a new flowchart module, or it can be copied from the configuration file containing a description of another module of the technological scheme, similar in its functionality to the created module of the technological scheme, and the parameters of the new techno module logical scheme can be changed by the user, including changes made by the user) calculated by the calculation module, made, for example, in the form of a module calculation configuration file, which may include, but is not limited to, the name of the module / calculation program / calculation method, module description, types variables (used to calculate the apparatus during operation of the technological module), values and / or interval of possible values of the parameters of the apparatus or technological module, values for y olchaniyu (which are used for display to the user adding module flow chart), etc. In addition, the configuration file may contain a description of the types of input and output flows of the modules of the technological scheme, blocks / chains of the technological scheme or the entire technological scheme. After the block configuration file is specified, the client side / client side can request the created or edited such configuration file and provide the user with the possibility of using it to calculate the flowchart module or flowchart, or a set of flowchart modules.

[0100] Стоит отметить, что конфигурационный файл может быть создан на стороне сервера либо на стороне клиента, а также на устройствах, подключаемых к клиентской стороне (компьютеру пользователя) или к серверной стороне (серверу 380). В случае, если конфигурационный файл был создан на клиентской стороне, то для его использования может потребоваться передача его на сервер 380.[0100] It is worth noting that the configuration file can be created on the server side or on the client side, as well as on devices connected to the client side (user computer) or the server side (server 380). If the configuration file was created on the client side, then for its use it may be necessary to transfer it to server 380.

[0101] Как было сказано выше, при настройке модуля технологической схемы пользователь может указать способ расчета модуля, включая не содержащийся в системе расчета способ расчета, например, путем подключения/включения способов расчета составных частей технологической схемы, в частности, модулей технологической схемы. Указание способа расчета (в частности, путем выбора модуля расчета) позволяет интегрировать в расчет технологической схемы и модулей технологической схемы, в частности, сторонние разработки, например, способы расчета модулей или сами модули технологической схемы.[0101] As mentioned above, when setting up the module of the technological scheme, the user can specify the calculation method of the module, including the calculation method not contained in the calculation system, for example, by connecting / enabling methods for calculating the components of the technological scheme, in particular, the modules of the technological scheme. An indication of the calculation method (in particular, by choosing a calculation module) allows you to integrate third-party developments, for example, methods for calculating modules or the modules of the technological scheme, into the calculation of the technological scheme and the modules of the technological scheme.

[0102] Помимо выбора, по крайней мере, одного из зарегистрированных в системе модуля технологической схемы, модуля расчета для данного модуля технологической схемы пользователем может быть создан модуль технологической схемы (например, посредством задания потоков, параметров, характеристик модуля технологического процесса и т.д.) и его связи с другими модулями технологической схемы не только посредством выбора типа модуля, потоков и характеристик модуля из предлагаемых ему системой (представленных, например, в виде выпадающих списков, меню и т.д.), но и посредством одного из языков программирования, включая скриптовые языки программирования, такие, как JavaScript, Jscript, Perl, Lua и другие. В данном случае, программный код, определяющий технологические модули, не обязательно преобразовывать в конфигурационное задание (конфигурационный файл), поскольку реализация методов, описываемых таким кодом, производится внутри технологического модуля. Стоит отметить, что модули расчета могут быть написаны на языке Сервисной Шины Предприятия, например, EL, в частности, в дополнение к уже созданным модулям расчета.[0102] In addition to selecting at least one of the technological module registered in the system, the calculation module for this technological module, the user can create a technological module (for example, by setting flows, parameters, characteristics of the technological module, etc. .) and its connection with other modules of the technological scheme not only by choosing the type of module, flows and characteristics of the module from the system offered to it (presented, for example, in the form of drop-down lists, y, etc.), but also through one of the programming languages, including scripting programming languages, such as JavaScript, Jscript, Perl, Lua and others. In this case, the program code that defines the technology modules does not need to be converted into a configuration task (configuration file), since the methods described by such code are implemented inside the technology module. It should be noted that the calculation modules can be written in the language of the Service Bus of the Enterprise, for example, EL, in particular, in addition to the already created calculation modules.

[0103] Также стоит отметить, что пользователь может описать алгоритм расчета модуля (модуль расчета) технологической схемы (всей технологической схемы или ее цепочек) на различных языках программирования, включая скриптовые языки, а не выбирать из ранее зарегистрированных в системе расчета алгоритмов расчета. Под зарегистрированными программами расчета модуля или технологической схемы, аппарата и т.д. в системе расчета понимаются подключаемые сторонние модули расчета/программы расчета/сторонние программные модули (СПМ) расчета 390А-390N на ФИГ. 3, а также написанные пользователем или администратором сервера/программистом модули расчета (модуля технологической схемы или ее цепочек) и сохраненных на сервере 380 или связанных с ним устройствах, включая, но, не ограничиваясь, другими серверами, персональными компьютерами, устройствами хранения данных, включая сетевые и облачные хранилища данных и т.д.[0103] It is also worth noting that the user can describe the algorithm for calculating the module (calculation module) of the technological scheme (the entire technological scheme or its chains) in various programming languages, including scripting languages, and not choose from calculation algorithms previously registered in the calculation system. Under registered programs for calculating a module or technological scheme, apparatus, etc. in the calculation system refers to plug-in third-party calculation modules / calculation programs / third-party software modules (SPM) calculation 390A-390N in FIG. 3, as well as calculation modules written by a user or server administrator / programmer (flowchart module or its chains) and stored on server 380 or related devices, including but not limited to other servers, personal computers, data storage devices, including network and cloud data storages, etc.

[0104] Использование для расчета (модуля технологической схемы, технологической схемы и т.д.) алгоритмов/программ/модулей расчета (пользовательских алгоритмов/пользовательских программ), написанных пользователем, администратором сервера и т.д. позволяют производить расчет модулей технологических схем, частей технологических схем, цепочек технологических схем и т.д., для которых имеются подобные алгоритмы, без использования подключаемых сторонних алгоритмов и программ, разработанных и/или написанных третьими лицами, например, другими компаниями и т.д. Стоит отметить, что для расчета таких пользовательских алгоритмов (в частности, модулей расчета), рассчитывающих модули технологической схемы, может быть использована среда исполнения/выполнения такого программного кода (в частности, среда исполнения скриптов) 388A-388N. Так, например, если такой алгоритм может быть задан (написан) на языке JavaScript, то сервер может использовать (например, на сервер может быть установлена такая среда исполнения, либо к среде исполнения может быть предоставлен доступ по сети, в частности, ЛВС или сети Интернет) среду выполнения JavaScript (JsRT) 388А. Среда выполнения кода (среда выполнения компьютерной программы) представляет собой вычислительное окружение, способное выполнять программный код.[0104] Using for calculation (a flow chart module, a flow chart, etc.) algorithms / programs / calculation modules (user algorithms / user programs) written by a user, a server administrator, etc. allow the calculation of modules of technological schemes, parts of technological schemes, chains of technological schemes, etc., for which there are similar algorithms, without using third-party plug-in algorithms and programs developed and / or written by third parties, for example, other companies, etc. . It is worth noting that for the calculation of such user-defined algorithms (in particular, calculation modules) that calculate the technological scheme modules, the execution / execution environment of such program code (in particular, script execution environment) 388A-388N can be used. So, for example, if such an algorithm can be defined (written) in JavaScript, then the server can use (for example, such a runtime environment can be installed on the server, or the runtime environment can be granted access via a network, in particular, a LAN or a network Internet) JavaScript Runtime Environment (JsRT) 388A. A code execution environment (a computer program execution environment) is a computing environment capable of executing program code.

[0105] Использование для описания модулей технологической схемы/процесса и/или алгоритмов расчета (модулей расчета) модулей и технологических схем позволяет значительно упростить процесс моделирования и расчета модулей и схем технологического процесса, в частности за счет выполнения расчета/расчетов на сервере в Сервисной Шине Предприятия.[0105] The use of modules and technological schemes for describing modules of a technological scheme / process and / or calculation algorithms (calculation modules) can significantly simplify the process of modeling and calculation of modules and technological process schemes, in particular, by performing calculation / calculations on a server in the Service Bus Enterprises.

[0106] Таким образом, любой аппарат (или модуль технологической схемы) может быть определен абстрактно, например, на основе функции, которую он исполняет. Например, аппарат типа компрессор может быть определен как модуль технологической схемы, повышающий значение входного потока на некоторую величину, или аппарат теплообменник датчик температуры может быть представлен, как модуль технологической схемы, повышающий или понижающий температуру входного потока. Конкретные параметры и тип моделируемого модуля технологической схемы могут быть определены, например, системой расчета или системой распознавания модулей технологической схемы по их характеристикам и потокам, после проведения расчетов технологической схемы, модуля или цепочки технологической схемы, включая проведение предварительного расчета технологической схемы в упрощенном виде, используя упрощенные описания модулей технологической схемы. Предварительный расчет отличается тем, что в ходе расчета технологической схемы и, в частности, модулей технологической схемы, может быть задана меньшая точность, что позволяет сократить время расчета модулей с целью получения оценочных результатов технологической схемы и ее составных частей, включая аппараты, модули и потоки.[0106] Thus, any apparatus (or module of a technological scheme) can be defined abstractly, for example, based on the function that it performs. For example, a compressor-type apparatus can be defined as a flowchart module that increases the value of the input flow by a certain amount, or a heat exchanger temperature sensor apparatus can be presented as a process flowchart module that increases or decreases the temperature of the inlet flow. The specific parameters and type of the simulated technological module can be determined, for example, by a calculation system or a recognition system of technological module by their characteristics and flows, after calculating the technological scheme, module or chain of the technological scheme, including preliminary calculation of the technological scheme in a simplified form, using simplified descriptions of the modules of the technological scheme. Preliminary calculation differs in that during the calculation of the technological scheme and, in particular, the modules of the technological scheme, less accuracy can be set, which allows to reduce the calculation time of modules in order to obtain estimated results of the technological scheme and its components, including devices, modules and flows .

[0107] Как было сказано выше, после того как технологическая схема была настроена, то все ее параметры, параметры модулей технологической схемы, аппаратов, потоков и т.д. могут быть сохранены на клиентской стороне (например, на персональном компьютере, на котором производилась создание и/или настройка/конфигурирование технологической схемы и ее составных частей) в виде описания технической схемы и ее параметров, например, в виде конфигурационного файла в любом известном формате хранения информации/данных, в частности, формате XML, и передаются на серверную сторону, на сервер 380 для проведения расчета технологической схемы и ее составных частей. Стоит отметить, что конфигурационные данные (данных настройки, конфигурационного задания) технологической схемы могут передаваться на сервер 380 (например, в виде конфигурационного файла в формате XML) без сохранения на пользовательской/клиентской стороне.[0107] As mentioned above, after the technological scheme has been configured, then all its parameters, the parameters of the technological scheme modules, devices, flows, etc. can be saved on the client side (for example, on a personal computer on which the creation and / or setup / configuration of the technological scheme and its components was performed) in the form of a description of the technical scheme and its parameters, for example, as a configuration file in any known storage format information / data, in particular, in XML format, and transmitted to the server side, to the server 380 for calculating the technological scheme and its components. It should be noted that the configuration data (setup data, configuration task) of the technological scheme can be transmitted to the server 380 (for example, in the form of a configuration file in XML format) without saving on the user / client side.

[0108] Стоит также отметить, что конфигурационный файл может быть создан на сервере 380 из исходных данных, заданных пользователем для технологической схемы и ее компонентов, включая модули технологической схемы, потоки, аппараты и т.д. Исходные данные, заданные пользователем для технологической схемы и ее компонентов, включая модули технологической схемы, потоки, аппараты и т.д., могут сохраняться на клиентской стороне или серверной стороне, как в виде конфигурационного файла/задания, так и в виде списка/таблицы и т.д. исходных данных и других данных необходимых для выполнения расчета технологической схемы, по крайней мере, одним модулем расчета.[0108] It is also worth noting that the configuration file can be created on the server 380 from the initial data set by the user for the flowchart and its components, including flowchart modules, streams, devices, etc. The initial data set by the user for the technological scheme and its components, including the technological scheme modules, flows, devices, etc., can be stored on the client side or server side, both in the form of a configuration file / task, and in the form of a list / table etc. source data and other data necessary to perform the calculation of the technological scheme, at least one calculation module.

[0109] Конфигурационный файл, содержащий описание структуры всех технологической схемы, а также все необходимые параметры модулей, потоков, аппаратов технологической схемы и т.д. для расчета технологической схемы может быть отредактирован пользователем или администратором системы расчета до или после проведения расчетов. Такое редактирование конфигурационного файла может быть выполнено в текстовом редакторе, включая распространенные текстовые редакторы Notepad, Wordpad, Notepad++ и т.д., а также могут быть отредактированы с использованием веб-браузера или интерфейса пользователя, включая веб-интерфейс.[0109] A configuration file containing a description of the structure of all the technological scheme, as well as all the necessary parameters of modules, flows, devices of the technological scheme, etc. for the calculation of the technological scheme can be edited by the user or administrator of the calculation system before or after the calculations. Such editing of the configuration file can be performed in a text editor, including the popular text editors Notepad, Wordpad, Notepad ++, etc., and can also be edited using a web browser or user interface, including a web interface.

[0110] В частном случае, исходные данные и все необходимые данные для выполнения расчета технологической схемы передаются на сервер 380, где преобразуются в конфигурационный файл/конфигурационное задание, который сохраняется на серверной стороне.[0110] In the particular case, the initial data and all necessary data for performing the calculation of the technological scheme are transmitted to the server 380, where they are converted into a configuration file / configuration task, which is stored on the server side.

[0111] Если технологическая схема или ее параметры, модули технологической схемы, характеристики аппаратов, потоков и т.д. будут изменены (например, пользователем, редактирующим технологическую схему), например, будет добавлен новый модуль технологической схемы или создана новая связь, изменены параметры аппарата и т.д., то такие изменения отразятся в конфигурационном файле.[0111] If the technological scheme or its parameters, modules of the technological scheme, characteristics of devices, flows, etc. will be changed (for example, by the user editing the technological scheme), for example, a new module of the technological scheme will be added or a new connection will be created, the parameters of the device will be changed, etc., then such changes will be reflected in the configuration file.

[0112] Стоит отметить, что конфигурационные файлы могут храниться одновременно на серверной стороне и на клиентской стороне и быть синхронизированы. Если на клиентской стороне изменяется конфигурационный файл, то конфигурационный файл на серверной стороне обновится. Если конфигурационный файл будет изменен на серверной стороне, то это приведет к изменению конфигурационного файла на пользовательской стороне. Стоит отметить, что перед синхронизацией конфигурационных файлов новой информацией, конфигурационный файл, содержащий "устаревшую" информацию, может быть сохранен, в зависимости от того, какой конфигурационный файл обновляется: на серверной стороне или на клиентской стороне.[0112] It is worth noting that the configuration files can be stored simultaneously on the server side and on the client side and be synchronized. If the configuration file is changed on the client side, the configuration file on the server side will be updated. If the configuration file is changed on the server side, this will lead to a change in the configuration file on the user side. It is worth noting that before synchronizing configuration files with new information, a configuration file containing "outdated" information can be saved, depending on whether the configuration file is updated: on the server side or on the client side.

[0113] Расчет технологической схемы осуществляется на серверной стороне после того, как на серверную сторону будут отправлены данные для расчета технологической схемы. Если данные для расчета технологической схемы поступили на серверную сторону в виде конфигурационного файла, то процесс производит расчет технологической схемы. Если на серверную сторону поступили данные в виде исходных данных, не преобразованных в конфигурационный файл/конфигурационное задание, то сервером 380 производится преобразование исходных данных (включая описание технологической схемы, модулей технологической схемы, аппаратов и т.д.) в конфигурационное задание/конфигурационный файл. Стоит отметить, что в качестве Сервисной Шины Предприятия могут быть использованы такие Сервисные Шины Предприятия, как WebMethods ESB, ActiveMatrix Service Bus, Oracle Service Bus, WebSphere Message Broker, Sonic ESB, WebSphere ESB, ESBRE, FuseSource, MuleESB, WSO2, JBoss ESB и другие. Приведенный ниже пример конфигурационного файла с комментариями (текст после «//») использует Сервисную Шину Предприятия/Корпоративную Сервисную Шину, построенную с использованием как минимум «Spring Integration» (фреймворка для интеграции корпоративных приложений, основанном на ядре «Spring»/«SpringFramework» и предназначенном для разработки интеграционных решений с событийно-управляемой архитектурой либо с основанной на обмене сообщениями архитектурой) и «Springframe work» (фреймворк для разработки бизнес-приложений), стоит также отметить, что может быть использована любая другая Сервисная Шина Предприятия:[0113] The calculation of the technological scheme is carried out on the server side after the data for calculating the technological scheme are sent to the server side. If the data for calculating the technological scheme arrived at the server side in the form of a configuration file, the process calculates the technological scheme. If the server side received data in the form of source data that was not converted to a configuration file / configuration task, then the server 380 converts the source data (including a description of the technological scheme, modules of the technological scheme, devices, etc.) into the configuration task / configuration file . It is worth noting that such Enterprise Service Buses as WebMethods ESB, ActiveMatrix Service Bus, Oracle Service Bus, WebSphere Message Broker, Sonic ESB, WebSphere ESB, ESBRE, FuseSource, MuleESB, WSO2, JBoss ESB and others. The following example configuration file with comments (text after “//”) uses the Enterprise Service Bus / Corporate Service Bus built using at least Spring Integration (the framework for enterprise application integration based on the Spring / SpringFramework kernel and designed to develop integration solutions with an event-driven architecture or with a messaging-based architecture) and “Springframe work” (a framework for developing business applications), it is also worth noting that it can be used any other Enterprise Service Bus is used:

[0114] «[0114] "

[0115] <?xml version="1.0" encoding="UTF-8"?>[0115] <? Xml version = "1.0" encoding = "UTF-8"?>

[0116] <beans xmlns="http://www.springframework.org/schema/beans"[0116] <beans xmlns = "http://www.springframework.org/schema/beans"

[0117] xmlns:int="http://www.springframework.org/schema/integration"[0117] xmlns: int = "http://www.springframework.org/schema/integration"

[0118] xmlns:int-file="http://www.springframework.org/schema/integration/file"[0118] xmlns: int-file = "http://www.springframework.org/schema/integration/file"

[0119] xmlns:int-xml="http://www.springfrarnework.org/schema/integration/xml"[0119] xmlns: int-xml = "http://www.springfrarnework.org/schema/integration/xml"

[0120] xmlns:xsi="http://vvvvw.w3.org/2001/XMLSchema-instance"[0120] xmlns: xsi = "http://vvvvw.w3.org/2001/XMLSchema-instance"

[0121] xmlns:int-stream="http://www.springframework.org/schema/integration/stream"[0121] xmlns: int-stream = "http://www.springframework.org/schema/integration/stream"

[0122] xsi:schemaLocation="[0122] xsi: schemaLocation = "

[0123] http://www.springframework.org/schema/beans[0123] http://www.springframework.org/schema/beans

[0124] http://www.springframework.org/schema/beans/spring-beans.xsd[0124] http://www.springframework.org/schema/beans/spring-beans.xsd

[0125] http://www.springframework.org/schema/integration[0125] http://www.springframework.org/schema/integration

[0126] http://www.springframework.org/schema/integration/spring-integration.xsd[0126] http://www.springframework.org/schema/integration/spring-integration.xsd

[0127] http://www. springframework.org/schema/integration/stream[0127] http: // www. springframework.org/schema/integration/stream

[0128] http://www.springframework.org/schema/integration/stream/spring-integration-stream.xsd[0128] http://www.springframework.org/schema/integration/stream/spring-integration-stream.xsd

[0129] http: //www. springframework.org/schema/integration/file[0129] http: // www. springframework.org/schema/integration/file

http://www.springframework.org/schema/integration/file/spring-integration-file.xsdhttp://www.springframework.org/schema/integration/file/spring-integration-file.xsd

[0130] http://www.springframework.org/schema/integration/xml[0130] http://www.springframework.org/schema/integration/xml

[0131] http://www.springframework.org/schema/integration/xml/spring-integration-xml.xsd">[0131] http://www.springframework.org/schema/integration/xml/spring-integration-xml.xsd ">

[0132] //Входной канал получает начальные данные о входном потоке 210 на ФИГ. 2.[0132] // The input channel receives initial data about the input stream 210 in FIG. 2.

[0133] <int-file:inbound-channel-adapter id="load-adapter"[0133] <int-file: inbound-channel-adapter id = "load-adapter"

[0134] channel="mixerInputChannel" directory="/input/"[0134] channel = "mixerInputChannel" directory = "/ input /"

[0135] prevent-duplicates="true">[0135] prevent-duplicates = "true">

[0136] <int:poller fixed-rate="5000"></int:poller>[0136] <int: poller fixed-rate = "5000"> </ int: poller>

[0137] </int-file: inbound-channel-adapter>[0137] </ int-file: inbound-channel-adapter>

[0138] <int:channel id="mixerInputChannel" />[0138] <int: channel id = "mixerInputChannel" />

[0139] //«<int-file:inbound-channel-adapter» определяет тип Адаптера, который проверяет содержимое директории «directory="/input/"» (переменной directory присваивается значение «/input/»), расположенной, например, на сервере 380 с целью обнаружения файлов, содержащих информацию о потоках, причем данные файлы могут быть сохранены на серверной стороне с целью хранения информации о проводимых расчетах аппаратов, модулях технологических схем, технологических схем и т.д.[0139] // "<int-file: inbound-channel-adapter" defines the type of Adapter that checks the contents of the directory "directory =" / input / "" (the variable directory is assigned the value "/ input /"), located, for example, on the server 380 in order to detect files containing information about the streams, and these files can be stored on the server side in order to store information about the performed calculations of devices, modules of technological schemes, technological schemes, etc.

[0140] Если в директории содержатся файлы, то Адаптер создает для каждого обнаруженного в директории файла Сообщение, включающее содержание файла с описанием входных потоков, и отправляет созданное сообщение в Канал сервисной шины «channel="mixerInputChannel"» (переменной «channel», соответствующей Каналу, присваивается значение из «mixerInputChannel», определяющее входной канал смесителя). Каждый файл отправляется только один раз - «prevent-duplicates="true"» (т.е. переменной «prevent-duplicates», отвечающей за невозможность отправки дубликатов сообщений, выставляется значение «true»/«истина»). Содержимое директории проверяется каждые 5 секунд - «<int:poller fixed-rate="5000"></int:poller>». «id="load-adapter"» присваивает идентификатор «load-adapter» файлу, содержащему конфигурационное задание. Строка «<int:channel id="mixerInputChannel" />» определяет канал. Стоит отметить, что названия переменных, значения переменных могут быть разными и меняться в зависимости от аппарата, начальных условий и характеристик, заданных для технологической схемы, входных потоков, модулей технологической схемы, аппаратов и т.д., а также в зависимости от выбранного алгоритма расчета аппарата, модуля технологической схемы и т.д.[0140] If the directory contains files, the Adapter creates for each file found in the directory a Message that includes the contents of the file with a description of the input streams and sends the created message to the Service Bus Channel "channel =" mixerInputChannel "" (variable "channel" corresponding to The channel is assigned a value from "mixerInputChannel" that defines the input channel of the mixer). Each file is sent only once - “prevent-duplicates =" true "" (ie, the variable "prevent-duplicates", which is responsible for the inability to send duplicate messages, is set to "true" / "true"). The contents of the directory are checked every 5 seconds - "<int: poller fixed-rate =" 5000 "> </ int: poller>". "Id =" load-adapter "" assigns the identifier "load-adapter" to the file containing the configuration job. The string "<int: channel id =" mixerInputChannel "/>" defines the channel. It is worth noting that the names of variables, the values of variables can be different and vary depending on the apparatus, initial conditions and characteristics set for the technological scheme, input flows, modules of the technological scheme, devices, etc., as well as depending on the selected algorithm calculation of the apparatus, the module of the technological scheme, etc.

[0141] //Блок кода, описывающий миксер/смеситель 215 на ФИГ. 2.[0141] // Code block describing the mixer / mixer 215 of FIG. 2.

[0142] //Сначала объединяются входные сообщения в одно сообщение с целью передачи такого сообщения модулю технологической схемы.[0142] // First, the input messages are combined into one message in order to transmit such a message to the module of the technological scheme.

[0143] <int:channel id="aggregatorOutputChannel" />[0143] <int: channel id = "aggregatorOutputChannel" />

[0144] <int:aggregator id="messageAggregator"[0144] <int: aggregator id = "messageAggregator"

[0145] input-channel="mixerInputChannel"[0145] input-channel = "mixerInputChannel"

[0146] output-channel="aggregatorOutputChannel"[0146] output-channel = "aggregatorOutputChannel"

[0147] ref="aggregatorService"[0147] ref = "aggregatorService"

[0148] method="aggregateMessages"/>[0148] method = "aggregateMessages" />

[0149] <bean id="aggregatorService" class="com.almeesoft.messageAggregator">[0149] <bean id = "aggregatorService" class = "com.almeesoft.messageAggregator">

[0150] <property name="waitingMessageNumber" value="2" />[0150] <property name = "waitingMessageNumber" value = "2" />

[0151] </bean>[0151] </bean>

[0152] <property name="waitingMessageNumber" value="2" />[0152] <property name = "waitingMessageNumber" value = "2" />

[0153] </bean>[0153] </bean>

[0154] //Агрегатор «<int:aggregator id=»messageAggregator"» (производящих смешивание нескольких Сообщений в одно) получает Сообщения из канала «input-channel="mixerInputChannel"». Созданное Сообщение (в данном случае сагрегированое Агрегатором) передается в канал «output-channel="aggregatorOutputChannel"». Агрегация входных сообщений происходит с использованием части кода «<bean id="aggregatorService" class="com.almeesoft.messageAggregator">».[0154] // Aggregator “<int: aggregator id =” messageAggregator "” (mixing several Messages into one) receives Messages from the channel “input-channel =" mixerInputChannel ". The created Message (in this case, aggregated by the Aggregator) is transmitted to channel “output-channel =" aggregatorOutputChannel ”.” The aggregation of input messages occurs using the code part “<bean id =" aggregatorService "class =" com.almeesoft.messageAggregator ">".

[0155] //Далее производится обработка входных Сообщений, объединенный в одно Сообщений[0155] // Next, the processing of incoming Messages is combined into one Messages

[0156] <int:channel id="mixerOutputChannel" />[0156] <int: channel id = "mixerOutputChannel" />

[0157] <int:service-activator input-channel="aggregatorOutputChannel" id="mixerActivator"[0157] <int: service-activator input-channel = "aggregatorOutputChannel" id = "mixerActivator"

[0158] output-channel="mixerOutputChannel"[0158] output-channel = "mixerOutputChannel"

[0159] ref="mixerService"[0159] ref = "mixerService"

[0160] method="process"/>[0160] method = "process" />

[0161] <bean id="mixerService" class="com.almeesoft.Mixer" />[0161] <bean id = "mixerService" class = "com.almeesoft.Mixer" />

[0162] // Блок кода, описывающий 220 на ФИГ. 2.[0162] // Code block describing 220 in FIG. 2.

[0163] <int:channel id="compressorOutputChannel" />[0163] <int: channel id = "compressorOutputChannel" />

[0164] <int:service-activator input-channel="mixerOutputChannel" id="compressorActivator"[0164] <int: service-activator input-channel = "mixerOutputChannel" id = "compressorActivator"

[0165] output-channel="compressorOutputChannel"[0165] output-channel = "compressorOutputChannel"

[0166] ref="compressorService"[0166] ref = "compressorService"

[0167] method="process"/>[0167] method = "process" />

[0168] <bean id="compressorActivator" class-"com.almeesoft.Compressor">[0168] <bean id = "compressorActivator" class- "com.almeesoft.Compressor">

[0169] <property name="compressorRate" value="2" />[0169] <property name = "compressorRate" value = "2" />

[0170] </bean>[0170] </bean>

[0171] // Блок кода, описывающий пастеризатор/нагреватель 225 на ФИГ. 2.[0171] // Code block describing the pasteurizer / heater 225 of FIG. 2.

[0172] <int:channel id="heaterOutputChannel" />[0172] <int: channel id = "heaterOutputChannel" />

[0173] <int:service-activator input-channel="compressorOutputCharmer" id="heaterActivator"[0173] <int: service-activator input-channel = "compressorOutputCharmer" id = "heaterActivator"

[0174] output-channel="heaterOutputChannel"[0174] output-channel = "heaterOutputChannel"

[0175] ref="heaterService"[0175] ref = "heaterService"

[0176] method="process"/>[0176] method = "process" />

[0177] <bean id="heaterService" class="com.almeesoft.Heater">[0177] <bean id = "heaterService" class = "com.almeesoft.Heater">

[0178] <property name="heaterTempreture" value="60" />[0178] <property name = "heaterTempreture" value = "60" />

[0179] </bean>[0179] </bean>

[0180] //Блок кода, описывающий разделитель/сливкоотделитель 240 на ФИГ. 2.[0180] // Code block describing the separator / cream separator 240 in FIG. 2.

[0181] //В первую очередь производится расчет параметров выходных потоков, их расход, состав и т.д.[0181] // First of all, the calculation of the parameters of the output flows, their flow rate, composition, etc.

[0182] <int:channel id="separatorOutputChannel" />[0182] <int: channel id = "separatorOutputChannel" />

[0183] <int:service-activator input-channel="heaterOutputChannel"[0183] <int: service-activator input-channel = "heaterOutputChannel"

[0184] output-channel="separatorOutputChannel"[0184] output-channel = "separatorOutputChannel"

[0185] ref="separatorService"[0185] ref = "separatorService"

[0186] method="process"/>[0186] method = "process" />

[0187] <bean id="separatorService" class="com.almeesoft.Separator">[0187] <bean id = "separatorService" class = "com.almeesoft.Separator">

[0188] <constructor-arg ref="separatorOutputChannel"/>// Методу, который производит расчет, передается ссылка на выходной канал.[0188] <constructor-arg ref = "separatorOutputChannel" /> // The method that performs the calculation is passed a link to the output channel.

[0189] </bean>[0189] </bean>

//Далее происходит распределение выходных сообщений по каналам// Next, the distribution of output messages by channels

[0190] <int:channel id="creameOutput" />[0190] <int: channel id = "creameOutput" />

[0191] <int:channel id="milkOutput" />[0191] <int: channel id = "milkOutput" />

[0192] <int:header-value-router input-channel="separatorOutputChannel" header-name="productHeader">[0192] <int: header-value-router input-channel = "separatorOutputChannel" header-name = "productHeader">

[0193] <int:mapping value="milk" channel="milkOutput" />[0193] <int: mapping value = "milk" channel = "milkOutput" />

[0194] <int:mapping value="creame" channel="creameOutput" />[0194] <int: mapping value = "creame" channel = "creameOutput" />

[0195] </int:header-value-router>[0195] </ int: header-value-router>

[0196] //Роутер (использующийся для перенаправления сообщения по различным каналам, в зависимости от свойств сообщений, как описано ниже) получает сообщения из канала «input-channel="separatorOutputChannel"» и, в зависимости от значения свойства «productHeader» в заголовке Сообщения «header-name="productHeader">», отправляет сообщения в соответствующие Каналы.[0196] // A router (used to redirect messages to different channels, depending on the message properties, as described below) receives messages from the “input-channel =" separatorOutputChannel "channel and, depending on the value of the" productHeader "property in the header Messages "header-name =" productHeader ">", sends messages to the corresponding Channels.

[0197] // Блок кода, описывающий компрессор 244 на ФИГ. 2.[0197] // Code block describing the compressor 244 in FIG. 2.

[0198] <int:service-activator input-channel="milkOutput" id="compressor A ctivator2"[0198] <int: service-activator input-channel = "milkOutput" id = "compressor A ctivator2"

[0199] output-channel="mixerInputChannel"[0199] output-channel = "mixerInputChannel"

[0200] ref="compressorService"[0200] ref = "compressorService"

[0201] method="process/>[0201] method = "process />

[0202] <bean id="compressorActivator2" class="com.almeesoft.Compressor">[0202] <bean id = "compressorActivator2" class = "com.almeesoft.Compressor">

[0203] <property name="compressorRate" value=2" />[0203] <property name = "compressorRate" value = 2 "/>

[0204] </bean>[0204] </bean>

[0205] //Блок кода, описывающий нагреватель 250 на ФИГ. 2.[0205] // Code block describing the heater 250 of FIG. 2.

[0206] <int:channel id="heater20utputChannel" />[0206] <int: channel id = "heater20utputChannel" />

[0207] <int:service-activator input-channel="creameOutput" id="heaterActivator2"[0207] <int: service-activator input-channel = "creameOutput" id = "heaterActivator2"

[0208] output-channel="heater20utputChannel"[0208] output-channel = "heater20utputChannel"

[0209] ref="heaterService"[0209] ref = "heaterService"

[0210] method="process"/>[0210] method = "process" />

[0211] <bean id="heaterActivator2" class="com.almeesoft.Heater">[0211] <bean id = "heaterActivator2" class = "com.almeesoft.Heater">

[0212] <property name="heaterTempreture" value="70" />[0212] <property name = "heaterTempreture" value = "70" />

[0213] </bean>[0213] </bean>

[0214] //Блок кода, описывающий компрессор 255 на ФИГ. 2.[0214] // Code block describing the compressor 255 in FIG. 2.

[0215] <int:channel id="creameCompressorOutputChannel" />[0215] <int: channel id = "creameCompressorOutputChannel" />

[0216] <int:service-activator input-channel="milkOutput" id="compressorActivator3"[0216] <int: service-activator input-channel = "milkOutput" id = "compressorActivator3"

[0217] output-channel="heater2OutputChannel"[0217] output-channel = "heater2OutputChannel"

[0218] ref="creameCompressorOutputChannel"[0218] ref = "creameCompressorOutputChannel"

[0219] method="process"/>[0219] method = "process" />

[0220] <bean id="compressorActivator3" class="com.almeesoft.Compressor">[0220] <bean id = "compressorActivator3" class = "com.almeesoft.Compressor">

[0221] <property name="compressorRate" value=1.5" />[0221] <property name = "compressorRate" value = 1.5 "/>

[0222] </bean>[0222] </bean>

[0223] //Блок кода, описывающий выходной канал 258 на ФИГ. 2 и сохранение выходных данных.[0223] // Code block describing the output channel 258 in FIG. 2 and saving the output.

[0224] <int-file:outbound-channel-adapter[0224] <int-file: outbound-channel-adapter

[0225] id="outputAdapter" channel="creameCompressorOutputChannel"[0225] id = "outputAdapter" channel = "creameCompressorOutputChannel"

[0226] directory=/resources/output/" />[0226] directory = / resources / output / "/>

[0227] </beans>[0227] </beans>

[0228] //Адаптер «outbound-channel-adapter» сохраняет все входящие Сообщения из Канала «channel="creameCompressorOutputChannel"» в файл в директорию (расположенную на сервере 380 или связанным с ним устройством хранения или компьютерной системой) «directory="/resources/output/"». Таким образом, данный файл содержит информацию о выходных потоках, которая будет отправлена на клиентскую сторону.[0228] // The “outbound-channel-adapter” adapter saves all incoming Messages from the “Channel =" creameCompressorOutputChannel "Channel to a file in a directory (located on the 380 server or its associated storage device or computer system)" directory = "/ resources / output / "". Thus, this file contains information about the output streams, which will be sent to the client side.

[0229] »[0229] "

[0230] На ФИГ. 7 показана блок-схема примерного варианта обработки данных и расчета технологической схемы, примерный вариант Процесс начинается в шаге 710. В шаге 720 проверяет были ли переданы на сервер с клиентской стороны (со стороны клиента/пользователя) все необходимые данные для расчета технологической схемы, например, идентификаторы составных частей рассчитываемой химико-технологической схемы (в частности, модулей и агрегатов химико-технологической схемы), связи между такими составными частями и/или другая информация, описанная в рамках настоящего изобретения. Если в шаге 720 данных недостаточно для расчета технологической схемы (например, пользователь не указал какие-либо параметры аппарата, не определил характеристики входного потока и т.д.), то пользователю может быть отправлено сообщение об ошибке и предложение ввести недостающие для расчета данные. Если в шаге 720 было установлено, что полученных данных достаточно для расчета технологической схемы (т.е. с клиентской части системы серверной частью получены все необходимые данные), то процесс переходит к шагу 730.[0230] FIG. Figure 7 shows a block diagram of an exemplary embodiment of data processing and calculation of the technological scheme, an exemplary embodiment, the process begins at step 710. At step 720, it checks whether all necessary data for calculating the technological scheme were transmitted to the server from the client side (from the client / user side), for example , identifiers of the constituent parts of the calculated chemical-technological scheme (in particular, modules and units of the chemical-technological scheme), the relationship between such constituent parts and / or other information described in the framework of this about the invention. If in step 720 there is not enough data to calculate the technological scheme (for example, the user did not specify any parameters of the device, did not determine the characteristics of the input stream, etc.), an error message may be sent to the user and a proposal to enter the missing data for the calculation. If it was determined in step 720 that the received data is sufficient to calculate the technological scheme (i.e., all the necessary data was received from the client part of the system by the server part), then the process proceeds to step 730.

[0231] В шаге 730 полученные от пользователя данные (описание технологической схемы/системы и ее составных частей), например, в виде HTTP-запроса (т.е. данные, отправляемые пользователем, предварительно формируются, по крайней мере, в один HTTP-запрос к серверу, описываемому в рамках настоящего изобретения), преобразуются в формат Сервисной Шины Предприятия (например, при помощи подстановки полученных данных с пользовательской стороны в шаблон конфигурационного задания, расположенного на сервере) в виде конфигурационного задания для Сервисной Шины Предприятия, как показано ниже. Так, например, потоки, параметры которых определены, могут быть представлены в виде (в формате записи) входных сообщений Сервисной Шины Предприятия, которые, в свою очередь, будут поданы на вход Сервисной Шины Предприятия согласно спецификации, предоставляемой определенной Сервисной Шины Предприятия.[0231] In step 730, data received from the user (description of the technological scheme / system and its components), for example, in the form of an HTTP request (that is, data sent by the user is preliminarily generated in at least one HTTP the request to the server described in the framework of the present invention) is converted to the format of the Service Bus of the Enterprise (for example, by substituting the received data from the user side into the template of the configuration task located on the server) as a configuration task for the Service Bus s Enterprises as shown below. For example, the flows whose parameters are defined can be represented as (in recording format) the input messages of the Enterprise Service Bus, which, in turn, will be fed to the input of the Enterprise Service Bus according to the specification provided by a particular Enterprise Service Bus.

[0232] Далее процесс переходит к шагу 740, в котором каждый модуль технологической схемы преобразуется в элементы Сервисной Шины Предприятия, в зависимости от количества входных и выходных потоков, и процесс переходит к шагу 750.[0232] Next, the process proceeds to step 740, in which each module of the technological scheme is converted into elements of the Enterprise Service Bus, depending on the number of input and output streams, and the process proceeds to step 750.

[0233] В шаге 750 выполняется расчет каждого аппарата при помощи наиболее подходящего элемента Сервисной Шины Предприятия, так, например, если происходит разделение потоков (аппарат имеет несколько выходных потоков), то может использоваться упомянутый выше элемент Сервисной Шины Предприятия Роутер (Router), а если аппарат имеет несколько входных потоков, то может быть использован элемент Агрегатор, способный собирать несколько сообщений в одно, как показано в примерном варианте кода выше.[0233] In step 750, each device is calculated using the most suitable element of the Enterprise Service Bus, for example, if the separation of flows occurs (the device has several output streams), the Router element of the Enterprise Service Bus mentioned above can be used, and if the device has several input streams, then the Aggregator element can be used, which can collect several messages into one, as shown in the example code above.

[0234] Далее процесс переходит к опциональному шагу 760, в котором осуществляется компоновка/сбор расчетов всех модулей и составных частей технологической схемы в результаты расчета технологической схемы. Стоит отметить, что результаты расчета технологической схемы и отдельных ее модулей технологической схемы, аппаратов и т.д. могут передаваться на клиентскую часть системы 300 по мере их готовности, т.е., например, может быть передан расчет первого модуля технологической схемы, затем третьего, затем шестого, затем второго и т.д. Стоит также отметить, что компоновка результатов расчета технологической схемы может быть осуществлена на клиентской стороне, как только клиентской стороной будут получены все данные расчета. Передача данных по частям способна снизить нагрузку на компьютерную сеть, так в случае расчета большой технологической схемы скомпонованный файл может иметь достаточно большой объем для его передачи, в этом случае передача пакетами расчетов (по мере их готовности) каждой из частей технологической схемы на клиентскую сторону может значительно разгрузить компьютерную сеть, в частности сетевой канал между клиентской и серверной сторонами.[0234] Next, the process proceeds to optional step 760, in which the layout / collection of calculations of all modules and components of the technological scheme is carried out in the calculation results of the technological scheme. It should be noted that the calculation results of the technological scheme and its individual modules of the technological scheme, devices, etc. can be transmitted to the client part of the system 300 as they are ready, i.e., for example, the calculation of the first module of the technological scheme, then the third, then the sixth, then the second, etc. can be transmitted. It is also worth noting that the layout of the calculation results of the technological scheme can be carried out on the client side, as soon as the client side has received all the calculation data. The data transfer in parts can reduce the load on the computer network, so in the case of calculating a large technological scheme, the assembled file can have a sufficiently large volume for its transfer, in this case, transferring by calculation packets (as they are ready) each of the parts of the technological scheme to the client side significantly relieve the computer network, in particular the network channel between the client and server sides.

[0235] После шага 760 процесс переходит к опциональному шагу 770, в котором производится сохранение результатов расчета на сервер 380, например, в виде списка в текстовых файлах, в виде таблиц или любом другом формате.[0235] After step 760, the process proceeds to optional step 770, in which the calculation results are saved to the server 380, for example, as a list in text files, in the form of tables, or in any other format.

[0236] После шага 770 процесс переходит к шагу 780, в котором на клиентскую сторону передаются/становятся доступны клиентской стороной (либо клиентской стороной данные результаты могут быть доступны по сети без необходимости передачи их в виде файлов на клиентскую сторону/клиентское устройство, например, они могут быть доступны пользователю посредством веб-интерфейса через сеть Интернет) результаты расчета технологической схемы, например, в виде текстового файла, в частности в XML-формате, и процесс заканчивается в шаге 790.[0236] After step 770, the process proceeds to step 780, in which the client side is transmitted / made available to the client side (or the client side, these results can be accessed over the network without the need to transfer them in the form of files to the client side / client device, for example, they can be accessed by the user via the web interface via the Internet) the results of the calculation of the technological scheme, for example, as a text file, in particular in XML format, and the process ends in step 790.

[0237] Далее приводится пример расчета технологического аппарата на серверной стороне с использованием Сервисной Шины Предприятия.[0237] The following is an example of the calculation of the technological apparatus on the server side using the Enterprise Service Bus.

[0238] Как было сказано выше, для расчета технологического аппарата (аппарата) в Сервисной Шине Предприятия задается представление технологического аппарата в конфигурационном задании. В общем случае такое представление технологического задания может иметь следующий вид:[0238] As mentioned above, to calculate the technological apparatus (apparatus) in the Service Bus of the Enterprise, the representation of the technological apparatus in the configuration task is set. In the general case, such a representation of the technological task may have the following form:

[0239] «[0239] "

[0240] <int:channel id="moduleInputChanner />[0240] <int: channel id = "moduleInputChanner />

[0241] <int:channel id="moduleOutputChannel" />[0241] <int: channel id = "moduleOutputChannel" />

[0242] <int:service-activator input-channel="moduleInputChannel"[0242] <int: service-activator input-channel = "moduleInputChannel"

[0243] output-channel="moduleOutputChannel"[0243] output-channel = "moduleOutputChannel"

[0244] ref="moduleService"[0244] ref = "moduleService"

[0245] method="process"/>[0245] method = "process" />

[0246] <bean id="moduleService" class="com.almeesoft.moduleCalculation">[0246] <bean id = "moduleService" class = "com.almeesoft.moduleCalculation">

[0247] <constructor-arg ref="moduleOutputChannel"/>[0247] <constructor-arg ref = "moduleOutputChannel" />

[0248] <property name="inputSource1" value="module1" />[0248] <property name = "inputSource1" value = "module1" />

[0249] <property name="inputSource2" value="module2" />[0249] <property name = "inputSource2" value = "module2" />

[0250] <property name="outputSource1" value="module3" />[0250] <property name = "outputSource1" value = "module3" />

[0251] <property name="outputSource2" value="module4" />[0251] <property name = "outputSource2" value = "module4" />

[0252] <property name="moduleProperty1" value="value1" />[0252] <property name = "moduleProperty1" value = "value1" />

[0253] <property name="moduleProperty2" value="value2" />[0253] <property name = "moduleProperty2" value = "value2" />

[0254] <property name="moduleProperty3" value="value3" />[0254] <property name = "moduleProperty3" value = "value3" />

[0255] </bean>[0255] </bean>

[0256] »[0256] "

[0257] Для каждого определяются входной канал («<int:channel id="moduleInputChannel" />») и выходной канал («<int:channel id="moduleOutputChannel"/>»). Во входной канал «moduleInputChannel» подается сообщение («<int:service-activator input-channel="moduleInputChanner"»), после чего активатор вызывает метод «process» («method="process"») класса «com.almeesoft.moduleCalculation» («<bean id="moduleService"class="com.almeesoft.moduleCalculation">»), в котором происходит расчет технологического аппарата. После того как расчет закончен в выходной канал «moduleOutputChannel» передается сообщение со значениями выходных потоков («<constructor-arg ref="moduleOutputChannel"/> <property name="inputSource1" value="module1" /> <property name="inputSource2" value="module2" /> <property name="outputSource1" value="module3" /> <property name="outputSource2" value="module4" />»). Так же могут быть определены/рассчитаны необходимые для расчета модуля технологической схемы параметры «moduleProperty1», «moduleProperty2», «moduleProperty3» («<property name="moduleProperty1" value="value1" /> <property name="moduleProperty2" value="value2" /> <property name="moduleProperty3" value="value3" />»).[0257] For each, an input channel ("<int: channel id =" moduleInputChannel "/>") and an output channel ("<int: channel id =" moduleOutputChannel "/>") are defined. A message is sent to the input channel "moduleInputChannel" ("<int: service-activator input-channel =" moduleInputChanner ""), after which the activator calls the method "process" ("method =" process "") of the class "com.almeesoft.moduleCalculation "(" <Bean id = "moduleService" class = "com.almeesoft.moduleCalculation"> "), in which the technological apparatus is calculated. After the calculation is completed, a message with the values of the output streams is sent to the output channel "moduleOutputChannel" ("<constructor-arg ref =" moduleOutputChannel "/> <property name =" inputSource1 "value =" module1 "/> <property name =" inputSource2 "value =" module2 "/> <property name =" outputSource1 "value =" module3 "/> <property name =" outputSource2 "value =" module4 "/>)). The parameters "moduleProperty1", "moduleProperty2", "moduleProperty3" ("<property name =" moduleProperty1 "value =" value1 "/> <property name =" moduleProperty2 "value = can be determined / calculated "value2" /> <property name = "moduleProperty3" value = "value3" /> »).

[0258] Таким образом, как было показано выше, активатор может иметь только один входной и один выходной поток. Если аппарат имеет несколько входных потоков, то они объединяются в одном Сообщении в виде HashMap-массива (массив, основанный на хеш-таблицах, реализующий хранение хеш-сумм в виде пар ключ-значение) с ключами передаваемыми в свойствах модулей технологической схемы «inputSource1», «inputSource2», как было показано выше. Также, как было продемонстрировано выше, в качестве элемента Сервисной Шины Предприятия может быть использован элемент Агрегатор, способный объединять несколько Сообщений в одно. Так, например, в конфигурационное задание может быть добавлен Агрегатор, который способен получать входные Сообщения от модулей технологической схемы и объединять их в одно Сообщение с целью передачи объединенного Сообщения Активатору.[0258] Thus, as shown above, the activator can have only one input and one output stream. If the device has several input streams, then they are combined in one Message in the form of a HashMap array (an array based on hash tables that implements storage of hash sums in the form of key-value pairs) with keys transmitted in the properties of the modules of the technological scheme “inputSource1” , "InputSource2" as shown above. Also, as was shown above, as an element of the Service Bus of the Enterprise, an Aggregator element can be used that can combine several Messages into one. So, for example, an Aggregator can be added to the configuration task, which is able to receive input Messages from the modules of the technological scheme and combine them into one Message in order to transmit the combined Message to the Activator.

[0259] «<int:aggregator id="messageAggregator"[0259] "<int: aggregator id =" messageAggregator "

[0260] input-channel="moduleAggregatorInputChanner"[0260] input-channel = "moduleAggregatorInputChanner"

[0261] output-channel="moduleInputChannel"[0261] output-channel = "moduleInputChannel"

[0262] ref="aggregatorService"[0262] ref = "aggregatorService"

[0263] method="aggregateMessages"/>[0263] method = "aggregateMessages" />

[0264] <bean id="aggregatorService" class="com.almeesoft.messageAggregator">[0264] <bean id = "aggregatorService" class = "com.almeesoft.messageAggregator">

[0265] <property name="waitingMessageNumber" value="2" />[0265] <property name = "waitingMessageNumber" value = "2" />

[0266] </bean»>[0266] </ bean »>

[0267] Если аппарат имеет несколько выходных потоков, то в схему может быть добавлен описанный выше Роутер, который направляет выходные Сообщения по соответствующим каналам, в зависимости от свойства «outputSource» определенного в заголовке «messageChannel» сообщения.[0267] If the device has several output streams, the Router described above can be added to the circuit, which routes the output Messages through the appropriate channels, depending on the “outputSource” property defined in the messageChannel header of the message.

[0268] «[0268] "

[0269] <int:channel id="module3InputChannel" />[0269] <int: channel id = "module3InputChannel" />

[0270] <int:channel id="module4InputChannel" />[0270] <int: channel id = "module4InputChannel" />

[0271] <int:header-value-router input-channel="moduleOutputChannel" header-name=" messageChannel">[0271] <int: header-value-router input-channel = "moduleOutputChannel" header-name = "messageChannel">

[0272] <int:mapping value="module3" channel="module3InputChannel" />[0272] <int: mapping value = "module3" channel = "module3InputChannel" />

[0273] <int:mapping value="module4" channel="module4InputChannel" />[0273] <int: mapping value = "module4" channel = "module4InputChannel" />

[0274] </int:header-value-router>[0274] </ int: header-value-router>

[0275] »[0275] "

[0276] Далее описан процесс интеграции модуля технологической схемы в описываемую в рамках настоящего изобретения систему. Для интеграции нового аппарата в систему (пользователем или оператором сервера) оператором серверной стороны (или разработчиком) или пользователем должен быть определен/описан как минимум один модуль расчета аппарата (или модуля), например, в XML-формате. Такое описание модуля расчета (определение модулей, при помощи которых может быть рассчитан аппарат) состоит из двух частей: клиентской и серверной. Клиентская часть описания может содержать:[0276] The following describes a process for integrating a process module into the system described in the framework of the present invention. To integrate a new device into the system (by the user or server operator), the server side operator (or developer) or the user must define / describe at least one module for calculating the device (or module), for example, in XML format. Such a description of the calculation module (determination of the modules with which the apparatus can be calculated) consists of two parts: client and server. The client part of the description may contain:

[0277] - тип модуля;[0277] - type of module;

[0278] - название модуля;[0278] - the name of the module;

[0279] - краткое текстовое описание модуля, отображаемое пользователю на клиентской стороне;[0279] - a short textual description of the module displayed to the user on the client side;

[0280] - количество и типы входных и выходных потоков;[0280] - the number and types of input and output streams;

[0281] - список доступных адаптеров пользователю на клиентской стороне;[0281] - a list of available adapters to the user on the client side;

[0282] - список описаний параметров для каждого адаптера.[0282] is a list of parameter descriptions for each adapter.

[0283] Описание параметра адаптера может содержать название параметра, описание параметра, тип и область допустимых значений параметра.[0283] The adapter parameter description may include a parameter name, parameter description, type and range of valid parameter values.

[0284] На основании клиентской части описания может быть создан описанный выше интерфейс (пользовательский интерфейс, например, веб-интерфейс), при помощи которого могут быть введены, например, пользователем необходимые для расчета технологической схемы, модулей технологической схемы, аппаратов данные, как было описано выше.[0284] Based on the client part of the description, the above-described interface can be created (a user interface, for example, a web interface), with which, for example, the user can enter the data necessary for calculating the technological scheme, modules of the technological scheme, devices, as was described above.

[0285] Серверная часть описания модуля расчета для каждого из адаптеров содержит конфигурационное задание, которое используется Сервисной Шиной Предприятия для расчета модуля технологической схемы, и список необходимых параметров, необходимых для расчета аппарата.[0285] The server part of the description of the calculation module for each of the adapters contains a configuration task, which is used by the Service Bus of the Enterprise to calculate the module of the technological scheme, and a list of the necessary parameters necessary for calculating the device.

[0286] «[0286] "

[0287] <?xml version="1.0" encoding="utf-8" ?>[0287] <? Xml version = "1.0" encoding = "utf-8"?>

[0288] <module>[0288] <module>

[0289] <type>Mixer</type>[0289] <type> Mixer </type>

[0290] <name>2-port mixer</name>[0290] <name> 2-port mixer </name>

[0291] <description>Mixed for fluids with 2 inputs.</description>[0291] <description> Mixed for fluids with 2 inputs. </description>

[0292] <input>[0292] <input>

[0293] <flow>[0293] <flow>

[0294] <id>input1flow</id>[0294] <id> input1flow </id>

[0295] <type>material</type>[0295] <type> material </type>

[0296] <name>Input 1</name>[0296] <name> Input 1 </name>

[0297] <description></description>[0297] <description> </description>

[0298] </flow>[0298] </flow>

[0299] <flow>[0299] <flow>

[0300] <id>input2flow</id>[0300] <id> input2flow </id>

[0301] <type>material</type>[0301] <type> material </type>

[0302] <name>Input 2</name>[0302] <name> Input 2 </name>

[0303] <description></description>[0303] <description> </description>

[0304] </flow>[0304] </flow>

[0305] </input>[0305] </input>

[0306] <output>[0306] <output>

[0307] <flow>[0307] <flow>

[0308] <id>outputflow</id>[0308] <id> outputflow </id>

[0309] <type>material</type>[0309] <type> material </type>

[0310] <name>Output</name>[0310] <name> Output </name>

[0311] <description></description>[0311] <description> </description>

[0312] </flow>[0312] </flow>

[0313] </output>[0313] </output>

[0314] <adapters>[0314] <adapters>

[0315] <adapter>[0315] <adapter>

[0316] <id>mixedAdapter1</id>[0316] <id> mixedAdapter1 </id>

[0317] <name>Mixer (HYSYS)</name>[0317] <name> Mixer (HYSYS) </name>

[0318] <description>Mixer's model calculated by Aspen HYSYS.</description>[0318] <description> Mixer's model calculated by Aspen HYSYS. </description>

[0319] <parameters>[0319] <parameters>

[0320] <parameter>[0320] <parameter>

[0321] <id>mixRate</id>[0321] <id> mixRate </id>

[0322] <name>Mixer rate</name>[0322] <name> Mixer rate </name>

[0323] <description>Value of mixed rate coefficient.</description>[0323] <description> Value of mixed rate coefficient. </description>

[0324] <type>float</type>[0324] <type> float </type>

[0325] <minvalue>0</minvalue>[0325] <minvalue> 0 </minvalue>

[0326] <maxvalue>1</maxvalue>[0326] <maxvalue> 1 </maxvalue>

[0327] </parameter>[0327] </parameter>

[0328] <parameter>[0328] <parameter>

[0329] <id>preusreDrop</id>[0329] <id> preusreDrop </id>

[0330] <name>Calculate pressure drop</name>[0330] <name> Calculate pressure drop </name>

[0331] <description></description>[0331] <description> </description>

[0332] <type>enum</type>[0332] <type> enum </type>

[0333] <value>yes</value>[0333] <value> yes </value>

[0334] <value>no</value>[0334] <value> no </value>

[0335] </parameter>[0335] </parameter>

[0336] </parameters>[0336] </parameters>

[0337] <scheme>[0337] <scheme>

[0338] <int:channel id="{mixer}InnerChannel" />[0338] <int: channel id = "{mixer} InnerChannel" />

[0339] <int:aggregator id="{mixer} message Aggregator"[0339] <int: aggregator id = "{mixer} message Aggregator"

[0340] input-channel="{mixer}InputChannel"[0340] input-channel = "{mixer} InputChannel"

[0341] output-channel="{mixer}InnerChannel"[0341] output-channel = "{mixer} InnerChannel"

[0342] ref="{mixer}aggregatorService"[0342] ref = "{mixer} aggregatorService"

[0343] method="aggregateMessages"/>[0343] method = "aggregateMessages" />

[0344] <bean id=" {mixer} aggregatorService" class="com.almeesoft.messageAggregator">[0344] <bean id = "{mixer} aggregatorService" class = "com.almeesoft.messageAggregator">

[0345] <property name="waitingMessageNumber" value="2" />[0345] <property name = "waitingMessageNumber" value = "2" />

[0346] </bean>[0346] </bean>

[0347] <int:channel id="{mixer}OutputChannel" />[0347] <int: channel id = "{mixer} OutputChannel" />

[0348] <int:service-activator input-channel="{mixer}InnerChannel" id="{mixer} mixerActivator"[0348] <int: service-activator input-channel = "{mixer} InnerChannel" id = "{mixer} mixerActivator"

[0349] output-channel="{mixer}OutputChannel"[0349] output-channel = "{mixer} OutputChannel"

[0350] ref="{mixer}mixerService"[0350] ref = "{mixer} mixerService"

[0351] method="process"/>[0351] method = "process" />

[0352] <bean id="{mixer}mixerService" class="com.almeesoft.Mixer">[0352] <bean id = "{mixer} mixerService" class = "com.almeesoft.Mixer">

[0353] <property name="mixRate" value="" />[0353] <property name = "mixRate" value = "" />

[0354] <property name="preusreDrop" value="" />[0354] <property name = "preusreDrop" value = "" />

[0355] </bean>[0355] </bean>

[0356] </scheme>[0356] </scheme>

[0357] </adapter>[0357] </adapter>

[0358] <adapter>[0358] <adapter>

[0359] …[0359] ...

[0360] </adapter>[0360] </adapter>

[0361] </adapters>[0361] </adapters>

[0362] </module>[0362] </module>

[0363] »[0363] "

[0364] Данное описание/представление, на основании которого на клиентской стороне пользователю отображается/предоставляется список необходимых параметров для расчета аппарата, модуля технологической схемы и/или технологической схемы, на основании которых в дальнейшем может быть рассчитан аппарат. Также, данное описание/представление используется для добавления характеристик аппарата и способов его расчета в конфигурационное задание, причем такое описание/представление аппарата может храниться на серверной стороне, в частности, на сервере и при необходимости (например, при запросе клиентской стороной, например, при редактировании пользователем технологической схемы или ее модулей, аппаратов, при добавлении новых составных частей технологической схемы и т.д.) передается на клиентскую сторону. На основе указанного описания/представления на клиентской стороне средствами серверной стороны или средствами клиентской стороны, например, с использованием API программного обеспечения, установленного на сервере, создаются формы для задания необходимых параметров аппаратов, модулей технологической схемы, технологической схемы, включая соединения составных частей технологической схемы, например, такой формы, как показана на ФИГ. 5.[0364] This description / presentation, based on which on the client side the user is shown / provided with a list of necessary parameters for calculating the apparatus, the module of the technological scheme and / or technological scheme, on the basis of which the device can be further calculated. Also, this description / representation is used to add the characteristics of the device and how to calculate it in the configuration task, and such a description / representation of the device can be stored on the server side, in particular, on the server and, if necessary (for example, when requested by the client side, for example, when editing by the user of the technological scheme or its modules, devices, when adding new components of the technological scheme, etc.) is transferred to the client side. Based on the specified description / presentation on the client side by means of the server side or by means of the client side, for example, using the API software installed on the server, forms are created for setting the necessary parameters of devices, modules of the technological scheme, technological scheme, including the connection of the components of the technological scheme , for example, of such a form as shown in FIG. 5.

[0365] На основании типа модуля технологической схемы и набора входных и выходных потоков происходит визуализация данного модуля технологической схемы в интерфейсе, в частности, в интерфейсе пользователя, например, представленном веб-интерфейсом. Выбирая один из возможных адаптеров, пользователь указывает все необходимые параметры (описанные выше) для расчета модуля технологической схемы.[0365] Based on the type of flowchart module and the set of input and output streams, this flowchart module is visualized in an interface, in particular in a user interface, for example, represented by a web interface. Choosing one of the possible adapters, the user indicates all the necessary parameters (described above) for calculating the module of the technological scheme.

[0366] После того как пользователь на клиентской стороне ввел описание всех модулей (все необходимые параметры аппаратов, модулей, технологической схемы и т.д.), на клиентской стороне создается xml описание/представление (xml-файл) пользовательской схемы технологического процесса. В данном представлении пользовательской схемы технологического процесса в процессе создания xml-файла для каждого модуля технологической схемы добавляются связи между этими модулями и связанными с ними модулями, присутствующими в технологической схеме входными и выходными потоками, а также добавляется/указывается выбранный тип адаптера и значения необходимых параметров, как показано в тексте xml-файла, приведенном ниже:[0366] After the user on the client side has entered a description of all modules (all necessary parameters of the devices, modules, technological scheme, etc.), an xml description / presentation (xml file) of the user’s technological process scheme is created on the client side. In this view of the user flowchart during the creation of the xml file for each module of the flowchart, connections are added between these modules and the modules associated with them, input and output streams in the flowchart, and the selected adapter type is added / indicated and the values of the necessary parameters as shown in the text of the xml file below:

[0367] «[0367] "

[0368] <?xml version="1.0" encoding="utf-8" ?>[0368] <? Xml version = "1.0" encoding = "utf-8"?>

[0369] <module>[0369] <module>

[0370] <type>Mixer</type>[0370] <type> Mixer </type>

[0371] <id>mixer1</id>[0371] <id> mixer1 </id>

[0372] <input>[0372] <input>

[0373] <inputPoint>[0373] <inputPoint>

[0374] <flow>input1flow</flowId>[0374] <flow> input1flow </flowId>

[0375] <module>heater2</module>[0375] <module> heater2 </module>

[0376] </inputPoint>[0376] </inputPoint>

[0377] <inputPoint>[0377] <inputPoint>

[0378] <flow>input2flow</flowId>[0378] <flow> input2flow </flowId>

[0379] <module>pump1</module>[0379] <module> pump1 </module>

[0380] </inputPoint>[0380] </inputPoint>

[0381] </input>[0381] </input>

[0382] <output>[0382] <output>

[0383] <inputPoint>[0383] <inputPoint>

[0384] <flow>outputflow</flowId>[0384] <flow> outputflow </flowId>

[0385] <module>pump2</module>[0385] <module> pump2 </module>

[0386] </inputPoint>[0386] </inputPoint>

[0387] </output>[0387] </output>

[0388] <adapter>[0388] <adapter>

[0389] <id>mixedAdapterl</id>[0389] <id> mixedAdapterl </id>

[0390] <parameters>[0390] <parameters>

[0391] <parameter>[0391] <parameter>

[0392] <id>mixRate</id>[0392] <id> mixRate </id>

[0393] <value>0.6</value>[0393] <value> 0.6 </value>

[0394] </parameter>[0394] </parameter>

[0395] <parameter>[0395] <parameter>

[0396] <id>preusreDrop</id>[0396] <id> preusreDrop </id>

[0397] <value>no</value>[0397] <value> no </value>

[0398] </parameter>[0398] </parameter>

[0399] </parameters>[0399] </parameters>

[0400] </adapter>[0400] </adapter>

[0401] </module>[0401] </module>

[0402] »[0402] "

[0403] Полученные от пользователя параметры (введенные/указанные пользователем) на серверной стороне создается описание модуля технологической схемы (как было описано выше), которое добавляется в конфигурационное задание технологической схемы:[0403] The parameters received from the user (entered / specified by the user) on the server side create a description of the flowchart module (as described above), which is added to the configuration task of the flowchart:

[0404] «[0404] "

[0405] <int:channel id="mixer 1 InnerChannel" />[0405] <int: channel id = "mixer 1 InnerChannel" />

[0406] <int: aggregator id=" mixer1 message Aggregator"[0406] <int: aggregator id = "mixer1 message Aggregator"

[0407] input-channel="mixer1 InputChannel"[0407] input-channel = "mixer1 InputChannel"

[0408] output-channel="mixer1 InnerChannel"[0408] output-channel = "mixer1 InnerChannel"

[0409] ref="mixer1 aggregatorService"[0409] ref = "mixer1 aggregatorService"

[0410] method="aggregateMessages"/>[0410] method = "aggregateMessages" />

[0411] <bean id=" mixer" aggregatorService" class="com.almeesoft.messageAggregator">[0411] <bean id = "mixer" aggregatorService "class =" com.almeesoft.messageAggregator ">

[0412] <property name="waitingMessageNumber" value="2" />[0412] <property name = "waitingMessageNumber" value = "2" />

[0413] </bean>[0413] </bean>

[0414] <int:channel id="mixer1OutputChannel" />[0414] <int: channel id = "mixer1OutputChannel" />

[0415] <int:service-activator input-channel="mixer1 InnerChannel" id="mixer1 mixerActivator"[0415] <int: service-activator input-channel = "mixer1 InnerChannel" id = "mixer1 mixerActivator"

[0416] output-channel="mixer1 OutputChannel"[0416] output-channel = "mixer1 OutputChannel"

[0417] ref="mixer1 mixerService"[0417] ref = "mixer1 mixerService"

[0418] method="process"/>[0418] method = "process" />

[0419] <bean id=" mixer1 mixerService" class="com.almeesoft.Mixer">[0419] <bean id = "mixer1 mixerService" class = "com.almeesoft.Mixer">

[0420] <property name="mixRate" value="0.6" />[0420] <property name = "mixRate" value = "0.6" />

[0421] <property name="preusreDrop" value="no" />[0421] <property name = "preusreDrop" value = "no" />

[0422] </bean>[0422] </bean>

[0423] »[0423] "

[0424] На ФИГ. 8 показан пример компьютерной системы общего назначения, которая включает в себя многоцелевое вычислительное устройство в виде компьютера 20 или сервера, включающего в себя процессор 21, системную память 22 и системную шину 23, которая связывает различные системные компоненты, включая системную память с процессором 21.[0424] In FIG. Figure 8 shows an example of a general-purpose computer system that includes a multi-purpose computing device in the form of a computer 20 or a server including a processor 21, a system memory 22, and a system bus 23 that couples various system components, including the system memory to the processor 21.

[0425] Системная шина 23 может быть любого из различных типов структур шин, включающих шину памяти или контроллер памяти, периферийную шину и локальную шину, использующую любую из множества архитектур шин. Системная память включает постоянное запоминающее устройство (ПЗУ) 24 и оперативное запоминающее устройство (ОЗУ) 25. В ПЗУ 24 хранится базовая система ввода/вывода 26 (БИОС), состоящая из основных подпрограмм, которые помогают обмениваться информацией между элементами внутри компьютера 20, например, в момент запуска.[0425] The system bus 23 may be any of various types of bus structures, including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. System memory includes read-only memory (ROM) 24 and random access memory (RAM) 25. The ROM 24 stores the basic input / output system 26 (BIOS), consisting of basic routines that help exchange information between elements within the computer 20, for example, at the time of launch.

[0426] Компьютер 20 также может включать в себя накопитель 27 на жестком диске для чтения с и записи на жесткий диск, не показан, накопитель 28 на магнитных дисках для чтения с или записи на съемный магнитный диск 29, и накопитель 30 на оптическом диске для чтения с или записи на съемный оптический диск 31 такой, как компакт-диск, цифровой видеодиск и другие оптические средства. Накопитель 27 на жестком диске, накопитель 28 на магнитных дисках и накопитель 30 на оптических дисках соединены с системной шиной 23 посредством, соответственно, интерфейса 32 накопителя на жестком диске, интерфейса 33 накопителя на магнитных дисках и интерфейса 34 оптического накопителя. Накопители и их соответствующие читаемые компьютером средства обеспечивают энергонезависимое хранение читаемых компьютером инструкций, структур данных, программных модулей и других данных для компьютера 20.[0426] Computer 20 may also include a hard disk drive 27 for reading from and writing to a hard disk, not shown, a magnetic disk drive 28 for reading from or writing to a removable magnetic disk 29, and an optical disk drive 30 for reading from or writing to a removable optical disc 31 such as a CD, a digital video disc, and other optical means. The hard disk drive 27, the magnetic disk drive 28, and the optical disk drive 30 are connected to the system bus 23 by means of the hard disk drive interface 32, the magnetic disk drive interface 33, and the optical drive interface 34, respectively. Storage devices and their respective computer-readable means provide non-volatile storage of computer-readable instructions, data structures, program modules and other data for computer 20.

[0427] Хотя описанная здесь типичная конфигурация использует жесткий диск, съемный магнитный диск 29 и съемный оптический диск 31, специалист примет во внимание, что в типичной операционной среде могут также быть использованы другие типы читаемых компьютером средств, которые могут хранить данные, которые доступны с помощью компьютера, такие как магнитные кассеты, карты флеш-памяти, цифровые видеодиски, картриджи Бернулли, оперативные запоминающие устройства (ОЗУ), постоянные запоминающие устройства (ПЗУ) и т.п.[0427] Although the typical configuration described here uses a hard disk, a removable magnetic disk 29, and a removable optical disk 31, one skilled in the art will appreciate that other types of computer-readable media that can store data that are accessible with using a computer, such as magnetic tapes, flash memory cards, digital video discs, Bernoulli cartridges, random access memory (RAM), read-only memory (ROM), etc.

[0428] Различные программные модули, включая операционную систему 35, могут быть сохранены на жестком диске, магнитном диске 29, оптическом диске 31, ПЗУ 24 или ОЗУ 25. Компьютер 20 включает в себя файловую систему 36, связанную с операционной системой 35 или включенную в нее, одно или более программное приложение 37, другие программные модули 38 и программные данные 39. Пользователь может вводить команды и информацию в компьютер 20 при помощи устройств ввода, таких как клавиатура 40 и указательное устройство 42. Другие устройства ввода (не показаны) могут включать в себя микрофон, джойстик, геймпад, спутниковую антенну, сканер или любое другое.[0428] Various software modules, including operating system 35, may be stored on a hard disk, magnetic disk 29, optical disk 31, ROM 24, or RAM 25. Computer 20 includes a file system 36 associated with the operating system 35 or included in it, one or more software applications 37, other program modules 38 and program data 39. The user can enter commands and information into the computer 20 using input devices such as a keyboard 40 and pointing device 42. Other input devices (not shown) may include yuchat a microphone, joystick, game pad, satellite dish, scanner, or any other.

[0429] Эти и другие устройства ввода соединены с процессором 21 часто посредством интерфейса 46 последовательного порта, который связан с системной шиной, но могут быть соединены посредством других интерфейсов, таких как параллельный порт, игровой порт или универсальная последовательная шина (УПШ). Монитор 47 или другой тип устройства визуального отображения также соединен с системной шиной 23 посредством интерфейса, например видеоадаптера 48. В дополнение к монитору 47, персональные компьютеры обычно включают в себя другие периферийные устройства вывода (не показано), такие как динамики и принтеры.[0429] These and other input devices are connected to the processor 21 often through a serial port interface 46 that is connected to the system bus, but can be connected via other interfaces, such as a parallel port, game port, or universal serial bus (USB). A monitor 47 or other type of visual display device is also connected to the system bus 23 via an interface, such as a video adapter 48. In addition to the monitor 47, personal computers typically include other peripheral output devices (not shown), such as speakers and printers.

[0430] Компьютер 20 может работать в сетевом окружении посредством логических соединений к одному или нескольким удаленным компьютерам 49. Удаленный компьютер (или компьютеры) 49 может представлять собой другой компьютер, сервер, роутер, сетевой ПК, пиринговое устройство или другой узел единой сети, а также обычно включает в себя большинство или все элементы, описанные выше, в отношении компьютера 20, хотя показано только устройство хранения информации 50. Логические соединения включают в себя локальную сеть (ЛВС) 51 и глобальную компьютерную сеть (ГКС) 52. Такие сетевые окружения обычно распространены в учреждениях, корпоративных компьютерных сетях, Интернете.[0430] Computer 20 may operate in a networked environment through logical connections to one or more remote computers 49. The remote computer (or computers) 49 may be another computer, server, router, network PC, peer device, or other node on a single network, and also typically includes most or all of the elements described above with respect to computer 20, although only an information storage device 50 is shown. Logical connections include a local area network (LAN) 51 and a global computer network (GCS) 52. Such network environments are usually common in institutions, corporate computer networks, and the Internet.

[0431] Компьютер 20, используемый в сетевом окружении ЛВС, соединяется с локальной сетью 51 посредством сетевого интерфейса или адаптера 53. Компьютер 20, используемый в сетевом окружении ГКС, обычно использует модем 54 или другие средства для установления связи с глобальной компьютерной сетью 52, такой как Интернет.[0431] The computer 20 used in the LAN network environment is connected to the local area network 51 via a network interface or adapter 53. The computer 20 used in the GC network environment typically uses a modem 54 or other means to establish communication with the global computer network 52, such like the internet.

[0432] Модем 54, который может быть внутренним или внешним, соединен с системной шиной 23 посредством интерфейса 46 последовательного порта. В сетевом окружении программные модули или их части, описанные применительно к компьютеру 20, могут храниться на удаленном устройстве хранения информации. Надо принять во внимание, что показанные сетевые соединения являются типичными, и для установления коммуникационной связи между компьютерами могут быть использованы другие средства.[0432] The modem 54, which may be internal or external, is connected to the system bus 23 via the serial port interface 46. In a networked environment, program modules or parts thereof described with reference to computer 20 may be stored on a remote information storage device. It should be noted that the network connections shown are typical, and other means may be used to establish communication communication between computers.

[0433] В заключение следует отметить, что приведенные в описании сведения являются примерами, которые не ограничивают объем настоящего изобретения, определенного формулой. Специалисту в данной области становится понятным, что могут существовать и другие варианты осуществления настоящего изобретения, согласующиеся с сущностью и объемом настоящего изобретения.[0433] In conclusion, it should be noted that the information provided in the description are examples that do not limit the scope of the present invention defined by the claims. One skilled in the art will recognize that there may be other embodiments of the present invention consistent with the spirit and scope of the present invention.

Claims (45)

1. Способ для моделирования и расчета химико-технологических систем, включающий следующие шаги:1. A method for modeling and calculating chemical-technological systems, comprising the following steps: а) создание пользователем новой химико-технологической схемы или выбор и/или редактирование пользователем созданной или существующей химико-технологической схемы из набора химико-технологических схем посредством интерфейса ввода-вывода на клиентской стороне, сохраненных на сервере, где химико-технологическая схема описывает химико-технологическую систему, характеризующуюся, по крайней мере, одним химико-технологическим процессом, причем химико-технологическая схема состоит из модулей химико-технологической схемы, связанных входными и выходными потоками, и расчет аппаратов химико-технологической схемы выполняется расчетными модулями, реализованными в виде элементов Сервисной Шины Предприятия;a) creation by the user of a new chemical-technological scheme or selection and / or editing by the user of a created or existing chemical-technological scheme from a set of chemical-technological schemes by means of an input-output interface on the client side stored on a server, where the chemical-technological scheme describes a chemical a technological system characterized by at least one chemical-technological process, and the chemical-technological scheme consists of modules of the chemical-technological scheme connected by input E and output flows, and the calculation of the chemical-technological scheme performed apparatuses calculated modules, implemented as Enterprise Service Bus elements; б) выбор и добавление модулей химико-технологической схемы в химико-технологическую схему и задание пользователем входных параметров химико-технологической схемы и/или параметров модулей химико-технологической схемы, включающих, по крайней мере, параметры входного потока и/или выходного потока для химико-технологической схемы, и/или параметры аппаратов химико-технологической схемы, и/или параметры для модулей химико-технологической схемы, и/или выбор расчетных модулей для модулей химико-технологической схемы;b) selection and addition of modules of the chemical-technological scheme to the chemical-technological scheme and the user setting the input parameters of the chemical-technological scheme and / or parameters of the modules of the chemical-technological scheme, including at least the parameters of the input stream and / or output stream for the chemical -the technological scheme, and / or the parameters of the devices of the chemical-technological scheme, and / or the parameters for the modules of the chemical-technological scheme, and / or the choice of design modules for the modules of the chemical-technological scheme; в) передача данных, полученных в пунктах а) и б) с описанием химико-технологической схемы на сервер в виде HTTP-запроса для расчета химико-технологической схемы;c) transfer of data obtained in points a) and b) with a description of the chemical-technological scheme to the server in the form of an HTTP request for calculating the chemical-technological scheme; г) преобразование полученных со стороны пользователя данных на сервере в конфигурационное задание в формате Сервисной Шины Предприятия;d) converting the data received from the user on the server into the configuration task in the format of the Service Bus of the Enterprise; д) проведение расчета посредством обработки Сервисной Шиной Предприятия конфигурационного задания, причем химико-технологические потоки представлены сообщениями Сервисной Шины Предприятия и модули химико-технологической схемы представлены элементами Сервисной Шины Предприятия;d) carrying out the calculation by processing the Service Bus of the Enterprise configuration task, and the chemical-technological flows are represented by messages of the Service Bus of the Enterprise and the modules of the chemical-technological scheme are represented by elements of the Service Bus of the Enterprise; е) отправка результатов расчета химико-технологической схемы на клиентскую сторону в виде HTTP-ответа.f) sending the results of the calculation of the chemical-technological scheme to the client side in the form of an HTTP response. 2. Способ по п. 1, характеризующийся тем, что задаваемые параметры модулей химико-технологической схемы включают задание, по крайней мере, одного входного потока модуля химико-технологической схемы.2. The method according to p. 1, characterized in that the set parameters of the modules of the chemical-technological scheme include setting at least one input stream of the module of the chemical-technological scheme. 3. Способ по п. 1, характеризующийся тем, что модулю химико-технологической схемы соответствует, по крайней мере, один расчетный модуль химико-технологической схемы, выполненный в виде программного модуля, реализованного на языке программирования.3. The method according to p. 1, characterized in that the module of the chemical technological scheme corresponds to at least one calculation module of the chemical technological scheme, made in the form of a software module implemented in a programming language. 4. Способ по п. 3, характеризующийся тем, что расчетные модули создаются пользователем на языке Сервисной Шины Предприятия в дополнение к ранее созданным расчетным модулям.4. The method according to claim 3, characterized in that the calculation modules are created by the user in the language of the Service Bus of the Enterprise in addition to the previously created calculation modules. 5. Способ по п. 1, характеризующийся тем, что модули химико-технологической схемы преобразуют входящие потоки в выходящие потоки аппаратов.5. The method according to p. 1, characterized in that the modules of the chemical-technological scheme convert the input streams into the output streams of the apparatus. 6. Способ по п. 1, характеризующийся тем, что интерфейс пользователя является веб-интерфейсом6. The method according to p. 1, characterized in that the user interface is a web interface 7. Способ по п. 1, характеризующийся тем, что расчетные модули преобразуются на сервере в элементы Сервисной Шины Предприятия.7. The method according to claim 1, characterized in that the calculation modules are converted on the server into elements of the Service Bus of the Enterprise. 8. Способ по п. 1, характеризующийся тем, что характеристики потоков химико-технологической схемы моделируются сообщениями Сервисной Шины Предприятия, которые включают химико-технологические параметры потоков, такие как:8. The method according to p. 1, characterized in that the characteristics of the flows of the chemical-technological scheme are modeled by the messages of the Service Bus of the Enterprise, which include chemical-technological parameters of the flows, such as: давление;pressure; температуру;temperature расход,consumption, концентрации химических элементов.concentration of chemical elements. 9. Способ по п. 1, характеризующийся тем, что Сервисная Шина Предприятия может быть построена с использованием фреймворка для интеграции корпоративных приложений «Spring Integration», основанном на ядре «SpringFramework».9. The method according to claim 1, characterized in that the Enterprise Service Bus can be constructed using the Spring Integration framework for enterprise applications based on the SpringFramework core. 10. Способ по п. 1, характеризующийся тем, что описание химико-технологической схемы включено в конфигурационный файл, представленный в формате сохранения данных, например XML.10. The method according to p. 1, characterized in that the description of the chemical-technological scheme is included in the configuration file presented in a data storage format, for example XML. 11. Способ по п. 1, характеризующийся тем, что после окончания расчета химико-технологической схемы результаты расчета добавляются в конфигурационный файл в виде свойств элементов Сервисной Шины Предприятия.11. The method according to claim 1, characterized in that after the calculation of the chemical-technological scheme is completed, the calculation results are added to the configuration file in the form of the properties of the elements of the Service Bus of the Enterprise. 12. Способ по п. 11, характеризующийся тем, что конфигурационный файл сохраняется на сервере и может быть запрошен пользователем для восстановления исходной химико-технологической схемы.12. The method according to p. 11, characterized in that the configuration file is stored on the server and can be requested by the user to restore the original chemical-technological scheme. 13. Способ по п. 1, характеризующийся тем, что описание химико-технологической схемы включает упрощенное описание модулей химико-технологической схемы, позволяющее производить быстрый расчет химико-технологической схемы.13. The method according to p. 1, characterized in that the description of the chemical-technological scheme includes a simplified description of the modules of the chemical-technological scheme, allowing for quick calculation of the chemical-technological scheme. 14. Способ по п. 12, характеризующийся тем, что конфигурационный файл сохраняется в базе данных.14. The method according to p. 12, characterized in that the configuration file is stored in the database. 15. Способ по п. 1, характеризующийся тем, что расчетные модули подключаются к серверу для расчета, по крайней мере, одного модуля химико-технологической схемы.15. The method according to p. 1, characterized in that the calculated modules are connected to the server for calculating at least one module of the chemical-technological scheme. 16. Способ по п. 1, характеризующийся тем, что модули химико-технологической схемы могут быть скомпонованы в цепочки модулей химико-технологической схемы, описывающих, по крайней мере, один аппарат, причем такая цепочка рассчитывается, по крайней мере, одним выбранным для нее расчетным модулем.16. The method according to p. 1, characterized in that the modules of the chemical-technological scheme can be arranged in chains of modules of the chemical-technological scheme that describe at least one device, and such a chain is calculated by at least one selected for it calculation module. 17. Способ по п. 16, характеризующийся тем, что цепочка модулей химико-технологической схемы сохраняется на сервере отдельно от химико-технологической схемы в виде блока химико-технологической схемы или модуля химико-технологической схемы.17. The method according to p. 16, characterized in that the chain of modules of the chemical-technological scheme is stored on the server separately from the chemical-technological scheme in the form of a block of a chemical-technological scheme or a module of a chemical-technological scheme. 18. Способ по п. 16, характеризующийся тем, что цепочка модулей химико-технологической схемы может быть добавлена в химико-технологическую схему в виде блока модулей химико-технологической схемы или модуля химико-технологической схемы.18. The method according to p. 16, characterized in that the chain of modules of the chemical-technological scheme can be added to the chemical-technological scheme in the form of a block of modules of the chemical-technological scheme or a module of the chemical-technological scheme. 19. Способ по п. 18, характеризующийся тем, что рассчитанные на сервере характеристики цепочки модулей химико-технологической схемы, включая входные, выходные и промежуточные потоки и их характеристики, хранятся вместе с цепочкой модулей и используются для расчета химико-технологической схемы, в которую такая цепочка модулей химико-технологической схемы была добавлена.19. The method according to p. 18, characterized in that the characteristics of the chain of modules of the chemical-technological scheme calculated on the server, including input, output and intermediate flows and their characteristics, are stored together with the chain of modules and are used to calculate the chemical-technological scheme into which such a chain of chemical process modules has been added. 20. Способ по п. 1, характеризующийся тем, что модулю химико-технологической схемы сопоставляется элемент Сервисной Шины Предприятия, при помощи которого на сервере выполняется расчет данного модуля химико-технологической схемы.20. The method according to p. 1, characterized in that the module of the chemical-technological scheme is associated with the element of the Service Bus of the Enterprise, by which the server calculates this module of the chemical-technological scheme. 21. Способ по п. 20, характеризующийся тем, что расчет модуля химико-технологической схемы проводится на разных серверах, в зависимости от настроек Сервисной Шины Предприятия.21. The method according to p. 20, characterized in that the calculation of the chemical-technological scheme module is carried out on different servers, depending on the settings of the Enterprise Service Bus. 22. Способ для расчета аппаратов химико-технологической схемы, выполняющийся на сервере, на основе конфигурационного задания, включающий следующие шаги:22. A method for calculating apparatuses of a chemical-technological scheme, executed on a server, based on a configuration task, including the following steps: получение на сервере конфигурационного файла, содержащего конфигурационное задание, описывающее свойства элементов Сервисной Шины Предприятия;receiving on the server a configuration file containing a configuration task that describes the properties of the elements of the Enterprise Service Bus; преобразование набора данных из конфигурационного файла в, по крайней мере, одно Сообщение Сервисной Шины Предприятия, относящихся к определенному потоку химико-технологической схемы, описывающих характеристики, по крайней мере, одного потока химико-технологической схемы и передающихся по потокам химико-технологической схемы, где химико-технологическая схема описывает химико-технологическую систему, характеризующуюся, по крайней мере, одним химико-технологическим процессом, причем химико-технологическая схема состоит из аппаратов химико-технологической схемы, связанных входными и выходными потоками, и расчет аппаратов химико-технологической схемы выполняется расчетными модулями;converting a dataset from a configuration file to at least one Enterprise Service Bus Message related to a particular flow of a chemical-technological scheme, describing the characteristics of at least one stream of a chemical-technological scheme and transmitted through the flows of the chemical-technological scheme, where chemical-technological scheme describes a chemical-technological system, characterized by at least one chemical-technological process, and the chemical-technological scheme consists of apparatuses imiko-flowsheet associated input and output flows, and the calculation of the chemical-technological scheme performed apparatuses calculated modules; передачу, по крайней мере, одного Сообщения, по крайней мере, по одному Каналу, причем Канал является частью Сервисной Шины Предприятия и связывает элементы Сервисной Шины Предприятия, а также используется для моделирования направления потоков химико-технологической схемы, где элементами Сервисной Шины Предприятия являются, по крайней мере, активатор, адаптер, роутер, агрегатор;transmission of at least one Message on at least one Channel, moreover, the Channel is part of the Service Bus of the Enterprise and links the elements of the Service Bus of the Enterprise, and is also used to model the flow direction of the chemical-technological scheme, where the elements of the Service Bus of the Enterprise are, at least an activator, adapter, router, aggregator; вычисление, по крайней мере, одного параметра аппарата с использованием элементов Сервисной Шины Предприятия.calculation of at least one device parameter using the elements of the Enterprise Service Bus. 23. Способ по п. 22, характеризующийся тем, что активатор используется для получения сообщения и вызова адаптера и имеет один вход и один выход и используется для преобразования сообщения; адаптер используется для расчета модуля химико-технологической схемы и для преобразования и отправки сообщения в канал и обработки сообщения из канала; роутер используется для перенаправления, по крайней мере, одного сообщения по каналам, в зависимости от свойств сообщений; агрегатор используется для объединения, по крайней мере, двух сообщений в одно.23. The method according to p. 22, characterized in that the activator is used to receive the message and call the adapter and has one input and one output and is used to convert the message; the adapter is used to calculate the module of the chemical-technological scheme and to convert and send messages to the channel and process messages from the channel; a router is used to redirect at least one message on channels, depending on the properties of the messages; An aggregator is used to combine at least two messages into one. 24. Способ по п. 22, характеризующийся тем, что потоки химико-технологической схемы представлены каналами Сервисной Шины Предприятия.24. The method according to p. 22, characterized in that the flows of the chemical-technological scheme are represented by the channels of the Service Bus of the Enterprise. 25. Способ по п. 22, характеризующийся тем, что сервер использует, по крайней мере, один алгоритм расчета аппарата схемы, подключаемый к серверу в виде модуля химико-технологической схемы.25. The method according to p. 22, characterized in that the server uses at least one algorithm for calculating the apparatus of the circuit, connected to the server in the form of a module of a chemical-technological scheme. 26. Способ по п. 25, характеризующийся тем, что алгоритм расчета аппарата химико-технологической схемы выполнен в виде программного кода.26. The method according to p. 25, characterized in that the algorithm for calculating the apparatus of the chemical-technological scheme is made in the form of a program code. 27. Способ по п. 25, характеризующийся тем, что алгоритмы и/или программы расчета для модулей химико-технологической схемы создаются пользователем на языке программирования и включают программный код.27. The method according to p. 25, characterized in that the algorithms and / or calculation programs for the modules of the chemical-technological scheme are created by the user in a programming language and include program code. 28. Способ по п. 22, характеризующийся тем, что расчетные модули преобразуются на сервере в элементы Сервисной Шины Предприятия.28. The method according to p. 22, characterized in that the calculated modules are converted on the server into elements of the Service Bus of the Enterprise. 29. Способ по п. 22, характеризующийся тем, что расчет, по крайней мере, одного аппарата может быть запрошен устройством пользователя, так что результаты расчета аппарата после проведения, по крайней мере, одного расчета аппарата могут быть переданы на устройство пользователя.29. The method according to p. 22, characterized in that the calculation of at least one device can be requested by the user device, so that the results of the calculation of the device after at least one calculation of the device can be transmitted to the user device. 30. Способ по п. 22, характеризующийся тем, что химико-технологической схеме сопоставляется конфигурационное задание, содержащееся в конфигурационном файле.30. The method according to p. 22, characterized in that the chemical-technological scheme compares the configuration task contained in the configuration file. 31. Способ по п. 22, характеризующийся тем, что результаты расчета, по крайней мере, одного аппарата химико-технологической схемы сохраняются на сервере.31. The method according to p. 22, characterized in that the calculation results of at least one apparatus of the chemical-technological scheme are stored on the server.
RU2017107562A 2017-03-07 2017-03-07 Chemical-technological systems simulation and calculation system and method RU2656687C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2017107562A RU2656687C1 (en) 2017-03-07 2017-03-07 Chemical-technological systems simulation and calculation system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2017107562A RU2656687C1 (en) 2017-03-07 2017-03-07 Chemical-technological systems simulation and calculation system and method

Publications (1)

Publication Number Publication Date
RU2656687C1 true RU2656687C1 (en) 2018-06-06

Family

ID=62560174

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2017107562A RU2656687C1 (en) 2017-03-07 2017-03-07 Chemical-technological systems simulation and calculation system and method

Country Status (1)

Country Link
RU (1) RU2656687C1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2749892C1 (en) * 2020-07-16 2021-06-18 Общество с ограниченной ответственностью "Ассоциация инженеров и ученых по водоснабжению и водоотведению" Method for universal hydraulic calculation of non-pressurized drainage networks for surface wastewater
RU2758854C1 (en) * 2020-10-15 2021-11-02 Федеральное государственное казённое военное образовательное учреждение высшего образования "Военная академия материально-технического обеспечения имени генерала армии А.В. Хрулева" Министерства обороны Российской Федерации Method for determining concentration of substances in biological wastewater treatment system
RU2775470C1 (en) * 2021-03-11 2022-07-01 Федеральное государственное казённое военное образовательное учреждение высшего образования "Военная академия материально-технического обеспечения имени генерала армии А.В. Хрулева" Министерства обороны Российской Федерации Method for determining the concentration of recycling sludge in a system for biological waste water treatment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030069725A1 (en) * 2001-10-09 2003-04-10 Southern Brian K. Deterministic method of experimental design
RU48420U1 (en) * 2005-04-19 2005-10-10 Оао Акб "Автобанк-Никойл" SYSTEM OF SUPPORT OF STRATEGIC MANAGEMENT OF THE ENTERPRISE
US20150105878A1 (en) * 2012-10-08 2015-04-16 Fisher-Rosemount Systems, Inc. Methods and Apparatus to Provide a Role-Based User Interface
CN104900106A (en) * 2015-06-19 2015-09-09 徐州市广联科技有限公司 Hazardous chemical practical operation and training examination equipment and practical operation and training examination method
US20160132048A1 (en) * 2014-11-12 2016-05-12 Yokogawa Electric Corporation Process control system and configuration system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030069725A1 (en) * 2001-10-09 2003-04-10 Southern Brian K. Deterministic method of experimental design
RU48420U1 (en) * 2005-04-19 2005-10-10 Оао Акб "Автобанк-Никойл" SYSTEM OF SUPPORT OF STRATEGIC MANAGEMENT OF THE ENTERPRISE
US20150105878A1 (en) * 2012-10-08 2015-04-16 Fisher-Rosemount Systems, Inc. Methods and Apparatus to Provide a Role-Based User Interface
US20160132048A1 (en) * 2014-11-12 2016-05-12 Yokogawa Electric Corporation Process control system and configuration system
CN104900106A (en) * 2015-06-19 2015-09-09 徐州市广联科技有限公司 Hazardous chemical practical operation and training examination equipment and practical operation and training examination method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2749892C1 (en) * 2020-07-16 2021-06-18 Общество с ограниченной ответственностью "Ассоциация инженеров и ученых по водоснабжению и водоотведению" Method for universal hydraulic calculation of non-pressurized drainage networks for surface wastewater
RU2758854C1 (en) * 2020-10-15 2021-11-02 Федеральное государственное казённое военное образовательное учреждение высшего образования "Военная академия материально-технического обеспечения имени генерала армии А.В. Хрулева" Министерства обороны Российской Федерации Method for determining concentration of substances in biological wastewater treatment system
RU2775470C1 (en) * 2021-03-11 2022-07-01 Федеральное государственное казённое военное образовательное учреждение высшего образования "Военная академия материально-технического обеспечения имени генерала армии А.В. Хрулева" Министерства обороны Российской Федерации Method for determining the concentration of recycling sludge in a system for biological waste water treatment

Similar Documents

Publication Publication Date Title
US20230359778A1 (en) Configuration of a digital twin for a building or other facility via bim data extraction and asset register mapping
US11836576B2 (en) Distributed machine learning at edge nodes
EP3623961A1 (en) Predictive modeling with machine learning in data management platforms
CN110622139A (en) Building management system development and control platform
US10310846B2 (en) Automated approach for integrating automated function library functions and algorithms in predictive analytics
US10438502B2 (en) Assessment item generation and scoring
US9977769B2 (en) Assessment item generator
CN109343980B (en) Cloud copying and cloud pasting method, device, system, equipment and storage medium
CN110808855B (en) Internet technology architecture, management method and device, electronic equipment and medium
US11574019B2 (en) Prediction integration for data management platforms
RU2662405C2 (en) Certification documents automatic generation
RU2656687C1 (en) Chemical-technological systems simulation and calculation system and method
CN112860247B (en) Custom generation method, device, equipment and medium of model component
US11282021B2 (en) System and method for implementing a federated forecasting framework
JP7280388B2 (en) Apparatus and method, equipment and medium for implementing a customized artificial intelligence production line
AU2013348307B2 (en) Method and system for providing a net effect platform for developing and correcting screen scraping parser scripts
JP2017126341A (en) Spreadsheet tool manager for collaborative modeling
JP6861880B1 (en) Generation device, generation method and generation program
Sun et al. Understanding generalization of federated learning via stability: Heterogeneity matters
JP5822414B2 (en) General-purpose simulation system using social network interface
KR102437560B1 (en) System and method for design task of architectural decoration
Singh et al. A formative usability study to improve prescriptive systems for bioinformatics big data
TWI680411B (en) Electronic form building system and method
US11449312B2 (en) System and method for executing a process workflow
US20190213003A1 (en) Method, system and software application for developing mobile applications

Legal Events

Date Code Title Description
MM4A The patent is invalid due to non-payment of fees

Effective date: 20190308