Class PipingRouteBuilder.MinorLoss
java.lang.Object
neqsim.process.equipment.pipeline.routing.PipingRouteBuilder.MinorLoss
- All Implemented Interfaces:
Serializable
- Enclosing class:
PipingRouteBuilder
One K-value minor loss attached to a route segment.
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate final Stringprivate final doubleprivate static final longSerialization version UID. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns equivalent length ratio L/D.Returns the fitting type description.doubleReturns resistance coefficient K.toMap()Converts the minor loss to a JSON-friendly map.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
fittingType
-
kValue
private final double kValue -
equivalentLengthRatio
private double equivalentLengthRatio
-
-
Constructor Details
-
MinorLoss
Creates one minor loss.- Parameters:
fittingType- fitting or valve descriptionkValue- resistance coefficient KequivalentLengthRatio- equivalent length ratio L/D
-
-
Method Details
-
getFittingType
Returns the fitting type description.- Returns:
- fitting type description
-
getKValue
public double getKValue()Returns resistance coefficient K.- Returns:
- resistance coefficient K
-
getEquivalentLengthRatio
public double getEquivalentLengthRatio()Returns equivalent length ratio L/D.- Returns:
- equivalent length ratio L/D
-
toMap
-