Package uk.ac.diamond.daq.gasrig
Class GasMix
java.lang.Object
uk.ac.diamond.daq.gasrig.GasMix
- All Implemented Interfaces:
Serializable,IGasMix
Represents a set of
GasFlows making up a gas mixture and implements
calculations relating to that mixture.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGasFlowByGasId(int id) doubledoubledoubledoubledoubledoublevoidsetTotalWeightedFlowLimit(double totalWeightedFlowLimit)
-
Constructor Details
-
GasMix
-
-
Method Details
-
getTotalPressure
public double getTotalPressure()- Specified by:
getTotalPressurein interfaceIGasMix
-
getGasFlowByGasId
- Specified by:
getGasFlowByGasIdin interfaceIGasMix- Throws:
GasRigException
-
getAllGasFlows
- Specified by:
getAllGasFlowsin interfaceIGasMix
-
getTotalMassFlow
public double getTotalMassFlow()- Specified by:
getTotalMassFlowin interfaceIGasMix
-
getTotalWeightedFlowLimit
public double getTotalWeightedFlowLimit()- Specified by:
getTotalWeightedFlowLimitin interfaceIGasMix
-
setTotalWeightedFlowLimit
public void setTotalWeightedFlowLimit(double totalWeightedFlowLimit) - Specified by:
setTotalWeightedFlowLimitin interfaceIGasMix
-
getMaximumTotalWeightedFlow
public double getMaximumTotalWeightedFlow()- Specified by:
getMaximumTotalWeightedFlowin interfaceIGasMix
-
getLowestNormalisedFlowRate
public double getLowestNormalisedFlowRate()- Specified by:
getLowestNormalisedFlowRatein interfaceIGasMix
-
getLowestWeightedFlow
public double getLowestWeightedFlow()- Specified by:
getLowestWeightedFlowin interfaceIGasMix
-