Spares Data Loader

About the Spares Data Loader

The Spares Data Loader allows the creation of Spares Analysis with its spares defined in Reliability Analytics.

Using the Spares Data Loader, you can import the following types of primary and third-party data from a fixed-format Excel workbook into the Spares Reliability Data Model

About the Spares Data Loader Requirements

To use the Spares Data Loader, your organization must have completed the deployment of the Reliability Analytics module.

Security Settings

The Security User performing the data load operation must be associated with either the MI Data Loader User or MI Data Loader Admin Security Role and must also be associated with the MI Reliability Administrator Security Group, the MI Reliability User Security Group, or a Security Role that is associated with this Security Group.

About the Spares Data Loader Data Model

Spares Data Loader Data Model

The following diagram shows how the families used in Spares Data Loader are related to one another.



Note: In the diagram, boxes represent entity families and arrows represent relationship families that are configured in the baseline database. You can determine the direction of each relationship definition from the direction of the arrow head: the box from which the arrow originates is the predecessor, and the box to which the arrow head points is the successor.

About the System Reliability Data Loader General Loading Strategy

Best Practices

When importing data using the Spares Data Loader, you must use the following best practices:

  • ID fields (row 2 of each worksheet) must not include special characters or spaces.
  • Columns in the worksheets should be formatted as either text or dates.
  • The first two rows of each worksheet should not be edited.
  • Only import a maximum of 500 analyses in each data load.

Limitations

This section documents a list of the limitations for the Spares Data Loader:

  1. The user must use the Spares Data Loader workbook (Spares Analysis.xlsx). Any modifications made by the user to the values in column headings in any of the worksheets will not be imported.
    Note: Any column values in a customized format will not be imported by the Spares Data Loader.
  2. If the user imports the same data multiple times, multiple analyses will be created.
  3. The Spare Name, Application Name, Population Name, and Failure Distribution Name cannot be updated by Spares Data Loader.

Load Sequence

  1. Create System Analysis record.
  2. Link a Spares Analysis record to Equipment or Functional Locations records through the Spares Analysis key relationship.
  3. Link a Spare parts record to a Spares Analysis through the Spares Analysis key relationship.
  4. Link an Application record to a Spares Analysis record through the Spares Analysis key relationship.
  5. Link a Population record to an Application record for a Spare parts record through the through the Application record relationship.
  6. Link a Failure Distribution record to an Application record for a Spare parts record through the through the Application record relationship.
  7. Link a Failure Consequence record to an Application record for a Spare parts record through the through the Application record relationship.
  8. Link a Preventive Maintenance record to an Application record for a Spare parts record through the through the Application record relationship.

About the Spares Data Loader Workbook Layout and Use

In order to import data using the Spares Data Loader, APM provides an Excel workbook (Spares Analysis.xlsx) that supports baseline Spares Analysis in APM. This template must be used to perform the data load.

The following table lists the worksheets that are included in the Spares Analysis workbook.
WorksheetDescription
Spares AnalysisThis worksheet is used to define Spares Analysis.
Link AssetThis worksheet is used to link equipment, or functional locations associated with the analysis.
SpareThis worksheet is used to define the spare parts associated with the analysis.
ApplicationThis worksheet is used to define the application of the spare parts.
PopulationThis worksheet is used to define the population and age of the spare parts.
Failure DistributionThis worksheet is used to define failure distribution of the spare parts.
Failure ConsequenceThis worksheet is used to define the failure consequences of the spare parts.
Preventive MaintenanceThis worksheet is used to define the preventive maintenance schedule for the spare parts.

Spares Analysis Worksheet

The following table lists the fields from the Spares Analysis worksheet that must be configured.

Field Caption

Field ID

Data Type (Length)

Comments

BatchKeyMI_Batch_KeyCharacter (50)This field is required and must be unique.
SiteIdMI_SITE_KEYCharacter (50)This field is required and must be unique. If the value in this field is blank, then the site will be set to Global by default.
Analysis NameMI_AN_ANALY_ID_CHRCharacter (255)This field is required and must be unique.
Simulation Start DateMI_AN_ANALY_START_DATE_DTDateThis field is required.
Simulation End DateMI_AN_ANALY_END_DATE_DTDateThis field is required.
Iteration NumberMI_SPARANAL_ITERA_NBR_NNumeric Standard is 1000. Must be a whole number.

Link Asset Worksheet

The following table lists the fields from the Link Asset worksheet that must be configured.

Field CaptionField IDData Type (Length)Comments
BatchKeyMI_Batch_KeyCharacter (50)This field is required and must match the Batch Key in the Spares Analysis worksheet.
Asset CategoryMI_Asset_CategoryCharacter (50)This field is a drop down of either Equipment or Functional Location.
Asset IdMI_ASSET_IDCharacter (255)This field is required.

Spares Worksheet

The following table lists the fields from the Spares worksheet that must be configured.

Field CaptionField IDData Type (Length)Comments
BatchKeyMI_Batch_KeyCharacter (50)This field is required and must match the Batch Key in the Spares Analysis worksheet.
Spare NameMI_SPARE_SPARE_ID_CCharacter (255)This field is required and must be unique.
Onsite Delivery TimeMI_SPARE_ONSIT_DT_VALUE_NNumericThis field is required.
Onsite Delivery Time UnitMI_SPARE_ONSIT_DT_UNIT_CCharacter (50)This field is a drop-down list.
Normal Order TimeMI_SPARE_NORM_OT_VALUE_NNumeric This field is required.
Normal Order Time UnitMI_SPARE_NORM_OT_UNIT_CCharacter (50)This field is a drop-down list.
Expedited Order Time ValueMI_SPARE_EXPE_OT_VALUE_NNumericThis field is required.
Expedited Order Time UnitMI_SPARE_EXPE_OT_UNIT_CCharacter (50)This field is a drop-down list.
Holding Cost Rate($) PerMI_SPARE_HOLDI_COST_RAT_NNumeric This field is required.
Holding Cost UnitMI_SPARE_HOLDI_COST_UNI_CCharacter (50)This field is a drop-down list.
Normal Cost ($)MI_SPARE_NORM_COST_NNumeric This field is required.
Expedited Cost ($)MI_SPARE_EXPE_COST_NNumericThis field is required.
Minimum Holding LevelMI_SPARE_MIN_INVEN_LEVE_NNumericMust be a whole number.
Maximum Holding LevelMI_SPARE_MAX_INVEN_LEVE_NNumericMust be a whole number.
Current Holding LevelMI_SPARE_CUR_HOLDI_LEVE_NNumeric Must be a whole number.

Application Worksheet

The following table lists the fields from the Application worksheet that must be configured.

Field CaptionField IDData Type (Length)Comments
BatchKeyMI_Batch_KeyCharacter (50)This field is required and must match the Batch Key in the Spares Analysis worksheet.
Spare NameMI_SPARE_SPARE_ID_CCharacter (255)This field is required and must match the Spare Name in the Spare worksheet.
Application NameMI_SPARAPPL_APPL_ID_CCharacter (50)This field is required.

Population Worksheet

The following table lists the fields from the Population worksheet that must be configured.

Field CaptionField IDData Type (Length)Comments
BatchKeyMI_Batch_KeyCharacter (50)This field is required and must match the Batch Key in the Spares Analysis worksheet.
Spare NameMI_SPARE_SPARE_ID_CCharacter (255)This field is required and must match the Spare Name in the Spare worksheet.
Application NameMI_SPARAPPL_APPL_ID_CCharacter (50)This field is required and must match the Application Name in the Application worksheet.
NameMI_SPAPPOPU_NAME_CCharacter (50)This field is required and must be unique.
AgeMI_SPAPPOPU_AGE_NNumericThis field is required.
Population SizeMI_SPAPPOPU_POPU_SIZE_NNumericThis field is required.
Age Time UnitMI_SPAPPOPU_AGE_TIME_UNIT_CCharacter (50)This field is required.

Failure Distribution Worksheet

The following table lists the fields from the Failure Distribution worksheet that must be configured. Based on what Distribution Type is selected, fields associated with that will also be required. For instance, if Lognormal is selected, then the Sigma-Lognormal field and Gamma-Lognormal field will also be required for numeric values to be entered.

Field CaptionField IDData Type (Length)Comments
BatchKeyMI_Batch_KeyCharacter (50)This field is required and must match the Batch Key in the Spares Analysis worksheet.
Spare NameMI_SPARE_SPARE_ID_CCharacter (255)This field is required and must match the Spare Name in the Spare worksheet.
Application NameMI_SPARAPPL_APPL_ID_CCharacter (50)This field is required and must match the Application Name in the Application worksheet.
Analysis NameMI_AN_ANALY_ID_CHRCharacter (255)This field is required and must match the Analysis Name in the Spares Analysis worksheet.
Distribution TypeMI_AN_ANALY_TYPE_CHRCharacter (50)Select from the dropdown list of distribution types.
Time UnitMI_DISTRIB_UNITS_CHRCharacter (50)This field is a drop-down list.

Failure Consequences Worksheet

The following table lists the fields from the Failure Consequences worksheet that must be configured.

Field CaptionField IDData Type (Length)Comments
BatchKeyMI_Batch_KeyCharacter (50)This field is required and must match the Batch Key in the Spares Analysis worksheet.
Spare NameMI_SPARE_SPARE_ID_CCharacter (255)This field is required and must match the Spare Name in the Spare worksheet.
Application NameMI_SPARAPPL_APPL_ID_CCharacter (50)This field is required and must match the Application Name in the Application worksheet.
Preparation TimeMI_SPARAPPL_PREP_TIME_VALU_NNumericThis field is required.
Preparation Time UnitMI_SPARAPPL_PREP_TIME_UNIT_CCharacter (50)Select from the dropdown list of distribution types.
Repair TimeMI_SPARAPPL_REP_TIME_VALUE_NNumericThis field is required.
Repair Time UnitMI_SPARAPPL_REP_TIME_UNIT_CCharacter (50)Select from the dropdown list of distribution types.
Labor Cost ($)MI_SPARAPPL_PM_LABOR_COST_NNumericThis field is required.
Fixed Lost Production ($)MI_SPARAPPL_FIXED_LP_COST_NNumericThis field is required.
Variable Lost Production Cost Rate ($)MI_SPARAPPL_VARIA_LP_COST_NNumeric This field is required.
UnitMI_SPARAPPL_VARIA_LP_UNIT_CCharacter (50)Select from the dropdown list.
# of Required SparesMI_SPARAPPL_REQUI_SPARE_NNumericMust be a whole number.

Preventive Maintenance Worksheet

The following table lists the fields from the Preventive Maintenance worksheet that must be configured.

Field CaptionField IDData Type (Length)Comments
BatchKeyMI_Batch_KeyCharacter (50)This field is required and must match the Batch Key in the Spares Analysis worksheet.
Spare NameMI_SPARE_SPARE_ID_CCharacter (255)This field is required and must match the Spare Name in the Spare worksheet.
Application NameMI_SPARAPPL_APPL_ID_CCharacter (50)This field is required and must match the Application Name in the Application worksheet.
Enable Preventive MaintenanceMI_SPARAPPL_ENABL_PM_FBooleanSelect from the dropdown list.
Time-Based Replacement IntervalMI_SPARAPPL_PM_INTER_VALUE_NNumericThis field is required.
Time-Based Replacement Interval UnitMI_SPARAPPL_PM_INTER_UNIT_CCharacter (50)Select from the dropdown list.
Labor Cost ($)MI_SPARAPPL_PM_LABOR_COST_NNumeric This field is required.
DowntimeMI_SPARAPPL_PM_DURAT_VALUE_NNumericThis field is required.
UnitMI_SPARAPPL_VARIA_LP_UNIT_CCharacter (50)Select from the dropdown list.

About the Spares Data Loader Load Verification

Following a successful data load, you can navigate to the Spares Analysis section of the RA Overview page and view the analysis created from the imported workbook.

A successful import can also be defined as an event where partial data on a worksheet was loaded into APM, and where the user was given appropriate messaging that enabled him or her to identify and correct issues resulting from the import.