<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Электронный научно-практический журнал «Современные научные исследования и инновации» &#187; Концевой Сергей Андреевич</title>
	<atom:link href="http://web.snauka.ru/issues/author/serkon157/feed" rel="self" type="application/rss+xml" />
	<link>https://web.snauka.ru</link>
	<description></description>
	<lastBuildDate>Sat, 18 Apr 2026 09:41:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Effective prevention of oxygen corrosion in the heating systems</title>
		<link>https://web.snauka.ru/en/issues/2015/10/58509</link>
		<comments>https://web.snauka.ru/en/issues/2015/10/58509#comments</comments>
		<pubDate>Fri, 23 Oct 2015 19:49:16 +0000</pubDate>
		<dc:creator>Концевой Сергей Андреевич</dc:creator>
				<category><![CDATA[05.00.00 Technical sciences]]></category>
		<category><![CDATA[carbonic mode]]></category>
		<category><![CDATA[oxygen]]></category>
		<category><![CDATA[pH range]]></category>
		<category><![CDATA[pitting steel]]></category>
		<category><![CDATA[reduction catalyst]]></category>
		<category><![CDATA[sodium sulfite]]></category>
		<category><![CDATA[диапазон рН]]></category>
		<category><![CDATA[катализатор восстановления]]></category>
		<category><![CDATA[кислород]]></category>
		<category><![CDATA[сульфит натрия]]></category>
		<category><![CDATA[углекислотный режим]]></category>
		<category><![CDATA[язвенная коррозия]]></category>

		<guid isPermaLink="false">https://web.snauka.ru/?p=58509</guid>
		<description><![CDATA[Sorry, this article is only available in Русский.]]></description>
			<content:encoded><![CDATA[<p>Sorry, this article is only available in <a href="https://web.snauka.ru/issues/author/serkon157/feed">Русский</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://web.snauka.ru/en/issues/2015/10/58509/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unified configuration of Chemical Engineering schemes</title>
		<link>https://web.snauka.ru/en/issues/2016/06/68504</link>
		<comments>https://web.snauka.ru/en/issues/2016/06/68504#comments</comments>
		<pubDate>Thu, 16 Jun 2016 12:54:17 +0000</pubDate>
		<dc:creator>Концевой Сергей Андреевич</dc:creator>
				<category><![CDATA[05.00.00 Technical sciences]]></category>
		<category><![CDATA[chemical technology]]></category>
		<category><![CDATA[configuration of schemes]]></category>
		<category><![CDATA[GraphML]]></category>
		<category><![CDATA[text formats]]></category>
		<category><![CDATA[unified coding]]></category>
		<category><![CDATA[visualization of schemes]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[визуализация схем]]></category>
		<category><![CDATA[конфигурация схем]]></category>
		<category><![CDATA[текстовые форматы]]></category>
		<category><![CDATA[унифицированное кодирование]]></category>
		<category><![CDATA[химическая технология]]></category>

		<guid isPermaLink="false">https://web.snauka.ru/?p=68504</guid>
		<description><![CDATA[Introduction Currently engineers who design and analyze chemical engineering schemes (CES), must be able to create and share databases of developed schemes. Such schemes include their graphical representation and calculated results. However, now most of these schemes exist in some graphical format of the drawing software (AutoCad), which is not integrated, or poorly integrated (via VBA) with a performance of CES calculations. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p style="text-align: justify;">Currently engineers who design and analyze chemical engineering schemes (CES), must be able to create and share databases of developed schemes. Such schemes include their graphical representation and calculated results. However, now most of these schemes exist in some graphical format of the drawing software (AutoCad), which is not integrated, or poorly integrated (via VBA) with a performance of CES calculations. Specialized commercial systems provide such an opportunity based on proprietary formats, but most of them are not designed for computer synthesis based on the non-graphic description of the technological schemes.</p>
<p><strong>Problem formulation</strong></p>
<p style="text-align: justify;">In our opinion, specialized public computer formats are necessary for the effective information exchange between the developers of CES (both public and commercial systems). In this way, the scheme should be objectively presented, regardless of the style and the technical taste of the developer. So, the scheme must be unified. In other words, the scheme, which was made by different people using textual description or non-unified drawing, will look the same, and computer-generated descriptions will be also identical. This identity will not only improve communication between developers but will also make it possible to maintain databases of possible CES configurations.</p>
<p><strong>Analysis of research and publications</strong></p>
<p style="text-align: justify;">Unified ways of presenting different information (graphic, text, numerical) in XML and its derivatives (GraphML) are widely used in modern programs. However, there are no unified ways of CES representation, primarily in configuration aspect. Different experts using a textual description of process steps and their sequence, including recycles and bypasses will draw different schemes realizing the same description. Coding such schemes in the XML format will give identical files, and the more complex the scheme is, the more options of the text description are. Thus, in programs that use XML to describe the calculation schemes (for example, Xcos SciLab), CES parameters will be calculated several times with the same result. Another significant problem is a lack of a single CES representation during expert software development of technology schemes synthesis. The program cannot distinguish between different versions of the same description of the some scheme and different schemes which realize the same problem without the unified approach to the scheme description.</p>
<p style="text-align: justify;">A common rule of advanced calculations, including calculations of chemical and engineering industries, is &#8220;withholding&#8221; of computing procedures through the provision of services by any graphical interface. Also, universal program complexes (Hysys, ChemCAD, etc.) for calculating chemical processes do not provide information about saving the structure of CES. Such closeness raises a number of organizational and technical problems.</p>
<p style="text-align: justify;">After examining a number of publications, initiatives aimed at the unification of the exchange and presentation of CES topology were identified. In particular, it was XMLPlant [1], which used XML. An XML document consists of text characters and is suitable for reading by human and computer processing in order to storage structures. Another program is CAPEOpen [2], which is a standard of data exchange between programs of chemical technology modeling. These initiatives have not got recognition among manufacturers of software systems. There are some software products on the market that allow you to calculate the flows of CES, but all these programs strictly limit data exchange.</p>
<p><strong>Unification of CES presentation</strong></p>
<p>We propose a unified way of CES drawing (Figure 1). It allows creating the table (Table 1) and encoded text descriptions of engineering schemes. Then obtained codes are translated into XML format and are used directly in programs using languages of general or special purpose.</p>
<p>Table 1. Table CES description</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="24"></td>
<td width="179">
<p align="center">A</p>
</td>
<td width="139">
<p align="center">B</p>
</td>
<td width="146">
<p align="center">C</p>
</td>
<td width="127">
<p align="center">D</p>
</td>
</tr>
<tr>
<td width="24">
<p align="center">1</p>
</td>
<td width="179">Initial water</td>
<td width="139">
<p align="center">1st stage of RO</p>
</td>
<td width="146">
<p align="center">2nd stage of RO</p>
</td>
<td width="127">
<p align="center">Desalted water</p>
</td>
</tr>
<tr>
<td width="24">
<p align="center">2</p>
</td>
<td width="179">Concentrate recycling <span>on the 1st stage</span></td>
<td width="139">
<p align="center">Concentrate 1</p>
</td>
<td width="146"></td>
<td width="127"></td>
</tr>
<tr>
<td width="24">
<p align="center">3</p>
</td>
<td width="179">Concentrate recycling <span>on the 2nd stage</span></td>
<td width="139"></td>
<td width="146">
<p align="center">Concentrate 2</p>
</td>
<td width="127"></td>
</tr>
<tr>
<td width="24">
<p align="center">4</p>
</td>
<td width="179">Waste</td>
<td width="139">
<p align="center">Sewage waters <span>on the 1st stage</span></p>
</td>
<td width="146">
<p align="center">Sewage waters <span>on the 2nd stage</span></p>
</td>
<td width="127"></td>
</tr>
</tbody>
</table>
<p>It was an example of a 2-stage reverse osmosis (RO) installation. It shows that there is an opportunity to perform simple text encoding of lines with equipment (capital letters) and without them (lower case letters). Recycling  is described using reverse (in alphabetical order) sequence of letters:</p>
<p><strong>1:aBCd;2:ba;3:ca;4:b2c3.</strong></p>
<p style="text-align: justify;">Upper horizontal processing line (level 1) is the main flow (from the initial substances to the key product). Choice of the main flow is based on different factors, for example, productivity, a number of devices (if the line with the maximum flow rate is not obvious), functionality (in processes of water purification). Choice of the main factor is agreed on beforehand. The sequence of the next levels depends upon the order of the following levels. Lines with equipment are usually higher than lines without it (recycling and bypass).</p>
<p>Proposed way of CES representing does not always use the space of the drawing sheet effectively, but it allows you to get the same drawings and code by experts who use text description or non-unified scheme. In addition, formal scheme control is improved (number of levels for the technology and text encoding). That is important in teaching and for designing critical engineering areas.</p>
<p style="text-align: center;"><a href="https://web.snauka.ru/issues/2016/06/68504/fig1-4" rel="attachment wp-att-68505"><img class="alignnone size-full wp-image-68505" src="https://web.snauka.ru/wp-content/uploads/2016/06/fig11.jpg" alt="" width="406" height="266" /></a></p>
<p style="text-align: center;">Figure 1 &#8211; Two-stage RO installation scheme with partial concentrate recycling (Excel editor).</p>
<p><strong>XML</strong><strong> based configuration of CES</strong></p>
<p>There is software for a unified representation of CES. Those programs can use CES for analyzing and choosing the best configuration after performing some calculations.</p>
<p style="text-align: justify;">It is recommended to use yEd as the best editor to realize such an idea. This editor has worked well on all popular platforms and has algorithms for automatic visualization of the arbitrary graph structure. In addition, the editor stores information in GraphML format (based on XML), and that allows performing the calculation of a scheme using information about its configuration.</p>
<p>For example, Figure 2 shows the scheme of RO installation, that was created in yEd.</p>
<p style="text-align: justify;">The used tool gives the opportunity not only to set the topology of the water consumption scheme but also to set the parameters of the devices and streams that will be saved along with the configuration of the scheme (in XML file). In the illustrated example such parameters are flowrate and composition of the input streams for the 1st and the 2nd stages of water treatment.</p>
<p style="text-align: center;"><a href="https://web.snauka.ru/issues/2016/06/68504/fig2-4" rel="attachment wp-att-68506"><img class="alignnone size-full wp-image-68506" src="https://web.snauka.ru/wp-content/uploads/2016/06/fig21.jpg" alt="" width="337" height="204" /></a></p>
<p style="text-align: center;">Figure 2 &#8211; Two-stage RO installation scheme with partial concentrate recycling (yEd editor).</p>
<p>Shortened recording of the scheme (XML-file fragment describes one of the graph edges) is as follows:</p>
<p>&lt;edge id = &#8220;e0&#8243; source = &#8220;n0&#8243; target = &#8220;n2&#8243;&gt;</p>
<p>&lt;data key = &#8220;d10&#8243;&gt;</p>
<p>&lt;y: ArcEdge&gt;</p>
<p>&lt;y: Path sx = &#8220;0.0&#8243; sy = &#8220;0.0&#8243; tx = &#8220;0.0&#8243; ty = &#8220;0.0&#8243;&gt;</p>
<p>&lt;y: Point x = &#8220;85.0&#8243; y = &#8220;112.0&#8243; /&gt;</p>
<p>&lt;/ y: Path&gt;</p>
<p>&lt;y: LineStyle color = &#8220;# 000000&#8243; type = &#8220;line&#8221; width = &#8220;1.0&#8243; /&gt;</p>
<p>&lt;y: Arrows source = &#8220;none&#8221; target = &#8220;standard&#8221; /&gt;</p>
<p>&lt;y: Arc height = &#8220;0.0&#8243; ratio = &#8220;0.0&#8243; type = &#8220;fixedRatio&#8221; /&gt;</p>
<p>&lt;/ y: ArcEdge&gt;</p>
<p>&lt;/ data&gt;</p>
<p>&lt;/ edge&gt;</p>
<p>It could be seen that topology and visualization data are partially mixed. It is not essential in further scheme calculation using programs because the structure of XML format allows you to choose data that you need for a particular application.</p>
<p style="text-align: justify;">XSLT technology can be used in order to create automatically a unique index which will identify the scheme. XSLT (eXtensible Stylesheet Language Transformations) – is a language of XML-documents transformation. XSLT specification is a part of XSL and is recommended by W3C.</p>
<p><strong>Graph format based description       </strong></p>
<p>The proposed approach to coding CES has a disadvantage. It is redundant information for the specialist in the subject area. On the other hand, table-based representation does not use paper space efficiently when drawing.</p>
<p style="text-align: justify;">Currently used text formats for coding graphs don’t have the first disadvantage. Special programs (for example, free GraphViz and yEd) have a variety of options for displaying a predetermined configuration. That optimizes the space of the sheet to display the scheme and overcomes the disadvantages of a table view.</p>
<p>The are two graph formats: TGF (Trivial Graph Format) and DOT (extension .gv or .dot). DOT format (GraphViz) is not suitable for yEd, but you can convert DOT into GraphML to run it in yEd.</p>
<p>Explicit representation of a mixer and a separator in a directed graph is used in order to represent a single-stage scheme of RO installation in DOT-format (undirected &#8211; graph):</p>
<p>digraph osmos1 {</p>
<p>&#8220;mixer&#8221; -&gt; &#8220;membrane&#8221; -&gt; &#8220;permeate tank&#8221;;</p>
<p>&#8220;membrane&#8221; -&gt; &#8220;separator&#8221; -&gt; &#8220;mixer&#8221;; // concentrate recycling</p>
<p>&#8220;Separator&#8221; -&gt; &#8220;sewage tank&#8221;;</p>
<p>}</p>
<p style="text-align: justify;">The sequence of relation descriptions in a graph is not important. For example, if you put the line with concentrate recycling at the third line and not at the second one, then the graph will be displayed by the identical manner according to the display style. However, textual representations of the two options (after converting a text file into a string) will be different when using computer functions of line comparison. Consequently, the proposed unification of CES representation (sequence of scheme levels) remains relevant for the described formats, since it provides an unambiguous identification of schemes with horizontal encoding.</p>
<p><strong>Conclusions</strong></p>
<p>Thus, the use of the proposed approach is useful for synthesis, calculations and analysis of any chemical and engineering schemes. The format of technological schemes based on tables, graph formats, XML (GraphML) and related information technologies will reliably verify the schemes and provide access to their extensive reciprocal exchange, including commercial basis.</p>
<p>Further calculations using data on the scheme configuration and its parameters can be implemented on general-purpose languages (Python, VBA), as well as in specialized mathematical programs (SciLab, MatLab).</p>
]]></content:encoded>
			<wfw:commentRss>https://web.snauka.ru/en/issues/2016/06/68504/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(Русский) Определение констант реакций сложных химических процессов в нейросетевой среде</title>
		<link>https://web.snauka.ru/en/issues/2017/05/82572</link>
		<comments>https://web.snauka.ru/en/issues/2017/05/82572#comments</comments>
		<pubDate>Tue, 30 May 2017 06:08:55 +0000</pubDate>
		<dc:creator>Концевой Сергей Андреевич</dc:creator>
				<category><![CDATA[05.00.00 Technical sciences]]></category>
		<category><![CDATA[kinetics]]></category>
		<category><![CDATA[neural network]]></category>
		<category><![CDATA[RATE CONSTANTS]]></category>
		<category><![CDATA[TRAINING METHOD]]></category>
		<category><![CDATA[кинетика]]></category>
		<category><![CDATA[КОНСТАНТЫ СКОРОСТИ]]></category>
		<category><![CDATA[методика обучения]]></category>
		<category><![CDATA[нейронная сеть]]></category>

		<guid isPermaLink="false">https://web.snauka.ru/?p=82572</guid>
		<description><![CDATA[Sorry, this article is only available in Русский.]]></description>
			<content:encoded><![CDATA[<p>Sorry, this article is only available in <a href="https://web.snauka.ru/issues/author/serkon157/feed">Русский</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://web.snauka.ru/en/issues/2017/05/82572/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Functional calculation of process flows&#8217; parameters in spreadsheets</title>
		<link>https://web.snauka.ru/en/issues/2018/05/86532</link>
		<comments>https://web.snauka.ru/en/issues/2018/05/86532#comments</comments>
		<pubDate>Tue, 29 May 2018 06:06:38 +0000</pubDate>
		<dc:creator>Концевой Сергей Андреевич</dc:creator>
				<category><![CDATA[05.00.00 Technical sciences]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[chemical technology]]></category>
		<category><![CDATA[flow rate]]></category>
		<category><![CDATA[functional approach]]></category>
		<category><![CDATA[reactive calculations]]></category>
		<category><![CDATA[reverse osmosis installation]]></category>
		<category><![CDATA[TDS of water]]></category>
		<category><![CDATA[VBA functions]]></category>

		<guid isPermaLink="false">https://web.snauka.ru/?p=86532</guid>
		<description><![CDATA[Calculation of any chemical-technological scheme is an obligatory element both in the analysis of existing schemes and while the synthesis of new ones. At present, there is no single approach for calculating schemes of any complexity level. The complexity of chemical technologies is determined both by the number of structural elements (devices) and the presence [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Calculation of any chemical-technological scheme is an obligatory element both in the analysis of existing schemes and while the synthesis of new ones. At present, there is no single approach for calculating schemes of any complexity level. The complexity of chemical technologies is determined both by the number of structural elements (devices) and the presence of recycles of technological flows.</p>
<p style="text-align: justify;">Such types of complexity were characteristic of the pre-computer era, and at the present time, neither a large number of elements in the scheme nor the presence of recyclings is a serious obstacle to the calculation of the parameters of technological schemes. Therefore, consider these &#8220;problems&#8221; in general and on specific examples.</p>
<p style="text-align: justify;"><strong>Apparatus as a function</strong><br />
The most actively functional approach [1] is used in modern programming languages (Erlang, Haskell, Clojure, Scala&#8230;). A characteristic feature of this approach is the use of functions as &#8220;black boxes&#8221;. This means that the internal logic of the functions is hidden from the environment, and the interaction between them is carried out through their inputs and outputs. That is, the outputs of some functions (the results of their calculation) are inputs (parameters) of other functions.<br />
In the same sense, we can also consider apparatuses in chemical-technological schemes, since this corresponds to the actual state in them. Each device interacts with the other only by taking and giving out streams of matter passing through them.</p>
<p style="text-align: justify;">The peculiarity of the proposed solution is the use of the non-functional programming language VBA in the programming environment of Excel which is reactive [2] in the sense that any changes in the values in the cells result in automatic recalculation of all dependent cells. In this environment, any VBA functions interact with each other through the I / O cells of the Excel sheet and in no other way. In fact, the ability to define user-defined functions in VBA is sufficient to implement the proposed approach. That is, any programming language that supports the definition of functions can be used. The second important feature of the proposed programming environment is the possibility of implementing iterative calculations, which avoids programming cycles in the VBA language by hand.</p>
<p>Another important feature of the calculation&#8217;s organization on the Excel sheet is its visibility. Excel sheet allows displaying the technological scheme in the usual way on it, while in the place of the displayed devices will be placed calls of the corresponding functions. The result of such a calculations&#8217; organization will be a &#8220;live&#8221; scheme where changing the input parameters leads to a change in all output parameters.</p>
<p style="text-align: justify;"><strong>Calculation of the reverse osmosis installation</strong><br />
As it was mentioned above, all apparatuses in chemical technology are divided into three types (and their combinations) from the point of view of calculations based on the material balance [3].<br />
To illustrate the basics of the proposed approach presented the reverse osmosis (RO) unit with concentrate recycling that is selected since it consists of just these three variants and one of their combinations. The membrane is a reactor and a splitter at the same time: water desalination occurs in it and the input stream is divided into two: permeate and concentrate. The splitter separates the concentrate stream into recycling and sewage, and the mixer mixes the recycle stream with the raw water and feeds this mixture to the inlet of the membrane.</p>
<p><a href="https://web.snauka.ru/issues/2018/05/86532/fig1-7" rel="attachment wp-att-86584"><img class="aligncenter size-full wp-image-86584" src="https://web.snauka.ru/wp-content/uploads/2018/05/fig1.jpg" alt="" width="537" height="341" /></a></p>
<p style="text-align: center;">Figure 1. Scheme of the single-stage RO unit with concentrate recycling</p>
<p style="text-align: justify;">The main objective of this calculation is to determine the allowable degree of recycling (Xr), which is defined as the ratio of the recycling flow (Gr) to the concentrate flow after the membrane (Gk). It is known that exceeding the permissible level of recycling leads to the formation of deposits on the surface of the membrane. The parameters Xr and Gk are the input parameters of the splitter and the corresponding function (fig. 2), and the recycle flow and sewage flow rates (Gs) are the output parameters (the results of the function calculation). Obviously, TDS (total dissolved solids) of water does not change on the splitter and therefore this parameter does not use for this function.</p>
<p style="text-align: justify;">Equations for the function of the mixer are derived from the material balances of water flows and the flow rate of dissolved solids per hour. The input parameters are the water&#8217;s flow rate and TDS of the recycling water, and the flow rate of raw water and water at the outlet are the output parameters for the mixer (Gv). The output parameters are the flow of the raw water (Gi) and TDS of water at the outlet from the mixer.<br />
It should be noted that physically the input parameter Gi became the output parameter for the function due to its dependence on the recycle flow rate since the flow rate at the outlet from the mixer is a constant and is determined by the performance of the membrane. For example, a reduction of the recycling rate (Xr) results in a reduction of the recycle flow, which will lead to an increase in the flow of raw water while the water flow rate at the outlet from the mixer will remain constant.</p>
<p>When organizing the calculations of the membrane, all the principles of material balances for water flow rates and water&#8217;s TDS (in form G*TDS) are taken into account. In addition, the parameters of the membrane itself are used &#8211; the permeate output (Xp) and the water desalination degree (Xd).</p>
<p>The functions developed in VBA are shown in Figure 2.</p>
<p><a href="https://web.snauka.ru/issues/2018/05/86532/znimok_2018_05_24_12_29_43_408" rel="attachment wp-att-86572"><img class="aligncenter size-full wp-image-86572" src="https://web.snauka.ru/wp-content/uploads/2018/05/Znimok_2018_05_24_12_29_43_408.png" alt="" width="857" height="521" /></a></p>
<p style="text-align: center;"> Figure 2. The  VBA functions</p>
<p>Note that to get access to user-defined functions via the standard menu, one have to place them in a module that is not present in the spreadsheet by default.</p>
<p><strong>Assembling the functions in Excel</strong></p>
<p style="text-align: justify;">The assembly of functions on the Excel sheet with the recycling scheme can begin with any element, but we started with the membrane, continued with the separator and ended with a mixer (fig. 3).  Note that after displaying one calculation result for the used functions with 2 or more results, it is necessary to select (from left to right) the number of cells equal to the number of return values, then press the F2 key, and then simultaneously press the Ctrl, Shift and Enter keys.</p>
<p><a href="https://web.snauka.ru/issues/2018/05/86532/znimok_2018_05_24_12_04_20_687" rel="attachment wp-att-86573"><img class="aligncenter size-full wp-image-86573" src="https://web.snauka.ru/wp-content/uploads/2018/05/Znimok_2018_05_24_12_04_20_687.png" alt="" width="768" height="640" /></a></p>
<p style="text-align: center;">Figure 3. Embedding a custom function in Excel</p>
<p>To start the calculation of the membrane, an initial approximation is necessary for the value of the water inlet TDS. At the end of the assembly, this value will be replaced by the calculated value from the function of the mixer. To use the iterative capabilities in Excel, one must enable the appropriate setting in the calculation parameters.</p>
<p style="text-align: center;"><a href="https://web.snauka.ru/issues/2018/05/86532/1stag3" rel="attachment wp-att-86583"><img class="aligncenter size-full wp-image-86583" src="https://web.snauka.ru/wp-content/uploads/2018/05/1Stag3.png" alt="" width="757" height="311" /></a>Figure 4.  Results of calculation of single-stage installation</p>
<p style="text-align: justify;"><span style="text-align: justify;">An interesting feature of such calculations in Excel is the loss of calculated values after opening a saved file (fig. 5). </span></p>
<p><a href="https://web.snauka.ru/issues/2018/05/86532/znimok_2018_05_24_23_43_59_608" rel="attachment wp-att-86574"><img class="aligncenter size-full wp-image-86574" src="https://web.snauka.ru/wp-content/uploads/2018/05/Znimok_2018_05_24_23_43_59_608.png" alt="" width="741" height="290" /></a></p>
<p style="text-align: center;"> Figure 5. The loss of calculated values after opening a saved file</p>
<p style="text-align: justify;">To fix this error, one must delete one of the functions (not always obvious which one), and undo this action (fig.6 and fig.7).</p>
<p><a href="https://web.snauka.ru/issues/2018/05/86532/znimok_2018_05_24_23_44_50_793" rel="attachment wp-att-86575"><img class="aligncenter size-full wp-image-86575" src="https://web.snauka.ru/wp-content/uploads/2018/05/Znimok_2018_05_24_23_44_50_793.png" alt="" width="741" height="290" /></a></p>
<p style="text-align: center;">Figure 6.  Deleting one of the functions</p>
<p>&nbsp;</p>
<p><a href="https://web.snauka.ru/issues/2018/05/86532/znimok_2018_05_24_23_46_09_60" rel="attachment wp-att-86577"><img class="aligncenter size-full wp-image-86577" src="https://web.snauka.ru/wp-content/uploads/2018/05/Znimok_2018_05_24_23_46_09_60.png" alt="" width="741" height="356" /></a></p>
<p style="text-align: center;">Figure 7. Undoing delete action</p>
<p style="text-align: justify;">To check the performed calculations, it is necessary to use the &#8220;big black box&#8221; principle, which allows estimating the flow rate at the input and output from the installation without taking into account the processes occurring inside the scheme. If these values do not match, then when making calculations, errors are made. The discrepancy between the input and output of the unit is less than 0.1% (1 g/hour from 540 g/hour), which indicates the correctness of the calculations performed.</p>
<p><strong>Extending the calculation to a 2-stage RO scheme with recycling</strong></p>
<p style="text-align: justify;">Extending the calculation to a 2-stage scheme involves developing the function of the 2nd mixer (fig. 2) and using the same splitter and membrane functions, but with different input parameters (fig. 8). Obviously, for the second membrane, the input parameters will be the output parameters of the first one. The second mixer is &#8220;normal&#8221; in the sense that the parameters of its inputs (recycles after the 1st and 2nd splitter) are known, and the output parameters are calculated .</p>
<p><a href="https://web.snauka.ru/issues/2018/05/86532/2stage1" rel="attachment wp-att-86580"><img class="aligncenter size-full wp-image-86580" src="https://web.snauka.ru/wp-content/uploads/2018/05/2stage1.png" alt="" width="936" height="555" /></a></p>
<p style="text-align: center;"> Figure 8. Embedding additional custom functions</p>
<p> <span style="text-align: justify;">At the end of the calculation&#8217;s assembly, it is necessary to change the input parameters of the first mixer, the second input of which takes a mixture of two recycles instead of one (fig. 9). It should be noted that in practice the second recycle is usually not used in this way.</span></p>
<p>&nbsp;</p>
<p style="text-align: center;"><a href="https://web.snauka.ru/issues/2018/05/86532/2stage2" rel="attachment wp-att-86582"><img class="aligncenter size-full wp-image-86582" src="https://web.snauka.ru/wp-content/uploads/2018/05/2stage2.png" alt="" width="897" height="363" /></a>Figure 9.  Changing the input parameters of the first mixer</p>
<p style="text-align: justify;">The discrepancy between the input and output of the unit is less than 1% (3 g/hour from 350 g/hour), which indicates the correctness of the calculations performed.</p>
<p style="text-align: justify;">It seems natural that by expanded the calculation scheme once it is possible to do this as many times as necessary with the same functions or with others.</p>
<p><strong>Conclusions</strong></p>
<p style="text-align: justify;">A simple technique for calculating the parameters of technological processes of any complexity level is presented. For its implementation, the elementary knowledge of VBA language is required at the level of the organization of calculations of three types of apparatus and their combinations in user functions. The calculation of schemes with recycling flows requires the iteration possibility of Excel.<br />
Such calculations lead to some easily solved problems associated with loss of calculation values after opening a saved file. At the same time, visualization of connections between functions on the Excel sheet, simplifies the organization of calculations, especially for beginners.<br />
An important feature of the proposed approach is the possibility of independent creation of functions library by different developers. This is due to the functional approach applied with VBA in Excel environment, which ensures the reactivity of the calculations.</p>
]]></content:encoded>
			<wfw:commentRss>https://web.snauka.ru/en/issues/2018/05/86532/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An approximation for non-linear dependencies in spreadsheets</title>
		<link>https://web.snauka.ru/en/issues/2018/06/87030</link>
		<comments>https://web.snauka.ru/en/issues/2018/06/87030#comments</comments>
		<pubDate>Tue, 26 Jun 2018 11:47:58 +0000</pubDate>
		<dc:creator>Концевой Сергей Андреевич</dc:creator>
				<category><![CDATA[05.00.00 Technical sciences]]></category>
		<category><![CDATA["Cheating" the function]]></category>
		<category><![CDATA[approximation function]]></category>
		<category><![CDATA[data processing]]></category>
		<category><![CDATA[Libre Office]]></category>
		<category><![CDATA[LINEST]]></category>
		<category><![CDATA[nonlinear dependencies]]></category>

		<guid isPermaLink="false">https://web.snauka.ru/?p=87030</guid>
		<description><![CDATA[In various scientific studies, there are typical components that are characteristic for different stages. At the stage of processing the experimental data, such steps are the approximation of the experimental data obtained, an assessment of the adequacy of the model obtained and its use to determine the optimal or rational parameters of the process under [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;" dir="ltr">In various scientific studies, there are typical components that are characteristic for different stages. At the stage of processing the experimental data, such steps are the approximation of the experimental data obtained, an assessment of the adequacy of the model obtained and its use to determine the optimal or rational parameters of the process under study. In this article, the first stage is considered and a way of using the linearization function to obtain any nonlinear dependencies is described.</p>
<p dir="ltr"><strong>A common use of the LINEST function</strong></p>
<p style="text-align: justify;" dir="ltr">To solve this problem, the built-in function &#8220;ЛИНЕЙН&#8221; (LINEST) is used, the possibilities of which are given in Excel&#8217;s help or in books [1]. Usually, this function is used to obtain linear dependencies from one or more parameters. To use it for nonlinear dependencies, such initial data are preliminarily linearized by logarithm. An example in chemistry is the processing of kinetic data to obtain values of the order of reaction, rate constants, and activation energy.</p>
<p style="text-align: justify;" dir="ltr">However, not always linearization using logarithm leads to the desired result and therefore the standard use of the LINEST function is not applicable. The solution is the &#8220;deception&#8221; of this function, in which a non-linear relationship is organized on a sheet of the spreadsheet in the required format. It should be noted that the choice of the initial non-linear dependence (power series, exponential or any other) is made by the user. That is, the accuracy of the obtained approximation will depend not on the LINEST function, but on the chosen nonlinear dependence format.</p>
<p style="text-align: justify;" dir="ltr">Let&#8217;s consider the given approach on a concrete example of approximation of dependence of function on two and three parameters: degree of oxidation in a chemical reaction from the concentration of a reagent and time of contact. We first estimate the accuracy of a simple linear approximation for these data (fig. 1).</p>
<p dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87030/star0" rel="attachment wp-att-87093"><img class="aligncenter size-full wp-image-87093" src="https://web.snauka.ru/wp-content/uploads/2018/06/Star0.png" alt="" width="706" height="492" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 1. Data processing with LINEST function</p>
<p style="text-align: justify;" dir="ltr">The results of the study were obtained on the basis of a previously designed experiment [2] on the effect of temperature and concentration on the degree of conversion. Naturally, any set of data can be approximated provided that such data is sufficient to determine the unknown regression coefficients.</p>
<p style="text-align: justify;" dir="ltr">The results of a simple linear approximation (fig. 1) indicate a complete coincidence of calculations based on natural (regression coefficients <em>bi</em>) and coded (regression coefficients <em>ai</em>) parameters. Relative deviations are up to 3 percent in the main. However, the 2nd point with a slight absolute deviation gives 27% of the relative deviation.</p>
<p dir="ltr"><strong>&#8220;Cheating&#8221; the Function</strong></p>
<p style="text-align: justify;" dir="ltr"><strong></strong>The basis of the proposed approach is the deception of the LINEST function, in which a non-linear dependency is formatted for use with a function that processes linear dependencies. Figure 2 shows the results of calculations for a nonlinear second-order model with natural parameters. The level of relative error is 0.01-0.04%.</p>
<p dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87030/star1" rel="attachment wp-att-87094"><img class="aligncenter size-full wp-image-87094" src="https://web.snauka.ru/wp-content/uploads/2018/06/Star1.png" alt="" width="708" height="438" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 2. &#8220;Cheating&#8221;  the LINEST function</p>
<p dir="ltr">It should be noted that the LINEST function returns the regression coefficients in the reverse order. To obtain these coefficients, one need to use the procedure &#8220;select, F2, Ctrl-Shift-Enter&#8221; [3]. Interestingly, the Calc program in LibreOffice displays the results of the function with several results without additional user actions (fig. 3)</p>
<p> <a href="https://web.snauka.ru/issues/2018/06/87030/lo1" rel="attachment wp-att-87098"><img class="aligncenter size-full wp-image-87098" src="https://web.snauka.ru/wp-content/uploads/2018/06/LO1.png" alt="" width="721" height="419" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 3. &#8220;Cheating&#8221;  the LINEST function in Libre Office without &#8221;select, F2, Ctrl-Shift-Enter&#8221; action</p>
<p dir="ltr"><strong>Application to a function of three variables</strong></p>
<p dir="ltr">Let us consider the results of approximation for a variant with three parameters. The same trend with respect to the accuracy of simple linear (fig. 4) and non-linear approximations (fig. 5) is retained for this variant.</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87030/konts1-2" rel="attachment wp-att-87090"><img class="aligncenter" src="https://web.snauka.ru/wp-content/uploads/2018/06/konts1.png" alt="" width="497" height="420" /></a>Figure 4 - The usual application of the function</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87030/konts2-2" rel="attachment wp-att-87092"><img class="aligncenter" src="https://web.snauka.ru/wp-content/uploads/2018/06/konts2.png" alt="" width="1055" height="419" /></a>Figure 5. The unusual application of the function</p>
<p dir="ltr">It&#8217;s obvious that the inaccuracy of simple approximation increases and the accuracy of nonlinear approximation remains at a very good level.</p>
<p dir="ltr"><strong>Conclusions</strong></p>
<p style="text-align: justify;" dir="ltr">The presented approach to the treatment of experimental data has been used for many years at the Authors&#8217; Department in KPI. In addition to solving actual problems in the processing of experimental data, this approach is of pedagogical interest as an example of a non-standard solution based on the well-known. It should be noted that neither the Excel Help nor the excellent book by John Walkenbach considers such application of the LINEST function for data processing.</p>
]]></content:encoded>
			<wfw:commentRss>https://web.snauka.ru/en/issues/2018/06/87030/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick start in the development of expert systems</title>
		<link>https://web.snauka.ru/en/issues/2018/06/87078</link>
		<comments>https://web.snauka.ru/en/issues/2018/06/87078#comments</comments>
		<pubDate>Tue, 26 Jun 2018 11:48:01 +0000</pubDate>
		<dc:creator>Концевой Сергей Андреевич</dc:creator>
				<category><![CDATA[05.00.00 Technical sciences]]></category>
		<category><![CDATA[designing]]></category>
		<category><![CDATA[Drakon]]></category>
		<category><![CDATA[expert systems]]></category>
		<category><![CDATA[in-depth learning]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[quick learning]]></category>

		<guid isPermaLink="false">https://web.snauka.ru/?p=87078</guid>
		<description><![CDATA[The experience of teaching for more than 10 years has convinced me that the skill to ask questions on the learning topic is practically absent of most students. An absence of questions from students indicates that there is not a deep study of any subject (chemistry, technology, foreign language &#8230;). The founder of the Khan [...]]]></description>
			<content:encoded><![CDATA[<p dir="ltr">The experience of teaching for more than 10 years has convinced me that the skill to ask questions on the learning topic is practically absent of most students. An absence of questions from students indicates that there is not a deep study of any subject (chemistry, technology, foreign language &#8230;). The founder of the Khan Academy [1] very accurately expresses the negative consequences of not deep studying the topic, referring to the need for in-depth study as the only way to actually learn something.</p>
<p dir="ltr">In this regard, the approach in the study of almost any subject looks promising through the creation of expert systems and models in the field under study. It is quite obvious that when developing an expert system, the developer must understand this subject, and in the development process the level of understanding of this area inevitably increases due to interaction with the already operating part of the system. The previous article [2] is devoted to mathematical modeling, a simple technique for developing expert systems in the visual programming language Drakon [3] is considered in this work.</p>
<p dir="ltr"><strong>Quick start with the Drakon &#8211; 1 step</strong></p>
<p dir="ltr">It is known that the first steps in any new business are the most difficult. The designing of expert systems is quite complex, although in fact, the development of such systems is based on the ability of any person to ask questions and answer them (although not always correctly). Teaching this subject for more than 5 years in the KPI, I used other approaches to the creation of expert systems (CLIPS, decision tables), but the solution based on the Drakon seems to be the best for beginners because of the rapid entry into the topic based on just two steps.</p>
<p dir="ltr">The first step is based on using the Drakon Editor [4] to solve a simple task (displaying a string on the monitor on condition its length is permissible), an example of which is shown on the program&#8217;s website, and the code is generated for the Python language (fig. 1). After that, the code is run offline (in IDLE for example) or online (repl.it). At this stage, the whole cycle of work with the Drakon is mastered: drawing a block of the circuit, automatically checking it, and generating the code in the chosen programming language, executing the code in the appropriate environment.</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87078/drakon1-2" rel="attachment wp-att-87083"><img src="https://web.snauka.ru/wp-content/uploads/2018/06/Drakon1-2.png" alt="" width="612" height="518" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 1. The example from the Drakon Editor website</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87078/drakon3" rel="attachment wp-att-87081"><img src="https://web.snauka.ru/wp-content/uploads/2018/06/Drakon3.png" alt="" width="797" height="368" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 2. The generated code on Python 3.6</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87078/drakon4" rel="attachment wp-att-87082"><img src="https://web.snauka.ru/wp-content/uploads/2018/06/Drakon4.png" alt="" width="785" height="243" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 3. Running the code on the site repl.it</p>
<p dir="ltr">To understand the features of working with Drakon, my students are given the task of generating code for the same task for JavaScript language, and to launch the code in the browser. At the same time, the block diagram is not altered, but only 2 functions in the diagram blocks are changed: the output of data to the monitor (from print to alert) and the function of the string&#8217;s length (from len(string) to string.length).</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87078/drakonjs" rel="attachment wp-att-87084"><img src="https://web.snauka.ru/wp-content/uploads/2018/06/DrakonJS.png" alt="" width="792" height="343" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 4. Running the JavaScript code in the browser</p>
<p dir="ltr">The automatic generation of program code without changing the visual scheme for almost any procedural languages makes the use of Drakon so universal. Of course, within of solving such a simple task, one can not evaluate all the possibilities of the Drakon, but it allows one to quickly learn the procedure for using the Drakon with different programming languages.</p>
<p dir="ltr"><strong>The expert system of a Trip by bus &#8211; 2 step</strong></p>
<p dir="ltr">In the book of the Drakon language author&#8217;s [5], there is a trip algorithm already on 21 page that is not associated with a specific programming language (fig. 5). It is interesting that this example already gives all the necessary information about the creation of any small expert system. Adaptation of this algorithm for Python (fig. 6, 7) requires only two input and output operators and allows estimating the difference between the generated code (see the figure) and the source diagram (see the figure) in sens of plainness for a reader of an algorithm.</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87078/drakon2" rel="attachment wp-att-87085"><img src="https://web.snauka.ru/wp-content/uploads/2018/06/Drakon2.png" alt="" width="790" height="558" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 5. The algorithm of a trip by bus</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87078/de1" rel="attachment wp-att-87086"><img src="https://web.snauka.ru/wp-content/uploads/2018/06/DE1.png" alt="" width="1281" height="867" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 6.  The adaptation of the algorithm, part 1</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87078/de2" rel="attachment wp-att-87087"><img src="https://web.snauka.ru/wp-content/uploads/2018/06/DE2.png" alt="" width="1669" height="825" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 7. The adaptation of the algorithm, part 2</p>
<p dir="ltr">The difference between the second and the first diagrams is the appearance of a structure for the organization of the cycle, which in combination with the conditional operator (presents in both diagrams) is a necessary condition for the development of an expert system.</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87078/py2" rel="attachment wp-att-87088"><img src="https://web.snauka.ru/wp-content/uploads/2018/06/Py2.png" alt="" width="742" height="1033" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 8. The generated code on Python 2.7</p>
<p style="text-align: center;" dir="ltr"><a href="https://web.snauka.ru/issues/2018/06/87078/py3" rel="attachment wp-att-87089"><img src="https://web.snauka.ru/wp-content/uploads/2018/06/Py3.png" alt="" width="553" height="660" /></a></p>
<p style="text-align: center;" dir="ltr">Figure 9. Running the code in IDLE</p>
<p dir="ltr">Running the generated program in Python allows one to evaluate the correctness of the algorithm from the perspective of an expert, which is any user of public transport.</p>
<p dir="ltr">It is important that for the large expert systems the approach remains the same, but the final project will consist of several diagrams and the functions generated from them that interact with each other.</p>
<p dir="ltr"><strong>Conclusions</strong></p>
<p dir="ltr">In this article is presented an approach to rapid learning in the development of expert systems based on the visual Drakon language in the programming environment of the Drakon Editor, as well as the launch of automatically generated code in the Python language for interactive evaluation of the developed algorithm. This approach consists of only two steps (developed diagrams on the Drakon) and allows students to design their own expert systems for the studied subjects. The ability to adapt the diagrams on the Drakon to a variety of programming languages without changing the visual part (actually the algorithm) makes it possible to widely use this approach for various real-world problems, for example in web programming using JavaScript, Java, and PHP languages.</p>
<p dir="ltr">Essentially, computer&#8217;s training by creating an expert system is very different from human learning, since an incomplete description of the problem or its inadequate solution almost immediately (quite often) becomes apparent in the testing of the program even for a not very competent developer. Of course, for the final evaluation of the developed system, an expert will be needed: a teacher at the training stage or the customer after study.</p>
]]></content:encoded>
			<wfw:commentRss>https://web.snauka.ru/en/issues/2018/06/87078/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
