Next Article in Journal
Optimal Non-Convex Combined Heat and Power Economic Dispatch via Improved Artificial Bee Colony Algorithm
Next Article in Special Issue
Multivariate Six Sigma: A Case Study in Industry 4.0
Previous Article in Journal
Pharmacological Properties and Chemical Profiles of Passiflora foetida L. Extracts: Novel Insights for Pharmaceuticals and Nutraceuticals
Previous Article in Special Issue
Automatic Implementation of a Self-Adaption Non-Intrusive Load Monitoring Method Based on the Convolutional Neural Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modeling of Spiral Wound Membranes for Gas Separations—Part II: Data Reconciliation for Online Monitoring

by
Diego Queiroz Faria de Menezes
1,*,
Marília Caroline Cavalcante de Sá
1,
Tahyná Barbalho Fontoura
1,
Thiago Koichi Anzai
2,
Fabio Cesar Diehl
2,
Pedro Henrique Thompson
2 and
Jose Carlos Pinto
1
1
Programa de Engenharia Química/COPPE, Universidade Federal do Rio de Janeiro, Rio de Janeiro CEP 21941-972, RJ, Brazil
2
Centro de Pesquisas Leopoldo Américo Miguez de Mello—CENPES, Petrobras—Petróleo Brasileiro SA, Rio de Janeiro CEP 21941-915, RJ, Brazil
*
Author to whom correspondence should be addressed.
Processes 2020, 8(9), 1035; https://doi.org/10.3390/pr8091035
Submission received: 24 July 2020 / Revised: 10 August 2020 / Accepted: 19 August 2020 / Published: 25 August 2020
(This article belongs to the Special Issue Advanced Process Monitoring for Industry 4.0)

Abstract

:
The present work presents a methodology based on data reconciliation to monitor membrane separation processes reliably, online and in real time for the first time. The proposed methodology was implemented in accordance with the following steps: data acquisition; data pre-treatment; data characterization; data reconciliation; gross error detection; and critical evaluation of measured data with a soft sensor. The acquisition of data constituted the slowest stage of the monitoring process, as expected in real-time applications. The pre-treatment stage was fundamental to assure the robustness of the code and the initial characterization of collected data was carried out offline. The characterization of the data showed that steady-state modeling of the process would be appropriate, also allowing the implementation of faster numerical procedures for the data reconciliation step. The data reconciliation step performed well, quickly and consistently. Thus, data reconciliation allowed the estimation of unmeasured variables, playing the role of a soft sensor and allowing the future installation of a digital twin. Additionally, monitoring of measurement bias constituted a tool for measurement diagnosis. As shown in the manuscript, the proposed methodology can be successfully implemented online and in real time for monitoring of membrane separation processes, as shown through a real dashboard web application developed for monitoring of an actual industrial site.

1. Introduction

A common problem in oil production is the excess of CO 2 gas present in natural gas streams. The first and most notorious issue is related to the emission of this gas into the environment. However, in addition to the possible environmental problems, the excess of CO 2 in oil streams can cause problems in the process plant, such as freezing due to pressure drop in compression and cooling sections of the plant and corrosion of metal pipelines [1]. According to an ANP (Brazilian National Agency of Petroleum, Natural Gas and Biofuels) resolution, commercial natural gas must contain a maximum of 3% (mol) of CO 2 [2]. Therefore, a possible solution to deal with the produced CO 2 is the reinjection of CO 2 into the oil well, which may also allow the increase of the productivity of the well. This can certainly minimize environmental impacts and problems in natural gas process plants. Therefore, the CO 2 separation constitutes a fundamental step during the treatment of natural gas in oil production fields.
Different physical/chemical processes can be used to separate CO 2 from natural gas, such as cryogenic distillation, absorption, or membrane reverse osmosis processes [1,3]. Particularly, the removal of CO 2 from natural gas with help of membrane separation processes has been used since 1981 [4]. However, applications were initially limited because of intrinsic economic risks associated with the oil production activity and operation constraints related to membrane separations. Nevertheless, the scenario has been changing due to advantages related to the lower energy consumption, low capital investment, low operating costs, and more compact nature of these pieces of equipment [5,6,7].
Given the increase of the industrial importance of membrane separation processes, demands for development of mathematical modeling, simulation, optimization, control, statistical data treatment, and online monitoring procedures have also increased, as these techniques are fundamental for design and monitoring of chemical processes. As a consequence, the performance of the analyzed process can be evaluated more precisely and monitored, allowing the detection of failures in line and in real time. Based on these technologies, risks and time required for decision-making can be minimized [8].
Based on the previous paragraphs, the main objective of the present work is to develop and implement a web application that makes possible the online and real-time monitoring of membrane CO 2 separation processes on an industrial scale for the first time, based on rigorous numerical and statistical procedures. The application can also be used to provide information about unmeasured variables (soft sensor) and to diagnose the occurrence of gross error measurements and instrument malfunctioning. The proposed methodology comprises the following stages: (i) pre-treatment and characterization of process data; (ii) data reconciliation of process data to minimize measurement uncertainties, with the aid of mass balance equations; (iii) detection of systematic deviations for identification of process malfunctions; and (iv) observation of unmeasured variables (soft sensor or digital twin). Finally, the proposed data acquisition and visualization system is implemented online for successful monitoring of an actual industrial membrane separation site in real time for the first time.

1.1. Data Rectification

Technological and computer advancement have allowed the wide, easy, and fast access to process data of industrial plants. As a matter of fact, access to actual data are extremely important for real-time monitoring and optimization of production units [9]. The dynamic monitoring of a plant, unit or industrial equipment is increasingly necessary to improve product quality, enhance process safety, and reduce energy costs and waste; however, the acquired information must be reliable and validated with physical process constraints, as the reliability of the data are of paramount importance for any decision-making related to the analyzed process [10]. Nevertheless, process measurements are subject to errors and fluctuations due to intrinsic imprecision, degradation, malfunction, improper installation, poor calibration, and failure of measurement instruments. Additionally, human errors associated with operation and calibration, or gross errors related to the operation of the process, can result in data that do not represent the process reliably. Consequently, measured data are not expected to satisfy physical constraints precisely and are not expected to comply with conservation laws (mass, momentum, and energy balances) [11]. For these reasons, process controllers and data acquisition systems, if not treated properly, can cause the plant to operate at sub-optimal or unsafe operation conditions. In addition, decision-making based on unreliable data can lead to the occurrence of industrial accidents, reduction of product quality, and financial losses [12]. Therefore, the use of data rectification procedures can be essential to improve the quality of the information contained in the data, and consequently provide a margin of reliability for the control and optimization of the process in real time.
Data rectification procedures usually comprise three steps: variable classification; gross error detection (GED); and data reconciliation (DR). Among these three steps, DR and GED are the ones studied most often and applied more frequently in data rectification schemes [13].

Data Reconciliation and Gross Error Detection

The variable classification step determines whether the available information is sufficient to solve the DR problem and identify the sets of observable variables (measured and unmeasured variables, which can be estimated using the other measured variables and the process constraints) and unobservable variables (unmeasured variables that cannot be estimated). This way, the variable classification step makes possible data set size reduction in order to include only the relevant variables that can be observed and used to build the mathematical model of the process, reducing the size of the process database [14].
The GED step is performed to identify and/or eliminate/compensate for the occurrence of deviations that do not follow the admitted statistical distribution of errors. Gross errors can be caused by poor calibration of the measuring instruments, deterioration of the sensors, power surges, among other causes described previously. However, in order to obtain accurate estimates of parameters and variables, the negative influence of gross errors must be minimized or eliminated. The use of robust estimators has been frequently suggested to eliminate the negative effect of gross errors, often implemented simultaneously with DR to avoid the use of iterative and computationally intensive numerical procedures [11].
In the DR stage, measured data are adjusted in a statistically coherent manner by an estimator, which frequently is based on the maximum likelihood principle, with the support of a statistical distribution admitted a priori for measurement fluctuations. According to the DR technique, adjusted data must satisfy the conservation laws and other constraints imposed on the system, maximizing the probability of occurrence of that particular measurement and, simultaneously, respecting the mathematical model of the process. Thus, more reliable estimates can be obtained for the variables and parameters of the process [13,15]. Traditionally, the normal distribution is assumed to be valid, which results in the Weighted Least Squares (WLS) estimator [16]. For illustrative purposes, data rectification applications in the industry can be implemented as shown in Figure 1.
Kuehn and Davidson [18] were the pioneers in using DR procedures in chemical engineering processes. Since then, many works have proposed the use of DR procedures for monitoring of industrial processes, although the vast majority of the published material investigates simulated processes that operate at steady-state conditions. Investigations of actual dynamic processes in real time and using actual data are scarce and have never been performed for industrial membrane separations [14,19]. Therefore, the present work contributes to the development of DR procedures through the successful implementation of an original application in an actual industrial environment and using real data in real time to perform the proposed analyses. In addition, the present work shows that similar DR applications can be implemented in many industrial membrane separation environments using simple computational resources in real time.

1.2. Membrane Separation Process

Membranes constitute excellent alternatives for gas separations due to their low installation and maintenance costs. In the industrial environment, membranes are usually organized in modules with spiral-wound or hollow fiber geometries. Hollow fiber separation units are normally applied to relatively smaller fluxes when compared to spiral-wound modules. On the other hand, spiral-wound modules are cheaper, capable of handling higher operating pressures, and are more resistant to scaling, as particles present in the feed gas stream can block the fine membrane fibers [20,21]. Because of that, the spiral-wound units are largely used in industrial gas separation processes. In a previous work of our group, a mathematical model based on a phenomenological approach for a leaf of a spiral-wound membrane was developed. The model was validated in four case studies of common gas separations, with very good performance and robustness. Furthermore, it allowed the prediction of flow rates and concentrations along the membrane leaf, which are important features for the understanding of membrane operation processes. In addition, a discretization method was proposed to solve the model, which proved to be faster and more efficient than the shooting method [22]. It is also important to emphasize that industrial spiral-wound membrane separation units for CO 2 applications are formed by several leaves, which are wounded onto a central perforated collecting tube, forming one modular separation element. These elements can be arranged in series to build a membrane separation tube. Then, tubes can be organized in parallel to form a bank. Finally, the banks can be aligned in parallel to compose a membrane separation train, while the trains can be arranged in parallel to form a stage [21]. Figure 2 shows an example of this kind of unit.

Data Reconciliation in the Membrane Separation Process

Currently, very few papers are somehow involved with Data Reconciliation in Membrane Separation Processes. However, the work developed by Lashkari and Kruczek [23] showed that it is possible to reconcile the properties of the membrane separation process, using data related to the process dead time, which is affected by the resistance that the membrane offers to the gas flow. In fact, this work developed procedures to estimate effective permeabilities and diffusion coefficients, allowing the modeling of position-dependent resistance effects, using a lab-scale unit as an example.
Crivellari [19] proposed a model to simulate the separation of CO 2 from natural gas through a counter-current spiral wound polymer membrane. The model was used to analyze the influence of distinct variables on process operation conditions and was based on phenomenological balance equations. The model was validated with data collected from the literature and some industrial sites. Moreover, a DR procedure was used to treat the available data and estimate the model parameters; however, the study was implemented offline and did not allow any sort of real-time monitoring of the process operation.
Based on the previous discussions, the present work pioneers the use of DR procedures to monitor membrane separation processes reliably, online and in real time. For this purpose, a membrane plant located in one of the Petrobras Offshore Units was used during this paper. Finally, it is worth noting that, for reasons of industrial confidentiality, numerical results are presented in normalized form.

2. Methods

The methodology implemented in the present work comprises six stages: data acquisition; data pre-treatment; data characterization; data reconciliation; gross error detection, and process monitoring (soft sensor or digital twin). The first stages of the implemented procedure involved pre-treatment and characterization of the data. As a matter of fact, proper understanding of some characteristics of the data are fundamental for adequate implementation of the data reconciliation stage [24]. The initial characterization of the data was performed offline and using historical data available in the data acquisition system of the industrial site. The available data were used to determine appropriate sampling periods (based on process response times) and calculate measurement variances (used to formulate the estimation problem) and variable correlations (to characterize independence of measuring devices). Variable classification was also performed to determine the sets of observable and unobservable variables (with the help of the proposed model, as described below) [25].
Using the available data and the model equations, the DR procedure (as described in the following paragraphs) was solved offline to validate the proposed procedure and determine some performance indexes. Particularly, a statistical metrics was used to describe the magnitudes of the deviations between measured and reconciled variables. Then, the model was used offline for calculation of unmeasured variables, providing the soft sensor (or digital twin) response. Finally, the proposed procedures were implemented online and in real time.
The numerical procedures and codes were developed and implemented in Python 3.7.6 (Python Software Foundation, Beaverton, OR, USA) and the details of the proposed methodology are explained in the following sections.

2.1. Data Acquisition

Data acquisition was performed through direct access to an industrial database, using standard Plant Information (PI) resources. After performing the numerical operations, a file was saved with the measured, reconciled, estimated, and calculated variables. Storage was performed during monitoring, to avoid accumulation of data in the computer memory and save the relevant information in real time.
The “pandaspi” library was utilized to provide communication between Python and PI, transferring the information directly to a data frame [26,27]. By using these resources, the data acquisition process became very simple and practical, as access to the data depended only on the login, password, tags of the desired variables, the size of the sample window, and the sampling frequency. The time interval selected for offline analyses was equivalent to two weeks with a sampling frequency of 5 min, which provided a sufficiently high number of points for the execution of the pre-treatment step. An additional number of data points did not provide any significant improvement of the preliminary analyses in the considered case so that this should not be regarded as a drawback of the proposed analysis.

2.2. Data Pre-Treatment

Data pre-treatment comprised the following steps: reading the Excel Workbookfiles in UTF-8 encoding; pre-treatment of raw data spreadsheets; and data storage in Hierarchy Data Format version 5 (HDF5).
During real-time monitoring, the data reading step was performed as described in the previous section. Data storage in HDF5 format was also performed as described previously. When the file is saved in HDF5 format, reading presents better performance, since reading data directly from the Excel spreadsheet can be too slow for real-time applications [28,29].
The pre-treatment stage organized the raw data from the PI into data frames (Pandas library) [26,27]. The treatment followed the following steps: standardize the indices (day/hour/minute of the samples); variables that contain some string must be replaced (such as on/off by 0/1 and error notices by NaN, not a number); chronologically sort the data and replace missing data (NaN) with neighbors (back and forward fill). This last step is crucial to assure that the acquired data window does not contain missing data, which can make the calculation of variances difficult in the acquisition window. Unit conversions, normalization of concentrations and calculation of standard deviations and variances completed this step.
Data storage must be carried out after data reconciliation and energy balance calculations. The file was saved with the measured, reconciled, estimated, and calculated variables. As already explained, storage was performed during monitoring, to avoid accumulation of data in the computer memory and save the relevant information in real time.

2.3. Data Characterization

During this step, the procedures that must precede the data reconciliation task, such as the visualization and statistical characterization of the data, must be carried out. The characterization of the data was performed in accordance with the following steps:
  • Visualization of variables;
  • Selection of variables of interest;
  • Quantification and visualization of missing data (NaN);
  • Construction of the boxplots of the variables of interest [30];
  • Analysis of the variance spectra [31];
  • Calculation of variances and correlations.
The main pursued objectives during this stage were the proper characterization of the data quality, the analysis of the operation dynamics, and the characterization of the stationarity of the phenomenological process model. The analyses of missing data and boxplot properties can indicate the quality of collected data during the selected time period and the number of gross errors in the data base.
The boxplot is a graph used to assess the empirical distribution of data. The boxplot is a non-parametric analytical technique, which shows the measurement variations within a statistical population without making any assumption about the underlying statistical distribution. The box is usually built with the first ( Q 1 ) and third ( Q 3 ) quartiles (50% of the data) and the median ( Q 2 ). The lower and upper lines extend, respectively, from the lower quartile to the lowest value not lower than the lower limit ( L L ), and from the upper quartile to the highest value not higher than the upper limit ( U L ). The limits can be calculated according to Equations (1) and (2):
L L = max [ min ( d a t a ) ,   Q 1 1.5 ( Q 3 Q 1 ) ]
U L = min [ max ( d a t a ) ,   Q 1 1.5 ( Q 3 Q 1 ) ]
The value 1.5 is tuned to capture 99.7% of the data between the lower and upper limits, assuming the normal distribution [30]. In summary, the boxplot identifies the regions in the variable domain where 50% and 99.7% of the data are located. The points outside these limits are tagged as outliers. Boxplots were plotted using the Seaborn library available for Python [32].
The analysis of the variance spectra shows how the process variance depends on the size of the sampling window. This type of spectrum provides information about the various sources that contribute to the signal of a variable, including noise/measurement errors (short window sizes) and intrinsic process variations (large window sizes). The variance spectrum can be defined as a set of variances calculated while some variable related to them evolves [31]. The spectrum of variances for short sampling windows are controlled by the variances of the measuring instrument. This way, the best estimate for the variance of the measuring device can be calculated using the variance spectrum with short sampling windows. However, the use of very short sampling windows may not reveal the actual variability of the data, due to poor measurement quality. The spectrum for sufficiently large sampling windows captures the variability of the entire process, including operational changes. More details about the usefulness of this technique for characterization of process data are provided by Feital and Pinto [31].
Analyzing the correlations, autocorrelations, and cross-correlations between pairs of variables of interest allows the characterization of stationarity, seasonality, and regions of operation of the process [33,34]. Observing correlations between input and output flows can indicate process stationarity. The absence of correlation can indicate the occurrence of significant nonlinearity or dynamics in the process response [35]. For dynamic responses, cross-correlation can capture the lags between the actions on the input variables and the steady-state of the output variables. Obviously, the identification of dynamic correlations among the many variables of the system may indicate the necessity to build and implement dynamic models for more accurate representation of the available data. For this reason, proper characterization of stationarity can be important for more successful implementations of monitoring procedures [36].

2.4. Data Reconciliation

The DR procedure consists of solving an optimization problem characterized by an Objective Function (OF) that must be minimized while respecting certain restrictions (model). The OF of the DR is often proposed as the maximum likelihood estimator resulting from a statistical distribution of measurement errors, which is commonly adopted as the normal distribution. After application of the principle of maximum likelihood, the normal distribution results in the WLS estimator. This way, the problem originally formulated by Kuehn and Davidson [18] can be written in accordance with Equations (3)–(7) [17]:
z ̲ ^ = min z ̲ ^ 1 2 [ z ̲ z ̲ ^ ] T V = 1 [ z ̲ z ̲ ^ ]
subject to:
h ̲ ( z ̲ ^ , u ̲ ) = 0 ̲
g ̲ ( z ̲ ^ , u ̲ ) 0 ̲
z ̲ ^ L z ̲ ^ z ̲ ^ U
u ̲ L u ̲ u ̲ U
where z ̲ ^ is the vector of the reconciled variables; z ̲ is the vector of the measured variables; V = is the matrix of variances for measurement errors; u ̲ is the vector of the unmeasured variables (observable); h ̲ ( ) is the vector of linear or nonlinear algebraic constraint equations; g ̲ ( ) is the vector of the inequalities of linear or nonlinear algebraic restrictions; z ̲ ^ L and z ̲ ^ U are the upper and lower parameter vectors of the z ̲ ^ vector and u ̲ L and u ̲ U are the upper and lower parameter vectors of the u ̲ vector.
For DR problems where the model constraints are linear and all variables are measured, the analytical resolution of the problem can be obtained with help of Lagrange Multipliers [37]. However, the set of individual mass balance equations generate a nonlinear system of equations that involve unmeasured variables, as described below. For this reason, a successive linearization procedure was used to solve this problem [38].
The observability analysis of the system can also be performed during the successive linearization procedure, using QR factorization. The procedure consists of describing the nonlinear model in terms of two matrices: a matrix related to the measured variables and a second matrix related to the unmeasured variables. Therefore, the system is observable if the rank of the matrix of unmeasured variables is equal to the number of unmeasured variables [39].
The following points were considered during the implementation of the proposed model in the industrial site, illustrated in Figure 3:
  • Period for preliminary characterization of database: two weeks with sample frequency of 5 min;
  • Measured variables (z):
    Flowrates: Total Feed (F), Total Retentate (R), Train Retentate A , B and C ( R A , R B and R C ) [ k N m 3 / h ];
    Components: C 1 (methane), C 2 (ethane), C 3 (propane), C 6 (hexane), C 7 (heptane), C 8 (octane), CO 2 (carbon dioxide), i C 4 (i-butane), i C 5 (i-pentane), N 2 (nitrogen), n C 4 (n-butane) and n C 5 (n-pentane) in the 3 streams.
  • Unmeasured variables (u):
    Flowrate: Total permeate (P) [ k N m 3 / h ].
Model (Component Mass Balance—Steady-State):
h ̲ ( z ̲ ^ , u ̲ ) = { 0 ̲ = F y ̲ F R y ̲ R P y ̲ P 0 = R R A R B R C 0 = 1 i = 1 n c y ̲ F , i 0 = 1 i = 1 n c y ̲ R , i 0 = 1 i = 1 n c y ̲ P , i
  • Number of points in the study phase (nt) = 3457
  • Number of components (nc) = 12
  • Number of measured variables at each sampling point (Nm) = 3 n c + 5 = 41
  • Number of unmeasured variables at each sampling point (Nu) = 1
  • Number of total equations at each sampling point (Nv): N m + N u = 42
  • Number of constraint equations (Nce) = n c + 4 = 16
  • Number of optimization variables at each sampling point (Nopt): N v N c e = 26
  • Degrees of freedom at each sampling point (DF): N m N o p t = N m ( N m + N u N c e ) = 15

2.5. Gross Error Detection

Gross errors are those originating from non-random events, having little or no connection with the measured value. They may be related to measurements (such as malfunctioning of instruments) or process (such as leaks). Consequently, gross errors invalidate the classic statistical basis of traditional DR methods and undermine the systematic analysis of the data, demanding the implementation of Gross Error Detection procedures for compensation or elimination of gross errors, which may precede the DR step. Gross errors can be further classified as bias, outliers, and drifts [40].
The metrics applied in this step to identify the occurrence of gross errors is related to the statistical test of standard hypotheses for GED [12]. This test is widely used and simple, and also forms the basis for all other classic GED procedures. The test is applied to the data set to determine whether the measurements follow a symmetrical distribution of the measurement errors.
Reilly and Carpani [41] were the first to study the detection of gross errors in process engineering. The authors proposed the use of a statistical test of the type χ 2 (chi-square) based on the residues of the process model, which was called the Global Test (GT).
In the present work, GED was based on the GT, using the sampling window to observe samples and identify the occurrence of gross measurement errors. According to this procedure, the data in the moving window are used to compare the errors of the Weighted Least Squares estimator with the deviations from median values within the window and using the χ 2 function to characterize significant deviations between these computed variances [42].
The outlier effect during DR is removed through compensation. After identification of a possible outlier, the variable value was manipulated to adjust the expected variance. Thus, a moving variance window was implemented to monitor changes in operation, measurement errors, and failures. The statistical test was performed in sampling windows containing at least 20 samples. With this, the median and the standard deviation were calculated and compared with the value of the variable at the current point. Therefore, if the value was more than seven standard deviations apart from the median, the measurement would be regarded as an outlier and the variance adjustment would be performed.
To monitor the possible occurrence of bias, a dynamic bar graph illustrating the magnitude of errors for each variable was implemented, using the following metrics:
B i a s i , t = m e d ( | z ̲ i , t z ̲ ^ i , t | ) d p i , t
d p i , t = N M A D ( | z ̲ i , t z ̲ ^ i , t | )
where N M A D is Normalized Median Absolute Deviation.

2.6. Monitoring

Instrumenting the whole process can be very costly and may lead to acquisition of unnecessary and obsolete information. In addition, in some cases, it can be impossible to measure the desired variable. For this reason, some information that is essential for process monitoring can be assessed through models. Therefore, a soft sensor can estimate variables with a mathematical model, in real time, using available plant data, as measured by existing instrumentation. Particularly, the use of plant variables can provide opportunities to improve the performance of a plant [43].
In the analyzed process, the permeate flow was not measured. It must be emphasized that this is not unusual at real industrial sites. However, through DR, this information can be obtained with the help of the model, after the application of the DR procedure. The complete set of temperature and pressure was not available either, which is not unusual at the plant site. In the analyzed case, the pressure of the feed stream and the temperature of the permeate stream were not measured. Therefore, the full implementation of the energy balance in the proposed DR procedure was not viable due to the lack of observability. For this reason, the pressure of the feed stream was evaluated through calculation of the pressure loss in the separation stage, based on design data and the pressure data of the retained stream. In this case, after characterization of the pressure loss, the energy balance equation can be used to estimate the permeate stream temperature, with the aid of Equation (11), calculating the enthalpies of the process streams with the Peng–Robinson equation of state [44]:
0 = F . H ( T F , P F , y ̲ F ) R . H ( T R , P R , y ̲ R ) P . H ( T P , P P , y ̲ P )
It must be noted that the execution of the numerical procedure in this analyzed case was extremely fast (order of milliseconds), so that the computer hardware exerted little influence on the application. The slowest step of the numerical procedure was data acquisition (and the bottleneck was data transfer and connection speed), so that instrumentation hardware and data handling software constituted the most sensitive parts for this particular real-time application. Despite that, it took only few seconds for data downloading to be complete; consequently, the online and real-time implementation could be performed in a standard notebook equipped with an Intel Core i7 8th gen processor (Intel Corporation, Santa Clara, CA, USA).

3. Results and Discussion

3.1. Data Characterization

The Missingno library was used to analyze the missing data [45]. In Figure 4, one can observe the data density, visualizing completely the pattern of missing data in the whole set, with the columns representing the variables and lines representing data points of the time series. In addition, a frequency bar that indicates the number of variables measured at each particular timeline can be seen on the right side of the graph.
The analysis of Figure 4 illustrates how one can select the best data period for the execution of the initial data processing stage. The period with the highest data density allows the analysis of the plant operation with better reliability, avoiding blind periods of instrumentation or shutdown of operation. Therefore, the selection of the period is fundamental for the data characterization stage.
Figure 5 illustrates the boxplot of chromatographic analyses associated with the four main components of the feed stream. This analysis allows the preliminary evaluation of the precision of the instrumentation and/or the variability of the operation. A process with distinct operating points generates multimodal distributions, which requires more involving analysis to qualify the precision of the measurement, such as violin plot (a combination of boxplot and kernel density estimate) [46]. However, during stationary operation periods, the boxplot analysis showed that chromatographic measurements presented good precision, which is also illustrated by the small number of outliers with respect to the total number of 3673 samples.
Figure 6 shows that the “gross errors” followed a downward trend, with highest concentration below the modal value. This is because a drop in the process flowrate was observed during this period. Therefore, in this case, the analysis interprets that the operating changes are “gross error”, when they are not. On the other hand, the good behavior of the data indicates that the flowrate was measured with good precision. Instrumentation accuracy was also analyzed after DR, with help of the bias analysis.
Figure 7 illustrates the time series for the compositions of C 1 , C 2 , C 3 , and CO 2 in the feed stream, while Figure 8 shows the feed and retentate flowrates, for the same time ranges analyzed in the boxplot. Therefore, it becomes evident in the case of flowrates that the supposed gross errors actually indicated a change in operation and not a failure of the sensor. In the case of composition, outliers can possibly be assigned to gross errors, although only the DR can allow the proposition of reliable statements about the alleged gross errors.
An important analysis is related to the observation of the correlations between pairs of variables. Correlations can indicate absence or presence of process stationarity. Figure 9 shows a strong linear correlation between feed, retentate, and permeate flowrates. Strong linear correlation between inlet and outlet flowrates can be an indication of process stationarity [47].
Figure 10 illustrates the Autocorrelation Function (ACF) and Partial Autocorrelation Functions (PACF) for feed and residue streams. This analysis provides the diagnosis of temporal dependence between the lags of individual variables, which in this case were evaluated for lags ranging from 0 to 50 lags. As shown in Figure 10, the ACF decayed continuously and just one lag caused the appearance of strong correlation (close to 1) in the PACF. Therefore, the process presents very short dynamic memory, indicating the quasi steady-state behavior and constituting an auto-regressive process of order 1 [33].
Figure 11 illustrates the Cross-Correlations Function (CCF) between feed and retentate flowrates up to 50 lag. Cross-correlations decayed slowly for different pairs of variables, indicating that the process operated at quasi steady-state conditions and that responses were much faster than the characteristic sampling times. Therefore, the analyzed membrane separation process could be considered to operate at steady-state. This validated the use of the steady-state mass and energy balance equations in the DR problem. Given the small volumes of most membrane separation modules and the large flowrates of typical industrial plants, this conclusion can probably be extended to other industrial sites, allowing the more general use of the analysed procedures in other industrial facilities.

3.2. Data Reconciliation

Before starting the DR procedure, the system was analyzed with the help of Variable Classification techniques and the system was classified as observable, indicating that the measured variables can be reconciled and that unmeasured variables (permeate flowrate) can be estimated.
The first DR results were obtained through offline simulations, using a sampling period of two weeks with a sampling interval of 5 min. The data reconciliation performed very well and the problem was solved at average computational speed of 1.7 ms/sample. This result clearly showed that the application could be implemented online and in real time due to the sampling interval of 5 min.
Figure 12 illustrates, as an example, the measured and reconciled data for chromatographic measurements of the four main components in the feed stream. One of the advantages of DR is to restore the resolution of the amplitude signal of the measured value, which can be seen in Figure 12, especially for samplings of the C 2 component.
Figure 13 illustrates the measured, reconciled, and estimated data for the flowrates. Another major advantage of DR is to identify the occurrence of systematic deviations in measurements, often caused by miscalibrated instruments. Figure 13 shows the occurrence of bias for the feed and residue flowrates.
Figure 14 shows the sum of residuals with respect to the mathematical model. The total squared residual is a measure of corrections that were needed in order to reconciled variables to satisfy the mass and energy balance equations.
Based on the previous results, it could be concluded that the DR procedure presented good performance and advantageous aspects for monitoring of the process. Monitoring processes with statistically treated information, detection of measurement bias, and identification of poor instrumentation performances constitute good tools for diagnosing the states of the analyzed process and respective instrumentation.

3.3. Gross Error Detection

Procedures for removal of gross errors were implemented for online and real-time DR. These procedures were based on statistical tests using a moving variance window. Figure 15, Figure 16, Figure 17, Figure 18, Figure 19 and Figure 20 illustrate a case of gross errors in which the procedure proved to be robust. However, it is possible to observe that the gross errors that affected the compositions of the retentate flowrate influenced the reconciliation of the feed flowrate. This occurred because of the well-known “smearing effect” when the DR procedure was performed with the WLS estimator (non-robust), even when variance adjustment was performed [48]. As gross error measurements were observed for a short period of time, it was not possible to detect the main source of the problem in the analyzed data set. Nevertheless, the occurrence of the problem was reported for maintenance teams for evaluation of measurement consistency.
It is important to note that the statistical tests were implemented only for the compositions. The fact is that operational changes hindered the test because in many cases the test interpreted operational changes as outliers. Figure 21 illustrates that data reconciliation was effective and performed well after several operational changes.
An important advantage of the moving variance window was to avoid the interruption of the online DR procedure due to measurement problems. These failures occur more frequently with compositions measured online through gas chromatography. These measurement failures cause missing data and, consequently, occurrence of series of constant values. As a result, the signal loses variability, preventing the realization of DR. Figure 22 and Figure 23 illustrate cases of variable freezing caused by missing data.
The analysis of bias can be performed through dynamic bar graph monitoring, illustrating the magnitude of the errors of each variable. Figure 24 informs the magnitudes of the systematic deviations from the median, that is, how many times the reconciled variable deviated from the measured median value. Systematic deviations that are larger than three times the value of the standard deviation can be regarded as a bias. Therefore, analyzing Figure 24, five variables with measurement biases could be observed: N2 (feed); N2 (residue); C8 (permeate); feed flowrate; and residue flowrate. Generally, biases can indicate the occurrence of unbalanced measurements, calibration problems, and instrument malfunctioning. For this reason, the obtained results were relayed to maintenance teams for evaluation of the instrumentation performances.
Figure 25 analyzes the performance of the DR, presenting the value of the OF, which represents the degree of correction of the reconciliation. The two green dotted lines represent the region where a normal distribution is expected for the errors of all measured variables. The region above the red dotted line indicates the samples that were subject to large corrections during the reconciliation step. Therefore, it is reasonable to consider the possible occurrence of outliers when the obtained value of OF deviated more than three standard deviations from the median value.
A test to observe the influences of biases on the analysis and performance of DR was performed. Figure 26 and Figure 27 illustrate the same analyses performed for the same time window, as presented in Figure 24 and Figure 25, but after identification and compensation of outliers. It can be observed that outliers significantly affected the average OF value. Based on Figure 24, Figure 25, Figure 26 and Figure 27, it can be said that the analysis of bias and outliers performed very well. Figure 27 also illustrates the benefits of bias and outlier adjustments, as objective function values were reduced significantly and shed light on the existence of persistent outlier measurements. This reinforces the importance of bias and gross error diagnosing and the necessity to involve maintenance teams for evaluation of the instrumentation performances.

3.4. Monitoring

In each new cycle of data acquisition, the code runs in sequence the pre-treatment, statistical tests and outlier compensation, data reconciliation with the permeate flowrate estimation, and finally the energy balance to calculate the temperature of the permeate flowrate. The first inferred variable was the permeate flowrate, estimated within the data reconciliation procedure. Figure 28 illustrates the real-time monitoring of the inferred variable.
The second inferred variable was the temperature of the permeate. At this stage, it was not possible to reconcile data due to the lack of redundancy of measured variables. Thus, this variable was inferred without the proper statistical treatment by the DR stage. Figure 29 illustrates part of the web application (web-app) where the user interacts with the interface. The variables can be selected through a dropdown menu. In addition, the application provides graphs of gross error analysis (Figure 30), visualization of inferred variables, and a button to start and stop monitoring. Figure 31 illustrates the three temperatures of each stream, during the testing period of the web-app. The permeate temperature was calculated with help of the energy balance and the regions without data are the days when the web-app was paused. All monitoring data are saved and can be read and analyzed offline, as in the case of Figure 31.
Therefore, the temperature inferred by the calculation of the energy balance showed good accuracy in relation to reported offline measurements, which demonstrates the importance of DR for the treatment of the variables used in the soft sensor.

4. Conclusions

A methodology was developed and implemented for the first time in the form of a web application to allow the monitoring of membrane separation processes online and in real time, making use of statistical techniques for treatment of process data. The proposed methodology comprises the following stages: (i) pre-treatment and characterization of process data; (ii) data reconciliation of process data to minimize measurement uncertainties, with the aid of mass balance equations; (iii) detection of systematic deviations for identification of process malfunctions; and (iv) observation of unmeasured variables (working as a soft sensor or digital twin). The pre-treatment and data characterization steps were fundamental for the understanding and correct formulation of the problem. The characterization step can find wide application, as this procedure can be applied in any chemical process. This step is essential for the appropriate selection of data reconciliation techniques and gross error detection procedures. After that, the proposed data reconciliation and gross error detection steps showed robustness, good performance, and speed. The proposed scheme was based on detailed steady-state balance equations, validated after proper characterization of actual operation data. The numerical procedures were validated offline and then implemented online and in real time for the first time, allowing the successful identification of measurement biases and outliers and providing estimates for unmeasured data. The developed procedures can be used for online and real-time detection of process faults and process diagnosing. In addition, the procedure provides reliable data for future stages of simulations and parameter estimation, allowing the implementation of digital twins, as the model proposed in part I of this research project. Production Management System and Enterprise Resource Planning steps can also benefit from availability of more reliable data, and variables inferred by a soft sensor. Therefore, the main advantages of the procedure are reliable data handling, diagnosis of gross errors/failures, and real-time monitoring of the process.

Author Contributions

D.Q.F.d.M.: Conceptualization, Methodology, Software, Validation, Data curation, Writing—original draft, Writing—review and editing; M.C.C.d.S.: Software, Validation, Formal analysis; T.B.F.: Software, Validation, Formal analysis; T.K.A.: Resources and Funding acquisition; F.C.D.: Resources and Funding acquisition; P.H.T.: Resources and Funding acquisition; J.C.P.: Supervision, Project administration, Writing—review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Petróleo Brasileiro SA (Petrobras); Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq) and Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES).

Acknowledgments

The authors thank Petrobras, CNPq, and CAPES for the financial support to this work, as well as for covering the costs to publish in open access.

Conflicts of Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Abbreviations

The following abbreviations are used in this manuscript:
GEDGross error detection
DRData reconciliation
WLSWeighted least squares
PIPlant information
HDF5Hierarchy Data Format version 5
NaNNot a number
LLLower limit
ULUpper limit
OFObjective function
GTGlobal test
NMADNormalized median absolute deviation
ACFAutocorrelation functions
PACFPartial autocorrelation functions
CCFCross-Correlations Function

References

  1. Mokhatab, S.; Poe, W.A.; Mak, J.Y. Handbook of Natural Gas Transmission and Processing: Principles and Practices; Gulf Professional Publishing: Houston, TX, USA, 2018. [Google Scholar]
  2. Agência Nacional do Petróleo, Gás Natural e Biocombustíveis. ANP, ANP RESOLUTION N 16, D; Diário Oficial da União: Brasilia, Brazil, 2008. Available online: http://www.anp.gov.br/ (accessed on 11 July 2020).
  3. Speight, J.G. Natural Gas: A Basic Handbook; Gulf Professional Publishing: Houston, TX, USA, 2018. [Google Scholar]
  4. Henis, J.M.; Tripodi, M.K. Composite hollow fiber membranes for gas separation: The resistance model approach. J. Membr. Sci. 1981, 8, 233–246. [Google Scholar] [CrossRef]
  5. Al-Obaidi, M.A.; Kara-Zaïtri, C.; Mujtaba, I.M. Simulation and sensitivity analysis of spiral wound reverse osmosis process for the removal of dimethylphenol from wastewater using 2D dynamic model. J. Clean. Prod. 2018, 193, 140–157. [Google Scholar] [CrossRef] [Green Version]
  6. Singh, V.; Jain, P.; Das, C. Performance of spiral wound ultrafiltration membrane module for with and without permeate recycle: Experimental and theoretical consideration. Desalination 2013, 322, 94–103. [Google Scholar] [CrossRef]
  7. Kovvali, A.S.; Vemury, S.; Admassu, W. Modeling of multicomponent countercurrent gas permeators. Ind. Eng. Chem. Res. 1994, 33, 896–903. [Google Scholar] [CrossRef]
  8. Soares, R.d.P. Desenvolvimento de um Simulador Genérico de Processos Dinâmicos. Master’s Thesis, Universidade Federal do Rio Grande do Sul, Porto Alegre, RS, Brazil, 2003. [Google Scholar]
  9. Nicholson, B.; López-Negrete, R.; Biegler, L.T. On-line state estimation of nonlinear dynamic systems with gross errors. Comput. Chem. Eng. 2014, 70, 149–159. [Google Scholar] [CrossRef]
  10. Câmara, M.M.; Soares, R.M.; Feital, T.; Anzai, T.K.; Diehl, F.C.; Thompson, P.H.; Pinto, J.C. Numerical Aspects of Data Reconciliation in Industrial Applications. Processes 2017, 5, 56. [Google Scholar] [CrossRef] [Green Version]
  11. Prata, D.M.; Schwaab, M.; Lima, E.L.; Pinto, J.C. Simultaneous robust data reconciliation and gross error detection through particle swarm optimization for an industrial polypropylene reactor. Chem. Eng. Sci. 2010, 65, 4943–4954. [Google Scholar] [CrossRef]
  12. Farias, A.C. Avaliação de Estratégias para Reconciliação de Dados e Detecção de Erros Grosseiros. Master’s Thesis, Universidade Federal do Rio Grande do Sul, Porto Alegre, RS, Brazil, 2009. [Google Scholar]
  13. de Menezes, D.Q.F. Reconciliação Robusta de Dados em Colunas de Destilação. Master’s Thesis, Universidade Federal Fluminense, Niterói, RJ, Brazil, 2015. [Google Scholar]
  14. Prata, D.M. Reconciliação Robusta de Dados para Monitoramento em Tempo Real. Ph.D. Thesis, COPPE—Universidade Federal do Rio de Janeiro, Rio de Janeiro, RJ, Brazil, 2009. [Google Scholar]
  15. Prata, D.M.; Schwaab, M.; Lima, E.L.; Pinto, J.C. Nonlinear dynamic data reconciliation and parameter estimation through particle swarm optimization: Application for an industrial polypropylene reactor. Chem. Eng. Sci. 2009, 64, 3953–3967. [Google Scholar] [CrossRef]
  16. Benqlilou, C. Data Reconciliation as a Framework for Chemical Processes Optimization and Control. Ph.D. Thesis, Universitat Politècnica de Catalunya, Barcelona, Spain, 2004. [Google Scholar]
  17. Narasimhan, S.; Jordache, C. Data Reconciliation and Gross Error Detection: An Intelligent Use of Process Data; Gulf Professional Publishing: Houston, TX, USA, 1999. [Google Scholar]
  18. Kuehn, D.R.; Davidson, H. Computer control II. Mathematics of control. Chem. Eng. Prog. 1961, 57, 44–47. [Google Scholar]
  19. Crivellari, G.P. Modelagem Matemática e Simulação de um Permeador de Gases para Separação de CO2 de Gás Natural. Master’s Thesis, Universidade de São Paulo, São Paulo, SP, Brazil, 2016. [Google Scholar]
  20. Dortmundt, D.; Doshi, K. Recent Developments in CO2 Removal Membrane Technology; UOP LLC: Des PLaines, IL, USA, 1999; pp. 1–30. [Google Scholar]
  21. Rackley, S.A. Carbon Capture and Storage; Butterworth-Heinemann: Oxford, UK, 2017. [Google Scholar]
  22. Dias, A.C.S.; De Sá, M.C.C.; Fontoura, T.B.; Menezes, D.Q.; Anzai, T.K.; Diehl, F.C.; Thompson, P.H.; Pinto, J.C. Modeling of spiral wound membranes for gas separations. Part I: An iterative 2D permeation model. J. Membr. Sci. 2020, 612, 118278. [Google Scholar] [CrossRef]
  23. Lashkari, S.; Kruczek, B. Reconciliation of membrane properties from the data influenced by resistance to accumulation of gasses in constant volume systems. Desalination 2012, 287, 178–189. [Google Scholar] [CrossRef]
  24. Feital, T.; Prata, D.M.; Pinto, J.C. Comparison of methods for estimation of the covariance matrix of measurement errors. Can. J. Chem. Eng. 2014, 92, 2228–2245. [Google Scholar] [CrossRef]
  25. Stanley, G.; Mah, R. Observability and redundancy classification in process networks: Theorems and algorithms. Chem. Eng. Sci. 1981, 36, 1941–1954. [Google Scholar] [CrossRef]
  26. McKinney, W. Pandas, Python Data Analysis Library. 2020. Available online: http://pandas.pydata.org (accessed on 11 July 2020).
  27. McKinney, W. Pandas: A foundational Python library for data analysis and statistics. Python High Perform. Sci. Comput. 2011, 14. Available online: https://www.dlr.de/sc/en/desktopdefault.aspx/tabid-7649/13008_read-32724/ (accessed on 11 July 2020).
  28. Kuriakose, J. Using HDF5 with Python. 2017. Available online: https://medium.com/ (accessed on 11 July 2020).
  29. Zaitsev, I. The Best Format to Save Pandas Data. 2019. Available online: https://towardsdatascience.com/ (accessed on 11 July 2020).
  30. Galarnyk, M. Understanding Boxplots. 2018. Available online: https://towardsdatascience.com/ (accessed on 11 July 2020).
  31. Feital, T.; Pinto, J.C. Use of variance spectra for in-line validation of process measurements in continuous processes. Can. J. Chem. Eng. 2015, 93, 1426–1437. [Google Scholar] [CrossRef]
  32. Waskom, M. Seaborn: Statistical Data Visualization. Python 2.7 and 3.5. 2020. Available online: https://seaborn.pydata.org (accessed on 11 July 2020).
  33. Box, G.E.; Jenkins, G.M.; Reinsel, G.C.; Ljung, G.M. Time Series Analysis: Forecasting and Control; John Wiley & Sons: Hoboken, NJ, USA, 2015. [Google Scholar]
  34. Peixeiro, M. The Complete Guide to Time Series Analysis and Forecasting. 2019. Available online: https://towardsdatascience.com (accessed on 11 July 2020).
  35. Evsukoff, A.G. Inteligência Computacional—Fundamentos e Aplicações; E-Papers: Rio de Janeiro, RJ, Brazil, 2020. [Google Scholar]
  36. Vanhatalo, E.; Kulahci, M.; Bergquist, B. On the structure of dynamic principal component analysis used in statistical process monitoring. Chemom. Intell. Lab. Syst. 2017, 167, 1–11. [Google Scholar] [CrossRef]
  37. Himmelblau, D.M. Fault Detection and Diagnosis in Chemical and Petrochemical Processes; Elsevier Science Ltd.: Amsterdam, The Netherlands, 1978; Volume 8. [Google Scholar]
  38. Romagnoli, J.A.; Sanchez, M.C. Data Processing and Reconciliation for Chemical Process Operations; Academic Press: Cambridge, MA, USA, 1999; Volume 2. [Google Scholar]
  39. Veverka, V.V.; Madron, F. Material and Energy Balancing in the Process Industries: From Microscopic Balances to Large Plants; Elsevier: Amsterdam, The Netherlands, 1997; Volume 7. [Google Scholar]
  40. Chen, J.; Romagnoli, J.A. A strategy for simultaneous dynamic data reconciliation and outlier detection. Comput. Chem. Eng. 1998, 22, 559–562. [Google Scholar] [CrossRef]
  41. Reilly, P.; Carpani, R. Application of statistical theory of adjustment to material balances. In Proceedings of the 13th Canadian Chemical Engineering Congress, Montreal, QC, Canada, 1963; pp. 21–23. [Google Scholar]
  42. Schwaab, M. Análise de Dados Experimentais: I. Fundamentos de Estatística e Estimação de Parâmetros; E-Papers: Rio de Janeiro, RJ, Brazil, 2007. [Google Scholar]
  43. Lotufo, F.A.; Garcia, C. Sensores Virtuais ou Soft Sensors: Uma Introdução. In Proceedings of the 7th Brazilian Conference on Dynamics, Control and Applications, Presidente Prudente, Brazil, 5–9 May 2008; pp. 1–9. [Google Scholar]
  44. Seader, J.D.; Henley, E.J.; Roper, D.K. Separation Process Principles, 3rd ed.; Wiley: New York, NY, USA, 2010. [Google Scholar]
  45. Bilogur, A. Missingno: A missing data visualization suite. J. Open Source Softw. 2018, 3, 547. [Google Scholar] [CrossRef] [Green Version]
  46. Lewinson, E. Violin Plots Explained—Learn How to Use Violin Plots and What Are Their Advantages over Box Plots! 2019. Available online: https://towardsdatascience.com/ (accessed on 11 July 2020).
  47. Câmara, M.M.; Quelhas, A.D.; Pinto, J.C. Performance evaluation of real industrial RTO systems. Processes 2016, 4, 44. [Google Scholar] [CrossRef] [Green Version]
  48. Özyurt, D.B.; Pike, R.W. Theory and practice of simultaneous data reconciliation and gross error detection for chemical processes. Comput. Chem. Eng. 2004, 28, 381–402. [Google Scholar] [CrossRef]
Figure 1. Illustrative representation of industrial data rectification applications [12,17].
Figure 1. Illustrative representation of industrial data rectification applications [12,17].
Processes 08 01035 g001
Figure 2. Schematic representation of a spiral-wound membrane unit.
Figure 2. Schematic representation of a spiral-wound membrane unit.
Processes 08 01035 g002
Figure 3. Individual mass balances in the envelope around the process.
Figure 3. Individual mass balances in the envelope around the process.
Processes 08 01035 g003
Figure 4. Missing data analysis.
Figure 4. Missing data analysis.
Processes 08 01035 g004
Figure 5. Analysis of boxplots for compositions C 1 , C 2 , C 3 , and CO 2 in the feed stream.
Figure 5. Analysis of boxplots for compositions C 1 , C 2 , C 3 , and CO 2 in the feed stream.
Processes 08 01035 g005
Figure 6. Boxplot analysis of flowrates.
Figure 6. Boxplot analysis of flowrates.
Processes 08 01035 g006
Figure 7. C 1 , C 2 , C 3 , and CO 2 compositions in the feed stream.
Figure 7. C 1 , C 2 , C 3 , and CO 2 compositions in the feed stream.
Processes 08 01035 g007
Figure 8. Measured flowrates.
Figure 8. Measured flowrates.
Processes 08 01035 g008
Figure 9. Correlation analysis for feed and retentate flowrates.
Figure 9. Correlation analysis for feed and retentate flowrates.
Processes 08 01035 g009
Figure 10. ACF (Autocorrelation Function) and PACF analyses (Partial Autocorrelation Functions) for feed and retentate flowrates.
Figure 10. ACF (Autocorrelation Function) and PACF analyses (Partial Autocorrelation Functions) for feed and retentate flowrates.
Processes 08 01035 g010
Figure 11. CCF analyses between feed and retentate flowrates.
Figure 11. CCF analyses between feed and retentate flowrates.
Processes 08 01035 g011
Figure 12. Offline data reconciliation for compositions C 1 , C 2 , C 3 , and CO 2 in the feed stream.
Figure 12. Offline data reconciliation for compositions C 1 , C 2 , C 3 , and CO 2 in the feed stream.
Processes 08 01035 g012
Figure 13. Offline data reconciliation of flowrates.
Figure 13. Offline data reconciliation of flowrates.
Processes 08 01035 g013
Figure 14. Sum of squares of model deviations (residuals) during offline data reconciliation.
Figure 14. Sum of squares of model deviations (residuals) during offline data reconciliation.
Processes 08 01035 g014
Figure 15. “Smearing” effect during the DR of feed flowrates.
Figure 15. “Smearing” effect during the DR of feed flowrates.
Processes 08 01035 g015
Figure 16. Gross Error Detection—CO 2 in the feed stream.
Figure 16. Gross Error Detection—CO 2 in the feed stream.
Processes 08 01035 g016
Figure 17. Gross Error Detection— C 1 in the feed stream.
Figure 17. Gross Error Detection— C 1 in the feed stream.
Processes 08 01035 g017
Figure 18. Gross Error Detection— C 2 in the feed stream.
Figure 18. Gross Error Detection— C 2 in the feed stream.
Processes 08 01035 g018
Figure 19. Gross Error Detection— C 3 in the feed stream.
Figure 19. Gross Error Detection— C 3 in the feed stream.
Processes 08 01035 g019
Figure 20. Gross Error Detection—DR performance analysis.
Figure 20. Gross Error Detection—DR performance analysis.
Processes 08 01035 g020
Figure 21. Monitoring through data reconciliation.
Figure 21. Monitoring through data reconciliation.
Processes 08 01035 g021
Figure 22. Measurement failures: missing data and frozen values of feed flowrate.
Figure 22. Measurement failures: missing data and frozen values of feed flowrate.
Processes 08 01035 g022
Figure 23. Measurement failures: missing data and frozen values of residue flowrate.
Figure 23. Measurement failures: missing data and frozen values of residue flowrate.
Processes 08 01035 g023
Figure 24. DR analysis without bias compensation.
Figure 24. DR analysis without bias compensation.
Processes 08 01035 g024
Figure 25. DR performance analysis without bias compensation.
Figure 25. DR performance analysis without bias compensation.
Processes 08 01035 g025
Figure 26. DR analysis with bias compensation.
Figure 26. DR analysis with bias compensation.
Processes 08 01035 g026
Figure 27. DR performance analysis with bias compensation.
Figure 27. DR performance analysis with bias compensation.
Processes 08 01035 g027
Figure 28. Real-time soft sensor—permeate flowrate.
Figure 28. Real-time soft sensor—permeate flowrate.
Processes 08 01035 g028
Figure 29. Part of the web-app: variables measured and reconciled.
Figure 29. Part of the web-app: variables measured and reconciled.
Processes 08 01035 g029
Figure 30. Part of the web-app: data reconciliation analysis.
Figure 30. Part of the web-app: data reconciliation analysis.
Processes 08 01035 g030
Figure 31. Offline data analysis: Temperatures in the testing period.
Figure 31. Offline data analysis: Temperatures in the testing period.
Processes 08 01035 g031

Share and Cite

MDPI and ACS Style

de Menezes, D.Q.F.; de Sá, M.C.C.; Fontoura, T.B.; Anzai, T.K.; Diehl, F.C.; Thompson, P.H.; Pinto, J.C. Modeling of Spiral Wound Membranes for Gas Separations—Part II: Data Reconciliation for Online Monitoring. Processes 2020, 8, 1035. https://doi.org/10.3390/pr8091035

AMA Style

de Menezes DQF, de Sá MCC, Fontoura TB, Anzai TK, Diehl FC, Thompson PH, Pinto JC. Modeling of Spiral Wound Membranes for Gas Separations—Part II: Data Reconciliation for Online Monitoring. Processes. 2020; 8(9):1035. https://doi.org/10.3390/pr8091035

Chicago/Turabian Style

de Menezes, Diego Queiroz Faria, Marília Caroline Cavalcante de Sá, Tahyná Barbalho Fontoura, Thiago Koichi Anzai, Fabio Cesar Diehl, Pedro Henrique Thompson, and Jose Carlos Pinto. 2020. "Modeling of Spiral Wound Membranes for Gas Separations—Part II: Data Reconciliation for Online Monitoring" Processes 8, no. 9: 1035. https://doi.org/10.3390/pr8091035

APA Style

de Menezes, D. Q. F., de Sá, M. C. C., Fontoura, T. B., Anzai, T. K., Diehl, F. C., Thompson, P. H., & Pinto, J. C. (2020). Modeling of Spiral Wound Membranes for Gas Separations—Part II: Data Reconciliation for Online Monitoring. Processes, 8(9), 1035. https://doi.org/10.3390/pr8091035

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop