Class ConditionBasedReliability.ConditionIndicator
java.lang.Object
neqsim.process.safety.risk.condition.ConditionBasedReliability.ConditionIndicator
- All Implemented Interfaces:
Serializable
- Enclosing class:
ConditionBasedReliability
public static class ConditionBasedReliability.ConditionIndicator
extends Object
implements Serializable
Condition indicator for equipment health monitoring.
- Version:
- 1.0
- Author:
- NeqSim Development Team
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConditionIndicator(String id, String name, ConditionBasedReliability.ConditionIndicator.IndicatorType type) -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoubleGets health contribution (0-1).getName()doublegetType()doubledoublebooleanbooleanvoidsetThresholds(double normal, double warning, double critical) voidsetWeight(double weight) toMap()voidupdateValue(double value)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
indicatorId
-
name
-
type
-
currentValue
private double currentValue -
normalValue
private double normalValue -
warningThreshold
private double warningThreshold -
criticalThreshold
private double criticalThreshold -
weight
private double weight -
alarming
private boolean alarming -
critical
private boolean critical
-
-
Constructor Details
-
ConditionIndicator
public ConditionIndicator(String id, String name, ConditionBasedReliability.ConditionIndicator.IndicatorType type)
-
-
Method Details
-
setThresholds
public void setThresholds(double normal, double warning, double critical) -
updateValue
public void updateValue(double value) -
getHealthContribution
public double getHealthContribution()Gets health contribution (0-1).- Returns:
- health contribution
-
getIndicatorId
-
getName
-
getType
-
getCurrentValue
public double getCurrentValue() -
getNormalValue
public double getNormalValue() -
getWarningThreshold
public double getWarningThreshold() -
getCriticalThreshold
public double getCriticalThreshold() -
getWeight
public double getWeight() -
setWeight
public void setWeight(double weight) -
isAlarming
public boolean isAlarming() -
isCritical
public boolean isCritical() -
toMap
-