Class WaterLevelTransmitter
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.measurementdevice.MeasurementDeviceBaseClass
neqsim.process.measurementdevice.WaterLevelTransmitter
- All Implemented Interfaces:
Serializable, MeasurementDeviceInterface, NamedInterface
WaterLevelTransmitter class for measuring water level in three-phase separators.
This transmitter measures the water level from the bottom of the separator. In a three-phase separator, water is the heaviest phase and settles at the bottom, with oil floating on top of the water, and gas in the upper portion.
- Version:
- $Id: $Id
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ThreePhaseSeparatorprivate static final longSerialization version UID.Fields inherited from class MeasurementDeviceBaseClass
unitFields inherited from class NamedBaseClass
name -
Constructor Summary
ConstructorsConstructorDescriptionWaterLevelTransmitter(String name, ThreePhaseSeparator separator) Constructor for WaterLevelTransmitter.WaterLevelTransmitter(ThreePhaseSeparator separator) Constructor for WaterLevelTransmitter. -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayResult.doublegetMeasuredValue(String unit) Get Measured value in specified unit.Methods inherited from class MeasurementDeviceBaseClass
acknowledgeAlarm, applySignalModifiers, doConditionAnalysis, evaluateAlarm, getAlarmConfig, getAlarmState, getConditionAnalysisMaxDeviation, getConditionAnalysisMessage, getDelaySteps, getMaximumValue, getMeasuredPercentValue, getMinimumValue, getNoiseStdDev, getOnlineMeasurementValue, getOnlineSignal, getUnit, isLogging, isOnlineSignal, runConditionAnalysis, setAlarmConfig, setConditionAnalysis, setConditionAnalysisMaxDeviation, setDelaySteps, setIsOnlineSignal, setLogging, setMaximumValue, setMinimumValue, setNoiseStdDev, setOnlineMeasurementValue, setOnlineSignal, setQualityCheckMessage, setRandomSeed, setUnitMethods inherited from class NamedBaseClass
getName, getTagName, setName, setTagNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MeasurementDeviceInterface
equals, getMeasuredValue, getOnlineValue, hashCodeMethods inherited from interface NamedInterface
getName, getTagName, setName, setTagName
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
separator
-
-
Constructor Details
-
WaterLevelTransmitter
Constructor for WaterLevelTransmitter.
- Parameters:
separator- aThreePhaseSeparatorobject
-
WaterLevelTransmitter
Constructor for WaterLevelTransmitter.
- Parameters:
name- Name of WaterLevelTransmitterseparator- aThreePhaseSeparatorobject
-
-
Method Details
-
displayResult
public void displayResult()displayResult.
- Specified by:
displayResultin interfaceMeasurementDeviceInterface- Overrides:
displayResultin classMeasurementDeviceBaseClass
-
getMeasuredValue
Get Measured value in specified unit.
- Specified by:
getMeasuredValuein interfaceMeasurementDeviceInterface- Overrides:
getMeasuredValuein classMeasurementDeviceBaseClass- Parameters:
unit- aStringobject- Returns:
- a double
-