Part 9 - Extending the model
This article is a part of "Creating an Equipment model" tutorial
Next, let us consider a situation where the pump has four bearings. Those bearings are vibrating at a specific amount while the pump is running. All the bearings have specified severity risks for the amount of vibration. If the vibration level rises over 2.8 mm/s, bearings will wear out faster and have a significantly higher chance of breaking.
The pump has nine built-in sensors. Each bearing has two sensors that are measuring vibration along a different axis. The electric motor that is driving the pump has one temperature sensor. The safe operating temperature is under 95 degrees Celcius.
This kind of setup is typical in several circumstances. By monitoring the condition of the real-life equipment, outages, and equipment failure can be prevented before they happen. In this example, we will monitor the pump's temperature as well as bearing vibration. By collecting and analyzing the data, an alarm can be triggered when the vibration level rises above a specified level.
Extending the existing model
To complete this setup using the Equipment Model, let us create new equipment types and properties for the already existing equipment type "Pump". First, we will need a new equipment type "Bearing". Let's create a new equipment type by using helper method introduced in the Part 3 - Equipment types of the tutorial series.
var bearingType = CreateOrUpdateEquipmentType(
equipmentTypeName: "Bearing",
baseEquipmentType: mechanicalEquipmentType,
isAbstract: false);Next, we can create equipment properties. The "Bearing" equipment type will have two properties - vibration along the x-axis, and vibration along the y-axis. The equipment model "Pump" will have one new equipment property, "Temperature". New equipment properties can be created using the helper method introduced in Part 4 - Equipment properties of the tutorial series.
// Pump properties
// ===============
CreateOrUpdateEquipmentProperty(
propertyName: "Temperature",
propertyType: ABB.Vtrin.cTypeCode.Double,
propertyUnit: "C",
propertyDescription: "The temperature of the pump",
isHistorized: true,
equipmentType: pumpType);
// Bearing properties
// ==================
CreateOrUpdateEquipmentProperty(
propertyName: "X-axis vibration",
propertyType: ABB.Vtrin.cTypeCode.Double,
propertyUnit: "mm / s",
propertyDescription: "The vibration along the x-axis",
isHistorized: true,
equipmentType: bearingType);
CreateOrUpdateEquipmentProperty(
propertyName: "y-axis vibration",
propertyType: ABB.Vtrin.cTypeCode.Double,
propertyUnit: "mm / s",
propertyDescription: "The vibration along the y-axis",
isHistorized: true,
equipmentType: bearingType);Updated 5 months ago
