Class CharacterizationOptions
java.lang.Object
neqsim.thermo.characterization.CharacterizationOptions
Configuration options for fluid characterization operations.
This class provides a fluent API for configuring how pseudo-component characterization is performed, including options for:
- Binary interaction parameter (BIP) transfer from reference fluids
- Component naming conventions
- Composition normalization
- Validation report generation
Example usage:
CharacterizationOptions options =
CharacterizationOptions.builder().transferBinaryInteractionParameters(true)
.normalizeComposition(true).namingScheme(NamingScheme.REFERENCE).build();
SystemInterface characterized =
PseudoComponentCombiner.characterizeToReference(source, reference, options);
- Author:
- ESOL
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for CharacterizationOptions.static enumNaming scheme for pseudo-components in the characterized fluid. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final booleanprivate final CharacterizationOptions.NamingSchemeprivate final booleanprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder with default options.static CharacterizationOptionsdefaults()Creates default options with BIP transfer enabled.doubleTolerance for composition normalization and validation.The naming scheme to use for pseudo-components.booleanWhether to generate a validation report comparing before/after properties.booleanWhether to normalize composition after characterization.booleanWhether to transfer binary interaction parameters from the reference fluid.static CharacterizationOptionsCreates options with BIP transfer enabled.
-
Field Details
-
transferBinaryInteractionParameters
private final boolean transferBinaryInteractionParameters -
normalizeComposition
private final boolean normalizeComposition -
namingScheme
-
generateValidationReport
private final boolean generateValidationReport -
compositionTolerance
private final double compositionTolerance
-
-
Constructor Details
-
CharacterizationOptions
-
-
Method Details
-
isTransferBinaryInteractionParameters
public boolean isTransferBinaryInteractionParameters()Whether to transfer binary interaction parameters from the reference fluid.- Returns:
- true if BIPs should be transferred
-
isNormalizeComposition
public boolean isNormalizeComposition()Whether to normalize composition after characterization.- Returns:
- true if composition should be normalized to sum to 1.0
-
getNamingScheme
The naming scheme to use for pseudo-components.- Returns:
- the naming scheme
-
isGenerateValidationReport
public boolean isGenerateValidationReport()Whether to generate a validation report comparing before/after properties.- Returns:
- true if validation report should be generated
-
getCompositionTolerance
public double getCompositionTolerance()Tolerance for composition normalization and validation.- Returns:
- the composition tolerance
-
builder
Creates a new builder with default options.- Returns:
- a new builder instance
-
defaults
Creates default options with BIP transfer enabled.- Returns:
- default options instance
-
withBipTransfer
Creates options with BIP transfer enabled.- Returns:
- options with BIP transfer
-