Class OREDADataImporter.ReliabilityRecord
java.lang.Object
neqsim.process.safety.risk.data.OREDADataImporter.ReliabilityRecord
- All Implemented Interfaces:
Serializable
- Enclosing class:
OREDADataImporter
Reliability record from OREDA data.
- Since:
- 3.3.0
- Version:
- 1.0
- Author:
- NeqSim Development Team
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleCalculates availability based on MTBF and MTTR.Gets the confidence level.Gets the data source.Gets the equipment class.Gets the equipment type.Gets the failure mode.doubleGets the failure rate per hour.doubleGets failure rate per year.getKey()Gets the unique key for this record.doubleGets the mean time between failures in hours.doubleGets the mean time to repair in hours.getNotes()Gets additional notes.voidSets additional notes.toMap()Converts record to map for JSON serialization.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
equipmentType
-
equipmentClass
-
failureMode
-
failureRate
private double failureRate -
mtbfHours
private double mtbfHours -
mttrHours
private double mttrHours -
dataSource
-
confidence
-
notes
-
-
Constructor Details
-
ReliabilityRecord
public ReliabilityRecord(String equipmentType, String equipmentClass, String failureMode, double failureRate, double mtbfHours, double mttrHours, String dataSource, String confidence) Creates a reliability record.- Parameters:
equipmentType- equipment type (e.g., "Compressor")equipmentClass- equipment class (e.g., "Centrifugal")failureMode- failure mode (e.g., "All modes", "Critical")failureRate- failure rate per hourmtbfHours- mean time between failures in hoursmttrHours- mean time to repair in hoursdataSource- data source (e.g., "OREDA-2015")confidence- confidence level (e.g., "High", "Medium", "Low")
-
-
Method Details
-
getEquipmentType
-
getEquipmentClass
-
getFailureMode
-
getFailureRate
public double getFailureRate()Gets the failure rate per hour.- Returns:
- failure rate (failures per hour)
-
getMtbfHours
public double getMtbfHours()Gets the mean time between failures in hours.- Returns:
- MTBF in hours
-
getMttrHours
public double getMttrHours()Gets the mean time to repair in hours.- Returns:
- MTTR in hours
-
getDataSource
-
getConfidence
-
getNotes
-
setNotes
-
getKey
Gets the unique key for this record.- Returns:
- key in format "EquipmentType|EquipmentClass|FailureMode"
-
getAvailability
public double getAvailability()Calculates availability based on MTBF and MTTR.- Returns:
- availability as fraction (0-1)
-
getFailureRatePerYear
public double getFailureRatePerYear()Gets failure rate per year.- Returns:
- failure rate per year
-
toMap
-
toString
-