Enum Class DiagramDetailLevel
- All Implemented Interfaces:
Serializable, Comparable<DiagramDetailLevel>, Constable
Defines the level of detail to include in process flow diagrams.
Different detail levels are appropriate for different audiences and use cases:
- CONCEPTUAL - High-level overview for teaching, AI agents, documentation
- ENGINEERING - Full PFD with all process data, suitable for engineering review
- DEBUG - Maximum detail including solver info, stream compositions, etc.
This mirrors modes in commercial simulators like UniSim and Aspen HYSYS.
- Version:
- 1.0
- Author:
- NeqSim
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConceptual level - clean, simplified diagram.Debug level - maximum detail for troubleshooting.Engineering level - full PFD with process data. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanWhether to use compact node labels.private final booleanWhether to show stream compositions.private final booleanWhether to show process conditions (T, P).private final booleanWhether to show flow rates.private final booleanWhether to show equipment specifications. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDiagramDetailLevel(boolean showConditions, boolean showFlowRates, boolean showCompositions, boolean showSpecifications, boolean compactLabels) Constructor for DiagramDetailLevel. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether to show stream compositions.booleanWhether to show process conditions (temperature, pressure).booleanWhether to show flow rates.booleanWhether to show equipment specifications.booleanWhether to use compact node labels.static DiagramDetailLevelReturns the enum constant of this class with the specified name.static DiagramDetailLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONCEPTUAL
Conceptual level - clean, simplified diagram.Shows:
- Equipment names and types
- Stream connections
- Phase indicators (gas/liquid)
Hides:
- Process conditions (T, P)
- Flow rates
- Compositions
- Equipment specifications
Use for: Teaching, AI agents, high-level documentation
-
ENGINEERING
Engineering level - full PFD with process data.Shows:
- Everything in CONCEPTUAL
- Temperature and pressure
- Flow rates
- Equipment specifications
- Phase fractions
Hides:
- Full compositions
- Solver diagnostics
Use for: Engineering review, process design
-
DEBUG
Debug level - maximum detail for troubleshooting.Shows:
- Everything in ENGINEERING
- Full stream compositions
- Solver convergence info
- Calculation order
- Recycle loop indicators
- All internal streams
Use for: Debugging, solver troubleshooting
-
-
Field Details
-
showConditions
private final boolean showConditionsWhether to show process conditions (T, P). -
showFlowRates
private final boolean showFlowRatesWhether to show flow rates. -
showCompositions
private final boolean showCompositionsWhether to show stream compositions. -
showSpecifications
private final boolean showSpecificationsWhether to show equipment specifications. -
compactLabels
private final boolean compactLabelsWhether to use compact node labels.
-
-
Constructor Details
-
DiagramDetailLevel
private DiagramDetailLevel(boolean showConditions, boolean showFlowRates, boolean showCompositions, boolean showSpecifications, boolean compactLabels) Constructor for DiagramDetailLevel.- Parameters:
showConditions- whether to show T, P conditionsshowFlowRates- whether to show flow ratesshowCompositions- whether to show compositionsshowSpecifications- whether to show equipment specscompactLabels- whether to use compact labels
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
showConditions
public boolean showConditions()Whether to show process conditions (temperature, pressure).- Returns:
- true if conditions should be shown
-
showFlowRates
public boolean showFlowRates()Whether to show flow rates.- Returns:
- true if flow rates should be shown
-
showCompositions
public boolean showCompositions()Whether to show stream compositions.- Returns:
- true if compositions should be shown
-
showSpecifications
public boolean showSpecifications()Whether to show equipment specifications.- Returns:
- true if specifications should be shown
-
useCompactLabels
public boolean useCompactLabels()Whether to use compact node labels.- Returns:
- true if compact labels should be used
-