Class DexpiProcessUnit
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.processmodel.dexpi.DexpiProcessUnit
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, SimulationInterface, NamedInterface
Lightweight placeholder for equipment imported from a DEXPI XML file.
This class records the original DEXPI class together with the mapped EquipmentEnum
category and contextual information like line numbers or fluid codes.
- Version:
- 1.0
- Author:
- NeqSim
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate final Stringprivate final EquipmentEnumprivate static final longFields inherited from class ProcessEquipmentBaseClass
conditionAnalysisMessage, energyStream, hasController, isSolved, properties, reportFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
ConstructorsConstructorDescriptionDexpiProcessUnit(String name, String dexpiClass, EquipmentEnum mappedEquipment, String lineNumber, String fluidCode) Creates a new DEXPI process unit. -
Method Summary
Modifier and TypeMethodDescriptionGets the original DEXPI component class.Gets the fluid code reference.Gets the line number reference.Gets the mapped NeqSim equipment type.voidrun()voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.Methods inherited from class ProcessEquipmentBaseClass
copy, displayResult, equals, getConditionAnalysisMessage, getController, getEnergyStream, getEntropyProduction, getExergyChange, getMassBalance, getMassBalance, getMechanicalDesign, getMinimumFlow, getPressure, getPressure, getProperty, getReport_json, getResultTable, getSpecification, getTemperature, getTemperature, getThermoSystem, hashCode, initMechanicalDesign, isActive, isActive, isSetEnergyStream, reportResults, run_step, runConditionAnalysis, setController, setEnergyStream, setEnergyStream, setFlowValveController, setMinimumFlow, setPressure, setRegulatorOutSignal, setSpecification, setTemperature, solved, toJson, toJsonMethods inherited from class SimulationBaseClass
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTimeMethods inherited from class NamedBaseClass
getName, getTagName, setName, setTagNameMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamedInterface
getName, getTagName, setName, setTagNameMethods inherited from interface ProcessEquipmentInterface
getCapacityDuty, getCapacityMax, getExergyChange, getFluid, getRestCapacity, needRecalculation, validateSetupMethods inherited from interface SimulationInterface
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, run_step, runTransient, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
dexpiClass
-
mappedEquipment
-
lineNumber
-
fluidCode
-
-
Constructor Details
-
DexpiProcessUnit
public DexpiProcessUnit(String name, String dexpiClass, EquipmentEnum mappedEquipment, String lineNumber, String fluidCode) Creates a new DEXPI process unit.- Parameters:
name- the equipment tag namedexpiClass- the original DEXPI component classmappedEquipment- the mapped NeqSim equipment typelineNumber- the line number reference (may be null)fluidCode- the fluid code reference (may be null)
-
-
Method Details
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Parameters:
id- UUID
-
run
public void run() -
getDexpiClass
Gets the original DEXPI component class.- Returns:
- the DEXPI class name
-
getMappedEquipment
Gets the mapped NeqSim equipment type.- Returns:
- the equipment enum
-
getLineNumber
Gets the line number reference.- Returns:
- the line number, or null if not set
-
getFluidCode
Gets the fluid code reference.- Returns:
- the fluid code, or null if not set
-