Class Electrolyzer
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.electrolyzer.Electrolyzer
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, SimulationInterface, NamedInterface
Electrolyzer unit converting water to hydrogen and oxygen using electrical energy.
- Author:
- esol
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate static final doubleprivate Stream(package private) static org.apache.logging.log4j.LoggerLogger object for class.private Streamprivate static final longSerialization version UID.private StreamInterfaceFields inherited from class ProcessEquipmentBaseClass
conditionAnalysisMessage, energyStream, hasController, isSolved, properties, reportFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
ConstructorsConstructorDescriptionElectrolyzer(String name) Constructor for Electrolyzer.Electrolyzer(String name, StreamInterface inletStream) Constructor for Electrolyzer. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldhydrogenOutStream.doublegetMassBalance(String unit) getMassBalance.Getter for the fieldoxygenOutStream.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetInletStream(StreamInterface inletStream) Setter for the fieldinletStream.Methods inherited from class ProcessEquipmentBaseClass
copy, displayResult, equals, getConditionAnalysisMessage, getController, getEnergyStream, getEntropyProduction, getExergyChange, 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, run_step, runTransient, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
logger
static org.apache.logging.log4j.Logger loggerLogger object for class. -
waterInlet
-
hydrogenOutStream
-
oxygenOutStream
-
cellVoltage
private double cellVoltage -
FARADAY_CONSTANT
private static final double FARADAY_CONSTANT- See Also:
-
-
Constructor Details
-
Electrolyzer
-
Electrolyzer
Constructor for Electrolyzer.
- Parameters:
name- name of unitinletStream- water inlet stream
-
-
Method Details
-
setInletStream
Setter for the field
inletStream.- Parameters:
inletStream- water inlet stream
-
getHydrogenOutStream
Getter for the field
hydrogenOutStream.- Returns:
- hydrogen product stream
-
getOxygenOutStream
Getter for the field
oxygenOutStream.- Returns:
- oxygen product stream
-
getMassBalance
getMassBalance.
- Specified by:
getMassBalancein interfaceProcessEquipmentInterface- Overrides:
getMassBalancein classProcessEquipmentBaseClass- Parameters:
unit- aStringobject- Returns:
- a double
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Parameters:
id- UUID
-