This module is a part of “Engine Carbon Brushes Replacement” project. The purposes of the module are:
a) to build convenient for further work datasets based on the provided raw data;
b) preliminary separate exploratory data analysis of carbon brushes replacement of Cement Mill 1 engine;
c) care by outliers.

The input of the module is a csv file. The file contains an unordered dataset, with provided information of engine inspections since 2004 for each engine carbon brush. In case carbon brush was replaced due to deterioration - the event is signed by “1”, otherwise by “0”.

The outputs of the module are convenient for further work datasets based on the provided raw data.

Statistic information of maintenance periods and cases of carbon brushes replacement due to deterioration:

## Cement Mill 1 (February 2004 - December 2017)
## Maintaneince days summary:
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##    1.00   24.00   27.00   30.25   30.00  514.00
## 
## Maintaneince days Outleirs:
##   lowerFarOut lowerOutliers upperOutliers   upperFarOut 
##             6            15            39            48
## 
## Replacement periods summary:
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##    11.0   187.0   369.5   412.2   582.8  1968.0
## 
## Replacement periods upperOutliers:
## upperOutliers   upperFarOut 
##      1176.375      1770.000

Graphical Presentation of the Data:

Box Plots of the “maintenance periods” and “cases of carbon brushes replacement”

Low “FarOut” Actually, low farOuts points (days of carbon brush replacement) mean that carbon brushes were replaced on the same day or after few days. In both cases, low farOuts might be entered same information twice- and must be removed from dataset.

Low “FarOut”

## [1] Mill      C         R         brushName brushType phase     fromDate 
## [8] toDate    Days     
## <0 rows> (or 0-length row.names)


First quantile - most frequently replaced carbon brushes.

Here, it is easy to find out places, where carbon brushes were replaced significantly more frequently than a majority of carbon brushes of this engine. Presumably, these carbon brushes were affected by local factors (like a local clamping spring) more than common reasons (for this engine).


Fourth quantile - most rarely replaced carbon brushes.

This chart provides information about “frozen” (rarely replaced) carbon brushes. Probably “frozen” brushes have a relatively weak clamping spring - as result, the carbon brush, apparently, did not do the job at all. -For example carbon brush C1R6 - was not deteriorated more than three years (The criterion for replacement is the size (deterioration) of the carbon brush).


Current condition
In the same way possible to analyze current data in order to predict probable problem (“burned” or “frozen” carbon brushes). This chart is based on current data, taken at December 2017.

“Importance” (to put attention) provides visual information about the number of days since last replacement- lower than second quintile, or upper then third quintile. The importance is calculated by the following principles: Maximum value - 10, is equivalent to the maximum distance from the second quantile down (for the low values -“burned” brushes) and from the third quantile up (for the upper values- “frozen” brushes) found in the whole engine history. The minimum value “1” - the number of days since last replacement, lays in the second or third quantiles.

Colors:
green- the number of days since last replacement lays in third or second quintile;

red- “burned” brush - the number of days since last replacement and lifetime of the previous brush in this place lay in the first quintile;

blue- “frozen” brush- the number of days since last replacement lays in the fourth quintile.