Class HeatExchangerElectricalDesign
java.lang.Object
neqsim.process.electricaldesign.ElectricalDesign
neqsim.process.electricaldesign.heatexchanger.HeatExchangerElectricalDesign
- All Implemented Interfaces:
Serializable
Electrical design for heat exchangers (heaters, coolers, and heat exchangers).
Extends ElectricalDesign with heat-exchanger-specific electrical requirements. The
electrical design depends on the type of heat exchanger:
- Electric heater: Full heating duty is electrical (resistance heating elements)
- Air cooler: Fan motor(s) sized based on cooling duty — typically 0.5-2% of thermal duty, minimum 2 kW
- Shell-and-tube: Cooling water pump and instrumentation only
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of heat exchanger for electrical sizing. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate doubleprivate doubleprivate intprivate static final longSerialization version UID.private double -
Constructor Summary
ConstructorsConstructorDescriptionHeatExchangerElectricalDesign(ProcessEquipmentInterface processEquipment) Constructor for HeatExchangerElectricalDesign. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidAuto-detect the heat exchanger type from the equipment class.voidRun the electrical design calculation.private voidCalculate auxiliary loads (instrumentation, CW pump).doubleGet cooling water pump power in kW.doubleGet the fan efficiency.Get the heat exchanger type.doubleGet instrumentation power in kW.intGet the number of fans (for air coolers).protected doubleGet shaft power from the process equipment.doubleGet the total auxiliary power in kW.doubleGet the total connected load including main duty and auxiliaries.voidRead design specifications from data sources.voidsetCoolingWaterPumpKW(double coolingWaterPumpKW) Set cooling water pump power in kW.voidsetFanEfficiency(double fanEfficiency) Set the fan efficiency.voidsetHeatExchangerType(HeatExchangerElectricalDesign.HeatExchangerType heatExchangerType) Set the heat exchanger type.voidsetInstrumentationKW(double instrumentationKW) Set instrumentation power in kW.voidsetNumberOfFans(int numberOfFans) Set the number of fans (for air coolers).Methods inherited from class ElectricalDesign
getApparentPowerKVA, getCableDeratingFactor, getCableStandard, getControlCable, getDiversityFactor, getElectricalInputKW, getFrequencyHz, getFullLoadCurrentA, getHazArea, getHazAreaStandard, getMotor, getMotorSizingMargin, getMotorStandard, getPhases, getPowerCable, getPowerFactor, getProcessEquipment, getRatedVoltageV, getReactivePowerKVAR, getShaftPowerKW, getStartingCurrentA, getSwitchgear, getTotalElectricalLossesKW, getTransformer, getVfd, isContinuousDuty, isUseVFD, setApparentPowerKVA, setCableDeratingFactor, setCableStandard, setContinuousDuty, setControlCable, setDiversityFactor, setElectricalInputKW, setFrequencyHz, setHazArea, setHazAreaStandard, setMotor, setMotorSizingMargin, setMotorStandard, setPhases, setPowerCable, setPowerFactor, setRatedVoltageV, setReactivePowerKVAR, setShaftPowerKW, setSwitchgear, setTransformer, setUseVFD, setVfd, toJson
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
heatExchangerType
-
numberOfFans
private int numberOfFans -
fanEfficiency
private double fanEfficiency -
instrumentationKW
private double instrumentationKW -
coolingWaterPumpKW
private double coolingWaterPumpKW -
totalAuxiliaryKW
private double totalAuxiliaryKW
-
-
Constructor Details
-
HeatExchangerElectricalDesign
Constructor for HeatExchangerElectricalDesign.- Parameters:
processEquipment- the heat exchanger equipment
-
-
Method Details
-
autoDetectType
private void autoDetectType()Auto-detect the heat exchanger type from the equipment class. -
getProcessShaftPowerKW
protected double getProcessShaftPowerKW()Get shaft power from the process equipment.Default returns the manually set shaftPowerKW value. Equipment-specific subclasses should override this to read from the process equipment directly.
For electric heaters, the shaft power represents the heating element power derived from the process duty. For air coolers, this returns fan motor shaft power. For shell-and-tube, returns zero (auxiliary loads only).
- Overrides:
getProcessShaftPowerKWin classElectricalDesign- Returns:
- shaft power in kW
-
readDesignSpecifications
public void readDesignSpecifications()Read design specifications from data sources.Subclasses can override to load equipment-specific electrical specifications.
- Overrides:
readDesignSpecificationsin classElectricalDesign
-
calcDesign
public void calcDesign()Run the electrical design calculation.Sizes the motor, optional VFD, cables, and switchgear based on the process equipment's shaft power requirement.
- Overrides:
calcDesignin classElectricalDesign
-
calculateAuxiliaryLoads
private void calculateAuxiliaryLoads()Calculate auxiliary loads (instrumentation, CW pump). -
getTotalAuxiliaryKW
public double getTotalAuxiliaryKW()Get the total auxiliary power in kW.- Returns:
- total auxiliary power in kW
-
getTotalConnectedLoadKW
public double getTotalConnectedLoadKW()Get the total connected load including main duty and auxiliaries.- Returns:
- total connected load in kW
-
getHeatExchangerType
Get the heat exchanger type.- Returns:
- heat exchanger type
-
setHeatExchangerType
Set the heat exchanger type.- Parameters:
heatExchangerType- heat exchanger type
-
getNumberOfFans
public int getNumberOfFans()Get the number of fans (for air coolers).- Returns:
- number of fans
-
setNumberOfFans
public void setNumberOfFans(int numberOfFans) Set the number of fans (for air coolers).- Parameters:
numberOfFans- number of fans
-
getFanEfficiency
public double getFanEfficiency()Get the fan efficiency.- Returns:
- fan efficiency (0-1)
-
setFanEfficiency
public void setFanEfficiency(double fanEfficiency) Set the fan efficiency.- Parameters:
fanEfficiency- fan efficiency (0-1)
-
getInstrumentationKW
public double getInstrumentationKW()Get instrumentation power in kW.- Returns:
- instrumentation power in kW
-
setInstrumentationKW
public void setInstrumentationKW(double instrumentationKW) Set instrumentation power in kW.- Parameters:
instrumentationKW- instrumentation power in kW
-
getCoolingWaterPumpKW
public double getCoolingWaterPumpKW()Get cooling water pump power in kW.- Returns:
- cooling water pump power in kW
-
setCoolingWaterPumpKW
public void setCoolingWaterPumpKW(double coolingWaterPumpKW) Set cooling water pump power in kW.- Parameters:
coolingWaterPumpKW- cooling water pump power in kW
-