Class PackingSpecification
java.lang.Object
neqsim.process.equipment.distillation.internals.PackingSpecification
- All Implemented Interfaces:
Serializable
Immutable packed-column packing data used by hydraulic and rate-based column models.
The specification stores geometry, hydraulic capacity, material wetting data, and optional Billet-Schultes constants in one reusable object. Nominal size is stored in millimetres to match vendor and NeqSim design-data tables.
- Version:
- 1.0
- Author:
- NeqSim
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleBillet-Schultes gas-side constant.private final doubleBillet-Schultes liquid-side constant.private final StringPacking category such as random or structured.private final doubleCritical surface tension in newtons per metre.private final StringPacking material such as metal, plastic, or ceramic.private final StringPacking display name.private final doubleNominal packing size in millimetres.private final doublePacking factor used by GPDC-style hydraulic correlations.private static final longSerialization version UID.private final StringSource text for traceability.private final doubleSpecific surface area in square metres per cubic metre.private final doublePacking void fraction. -
Constructor Summary
ConstructorsConstructorDescriptionPackingSpecification(String name, String category, String material, double nominalSizeMm, double specificSurfaceArea, double voidFraction, double packingFactor, double criticalSurfaceTension, double billetLiquidConstant, double billetGasConstant, String source) Create a packing specification. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the Billet-Schultes gas-side constant.doubleGet the Billet-Schultes liquid-side constant.Get the packing category.doubleGet the critical surface tension.Get the packing material.getName()Get the packing display name.doubleGet the nominal packing size.doubleGet the nominal packing size.doubleGet the hydraulic packing factor.Get the source description.doubleGet the specific surface area.doubleGet the void fraction.booleanCheck whether this packing is structured.private static StringrequireText(String value, String fieldName) Require a non-empty text field.private static voidvalidateFraction(double value, String fieldName) Validate that a numeric value is a fraction between zero and one.private static voidvalidateNonNegative(double value, String fieldName) Validate that a numeric value is non-negative and finite.private static voidvalidatePositive(double value, String fieldName) Validate that a numeric value is positive and finite.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
name
Packing display name. -
category
Packing category such as random or structured. -
material
Packing material such as metal, plastic, or ceramic. -
nominalSizeMm
private final double nominalSizeMmNominal packing size in millimetres. -
specificSurfaceArea
private final double specificSurfaceAreaSpecific surface area in square metres per cubic metre. -
voidFraction
private final double voidFractionPacking void fraction. -
packingFactor
private final double packingFactorPacking factor used by GPDC-style hydraulic correlations. -
criticalSurfaceTension
private final double criticalSurfaceTensionCritical surface tension in newtons per metre. -
billetLiquidConstant
private final double billetLiquidConstantBillet-Schultes liquid-side constant. -
billetGasConstant
private final double billetGasConstantBillet-Schultes gas-side constant. -
source
Source text for traceability.
-
-
Constructor Details
-
PackingSpecification
public PackingSpecification(String name, String category, String material, double nominalSizeMm, double specificSurfaceArea, double voidFraction, double packingFactor, double criticalSurfaceTension, double billetLiquidConstant, double billetGasConstant, String source) Create a packing specification.- Parameters:
name- packing display namecategory- packing category, normally random or structuredmaterial- packing material, for example metal, plastic, or ceramicnominalSizeMm- nominal packing size in millimetres, or zero for structured packingspecificSurfaceArea- specific surface area in m2/m3, must be positivevoidFraction- void fraction from zero to one, must be positivepackingFactor- hydraulic packing factor in 1/m, must be positivecriticalSurfaceTension- critical surface tension in N/m, must be positivebilletLiquidConstant- Billet-Schultes liquid-side constant, must be positivebilletGasConstant- Billet-Schultes gas-side constant, must be positivesource- source description for the data- Throws:
IllegalArgumentException- if a required numeric value is outside its valid range
-
-
Method Details
-
requireText
Require a non-empty text field.- Parameters:
value- text value to checkfieldName- name of the field being checked- Returns:
- trimmed text value
- Throws:
IllegalArgumentException- if the value is null or empty
-
validatePositive
Validate that a numeric value is positive and finite.- Parameters:
value- value to validatefieldName- name of the field being checked- Throws:
IllegalArgumentException- if the value is not positive or finite
-
validateNonNegative
Validate that a numeric value is non-negative and finite.- Parameters:
value- value to validatefieldName- name of the field being checked- Throws:
IllegalArgumentException- if the value is negative or not finite
-
validateFraction
Validate that a numeric value is a fraction between zero and one.- Parameters:
value- value to validatefieldName- name of the field being checked- Throws:
IllegalArgumentException- if the value is outside the open interval zero to one
-
getName
-
getCategory
-
getMaterial
-
getNominalSizeMm
public double getNominalSizeMm()Get the nominal packing size.- Returns:
- nominal size in millimetres
-
getNominalSizeM
public double getNominalSizeM()Get the nominal packing size.- Returns:
- nominal size in metres
-
getSpecificSurfaceArea
public double getSpecificSurfaceArea()Get the specific surface area.- Returns:
- specific surface area in m2/m3
-
getVoidFraction
public double getVoidFraction()Get the void fraction.- Returns:
- void fraction
-
getPackingFactor
public double getPackingFactor()Get the hydraulic packing factor.- Returns:
- packing factor in 1/m
-
getCriticalSurfaceTension
public double getCriticalSurfaceTension()Get the critical surface tension.- Returns:
- critical surface tension in N/m
-
getBilletLiquidConstant
public double getBilletLiquidConstant()Get the Billet-Schultes liquid-side constant.- Returns:
- liquid-side constant
-
getBilletGasConstant
public double getBilletGasConstant()Get the Billet-Schultes gas-side constant.- Returns:
- gas-side constant
-
getSource
-
isStructured
public boolean isStructured()Check whether this packing is structured.- Returns:
- true if the category is structured
-