# Processes

Mathematical Model Based Proses Control

Mathematical Model Based Process Control (MMBPC) development allows you to mathematically model and associate your processes and equipment and assets within the inSCADA platform with real-time data. In this way, you can build simulation, visualization, and artificial intelligence (AI) control mechanisms on the following elements:

- Power Lines ,
- Electronic Circuits,
- Water Distribution Networks,
- Production, Manufacture Processes,
- All Types of Process P&ID Diagrams.

The MMBPC system is a new approach and the system is not customized for any area (e.g. power lines, water distribution networks). It is designed as an open architecture. You can customize your platform for an area of your choice. You can prepare a special library for mathematical models with symbols related to the equipment such as generators, breakers, circuit breakers for electrical lines.

In order to give a clear answer to this question, we should first examine the classical design and application methods using an example.

Figure 1 : Electrical Single Line Diagram

Consider a simple electrical single-line diagram as shown in Figure 1. Let's try to design an animation (mimic) screen using the visualization techniques of traditional SCADA software of a single line diagram seen in this example.

Figure 2 : Visualisation part of the diagram

As shown in Figure 2, if we want to visualize a part of the diagram in the SCADA software, we need the following variables (Variables / Tags);

- Generator 1 Voltage value : G1_Voltage (if value>0 then G1 energized/running)
- CB1 Open/Close position digital signal : CB1_Open (Open=1,Close=0)

To make a visualization, as in this small example, we need to link GND, B1, CB1, B1, G objects to our variables directly or after passing through a series of logical expressions.

These statements are basically as follows;

Let Generator 1 (G) be lime if it has energy, otherwise red.

// Generator 1 (G1)

if (G1_Voltage>0) {

G1Object.color : 'LIME';

} else {

G1Object.color : 'RED';

}

Let the Circuit Breaker 1 (CB1) object be 'red open position' when open circuit, 'green closed position' when powered closed circuit, 'red closed position' when powerless closed circuit.

// Circuit Breaker 1 (CB1)

if (CB1_Open=1) {

CB1.state:'CB_OPEN_RED';

} else {

if (G1_Voltage>0) {

CB1.state:'CB_OPEN_GREEN';

} else {

CB1.state:'CB_OPEN_RED';

}

}

So far, for this small example, we need to create similar expressions on our basic objects or linked to them on platforms where we develop applications. There may be some slight differences depending on the platform we use.

Although it may seem complete at first glance, we have not yet written any statements for line objects B1 and B2, and we have not yet included the states of other circuit breaker equipment and power supplies (such as G1, Grid) in addition to CB1. Electrically, we can see that the impact of other equipment on this part of our process cannot be ignored. Simply put, we know that when the G2 generator is active and the circuit breakers in front of it are closed, it will affect our line objects B1 and B2. Considering all these dependencies, if we try to write expressions to all line objects, we will have to do a circuit analysis for each line object and write long expressions.

You may have simplified these methods in a traditional SCADA software with different techniques, and you may have found very short solutions on some open architectures. You may even have used SCADA software or third party software solutions for the specific electrical field, even for such electrical applications. Moreover, you may have used some specific SCADA software or other third party software solutions for these types of electrical applications.

However, inSCADA dealt with the solution of similar problems mentioned here with a model-based process control approach and provided solutions. In this way, users have the opportunity to develop on a platform that is much more practical, open architecture that can be customized according to the field.

InSCADA, with a MMBPC approach, treats process equipment and assets as a mathematical function and the functions of these equipment and assets as the mathematical model of the process.

$y=f(x1,x2,x3).
y : Mathematical Model,
x1,x2,x3 : Model paremeters.$

Figure 3 : Visualization part of the diagram

Let us consider the system in Figure 3, which we have previously discussed, with our new approach.

Figure 4 : Mathematical Model-Based Approach

As shown in Figure 4, our new approach focuses only on the equipment and the common points we call BUS. inSCADA MMBPC system requires the mathematical functions of GND, CB1, BUS and G objects/equipment for this exemplary system. It does not deal with objects B1 and B2, as shown again in Figure 4. It considers the connection lines between objects/models as the connections used to transfer parameters.

Now let's design the example application problem, we have given above, in inSCADA.

Figure 5 : inSCADA Proses Designer

In the example of Figure 5, we see the system prepared in inSCADA Process Designer. Process Designer is also explained in detail. Here, while designing our sample single-line circuit in the inSCADA platform, we will briefly mention the tools provided and the parameters requested by inSCADA.

As shown in Figure 5, we carry the model we want to use in our process from our library of mathematical models (A) to our designer screen by drag-and-drop method. On the right side of the selected model (B) in the designer in the middle part, the parameters form (C) opens and requests the parameters related to the selected model. To set up our process, we just need to repeat the same process for other equipment in the same way, as if setting up an electrical circuit.

Proses Designer

Last modified 3yr ago