Class AirCooler
- All Implemented Interfaces:
Serializable, Runnable, HeaterInterface, ProcessEquipmentInterface, TwoPortInterface, SimulationInterface, NamedInterface
Air cooler using humid air properties to estimate required air flow.
- Author:
- esol
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleprivate static final longFields inherited from class Heater
coolingMediumTemperature, dT, lastDuty, lastFlowRate, lastOutPressure, lastOutTemperature, lastPressure, lastPressureDrop, lastTemperature, mechanicalDesign, pressureOut, setOutPressure, setTemperature, system, temperatureOutFields inherited from class TwoPortEquipment
inStream, outStreamFields inherited from class ProcessEquipmentBaseClass
conditionAnalysisMessage, energyStream, hasController, isSolved, properties, reportFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for AirCooler.AirCooler(String name, StreamInterface inStream) Constructor for AirCooler. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcalcAirFlow(double duty) doubleGetter for the fieldairMassFlow.doubleGetter for the fieldairVolumeFlow.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetAirInletTemperature(double temperature, String unit) Setter for the fieldairInletTemperature.voidsetAirOutletTemperature(double temperature, String unit) Setter for the fieldairOutletTemperature.voidsetPressure(double pressure) Setter for the fieldpressure.voidsetRelativeHumidity(double rh) Setter for the fieldrelativeHumidity.Methods inherited from class Cooler
getEntropyProduction, getMechanicalDesign, initMechanicalDesign, toJson, toJsonMethods inherited from class Heater
displayResult, getCapacityDuty, getCapacityMax, getDuty, getDuty, getEnergyInput, getExergyChange, getPressureDrop, getUtilitySpecification, isSetEnergyInput, needRecalculation, runTransient, setdT, setDuty, setEnergyInput, setOutPressure, setOutPressure, setOutStream, setOutTemperature, setOutTemperature, setOutTP, setPressureDrop, setSetEnergyInput, setUtilityApproachTemperature, setUtilityHeatCapacityRate, setUtilityOverallHeatTransferCoefficient, setUtilityReturnTemperature, setUtilitySpecification, setUtilitySupplyTemperatureMethods inherited from class TwoPortEquipment
getInletPressure, getInletStream, getInletTemperature, getMassBalance, getOutletPressure, getOutletStream, getOutletTemperature, setInletPressure, setInletStream, setInletTemperature, setOutletPressure, setOutletStream, setOutletTemperature, validateSetupMethods inherited from class ProcessEquipmentBaseClass
copy, equals, getConditionAnalysisMessage, getController, getEnergyStream, getMassBalance, getMinimumFlow, getPressure, getPressure, getProperty, getReport_json, getResultTable, getSpecification, getTemperature, getTemperature, getThermoSystem, hashCode, isActive, isActive, isSetEnergyStream, reportResults, run_step, runConditionAnalysis, setController, setEnergyStream, setEnergyStream, setFlowValveController, setMinimumFlow, setRegulatorOutSignal, setSpecification, setTemperature, solvedMethods 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
getExergyChange, getFluid, getRestCapacityMethods inherited from interface SimulationInterface
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, run, run_step, run_step, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime, solvedMethods inherited from interface TwoPortInterface
getInStream, getOutStream
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
airInletTemperature
private double airInletTemperature -
airOutletTemperature
private double airOutletTemperature -
relativeHumidity
private double relativeHumidity -
pressure
private double pressure -
airMassFlow
private double airMassFlow -
airVolumeFlow
private double airVolumeFlow
-
-
Constructor Details
-
AirCooler
-
AirCooler
Constructor for AirCooler.
- Parameters:
name- aStringobjectinStream- aStreamInterfaceobject
-
-
Method Details
-
setAirInletTemperature
-
setAirOutletTemperature
-
setRelativeHumidity
public void setRelativeHumidity(double rh) Setter for the field
relativeHumidity.- Parameters:
rh- a double
-
setPressure
public void setPressure(double pressure) Setter for the field
pressure.- Specified by:
setPressurein interfaceProcessEquipmentInterface- Overrides:
setPressurein classProcessEquipmentBaseClass- Parameters:
pressure- a double
-
getAirMassFlow
public double getAirMassFlow()Getter for the field
airMassFlow.- Returns:
- a double
-
getAirVolumeFlow
public double getAirVolumeFlow()Getter for the field
airVolumeFlow.- Returns:
- a double
-
calcAirFlow
private void calcAirFlow(double duty) -
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Specified by:
runin interfaceSimulationInterface- Overrides:
runin classHeater- Parameters:
id- UUID
-