primaryComponent
Primary component to report via getMeasuredValue().
Serializable, MeasurementDeviceInterface, ProcessElementInterface, NamedInterfaceThe monitor tracks:
Usage example:
ImpurityMonitor monitor = new ImpurityMonitor("WH-H2-Monitor", stream);
monitor.addTrackedComponent("hydrogen", 0.04); // Track H2, alarm at 4 mol%
monitor.addTrackedComponent("nitrogen", 0.10); // Track N2, alarm at 10 mol%
// After process.run():
double h2InGas = monitor.getGasPhaseMoleFraction("hydrogen");
double enrichment = monitor.getEnrichmentFactor("hydrogen");
Map<String, Map<String, Double>> report = monitor.getFullReport();
private Stringprivate static final longstreamunitnameImpurityMonitor(String name,
StreamInterface stream) ImpurityMonitor(StreamInterface stream) voidaddTrackedComponent(String componentName) voidaddTrackedComponent(String componentName,
double alarmThresholdMolFrac) voiddoublegetBulkMoleFraction(String componentName) doublegetEnrichmentFactor(String componentName) doubledoublegetGasPhaseMoleFraction(String componentName) doublegetLiquidPhaseMoleFraction(String componentName) doubledoublegetMeasuredValue(String unit) intbooleanisAlarmExceeded(String componentName) voidsetPrimaryComponent(String componentName) getMeasuredValue(String).getStream, setStreamacknowledgeAlarm, applySignalModifiers, clearFault, doConditionAnalysis, evaluateAlarm, getAlarmConfig, getAlarmState, getConditionAnalysisMaxDeviation, getConditionAnalysisMessage, getDelaySteps, getFaultParameter, getFaultType, getFieldValue, getFirstOrderTimeConstant, getMaximumValue, getMeasuredPercentValue, getMinimumValue, getNoiseStdDev, getOnlineMeasurementValue, getOnlineSignal, getTag, getTagRole, getUnit, hasFieldValue, isAlarmShelved, isLogging, isOnlineSignal, runConditionAnalysis, setAlarmConfig, setConditionAnalysis, setConditionAnalysisMaxDeviation, setDelaySteps, setFault, setFieldValue, setFirstOrderTimeConstant, setIsOnlineSignal, setLogging, setMaximumValue, setMinimumValue, setNoiseStdDev, setOnlineMeasurementValue, setOnlineSignal, setQualityCheckMessage, setRandomSeed, setTag, setTagRole, setUnit, shelveAlarm, shelveAlarm, unshelveAlarmgetName, getTagNumber, setName, setTagNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyFieldValue, equals, getDeviation, getOnlineValue, getRelativeDeviation, hashCodegetName, getTagName, getTagNumber, setName, setTagName, setTagNumberstream - the stream to monitorname - the device name/tagstream - the stream to monitorcomponentName - the name of the component as registered in the fluidalarmThresholdMolFrac - the gas phase mole fraction threshold for alarm (0 to disable)componentName - the name of the componentgetMeasuredValue(String).componentName - the component namecomponentName - the component namecomponentName - the component namecomponentName - the component namecomponentName - the component namecomponentName - the component nameGet Measured value in specified unit.
getMeasuredValue in interface MeasurementDeviceInterfacegetMeasuredValue in class MeasurementDeviceBaseClassunit - a String objectdisplayResult.
displayResult in interface MeasurementDeviceInterfacedisplayResult in class MeasurementDeviceBaseClass