Class WasteToEnergyCHPModule
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.processmodel.ProcessModule
neqsim.process.processmodel.biorefinery.WasteToEnergyCHPModule
- All Implemented Interfaces:
Serializable, Runnable, SimulationInterface, NamedInterface
Pre-built biorefinery module for waste-to-energy combined heat and power (CHP).
Composes an AnaerobicDigester, biogas cleanup, and a CHP engine model into a complete
waste-to-energy process. The module takes a substrate feed and produces electricity and useful
heat outputs, with associated efficiencies and emissions.
The internal process is:
- Anaerobic digestion of organic waste to produce biogas
- Biogas desulphurisation (H2S removal modelled as split factor)
- CHP engine combustion: CH4 + 2O2 → CO2 + 2H2O (simplified stoichiometry)
- Heat recovery from exhaust gas and engine jacket cooling
CHP engine performance defaults are based on typical gas-engine values:
| Parameter | Value |
|---|---|
| Electrical efficiency | 38% |
| Thermal efficiency | 45% |
| Total CHP efficiency | 83% |
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleAnnual electricity production in MWh/year (8000 hr/yr assumed).private doubleAnnual heat production in MWh/year.private doubleBiogas flow rate in Nm3/hr.private static final doubleMethane lower heating value in kWh/Nm3.private doubleCO2 emissions from combustion in kg/hr.private StreamInterfaceprivate AnaerobicDigesterprivate doubleDigester temperature in Celsius.private doubleElectrical efficiency of CHP engine (fraction, 0-1).private doubleElectrical power output in kW.private StreamInterfaceprivate doubleExhaust gas temperature after heat recovery in Celsius.private StreamInterfaceprivate doubleTotal fuel input in kW (LHV).private booleanWhether module has run.private doubleUseful heat output in kW.private doubleHydraulic retention time in days.private static final org.apache.logging.log4j.Loggerprivate doubleMethane flow rate in Nm3/hr.private doubleOperating hours per year for annual calculations.private static final longprivate AnaerobicDigester.SubstrateTypeSubstrate type for digester.private doubleThermal efficiency of CHP engine (fraction, 0-1).private doubleTotal CHP efficiency.Fields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the annual electricity production.doubleReturns the annual heat production.doubleReturns the CO2 emissions from combustion.Returns the digestate stream.doubleReturns the electrical power output.Returns the exhaust gas stream.doubleReturns the total fuel input.doubleReturns the useful heat output.Returns a results map.doubleReturns the total CHP efficiency.voidBuilds and runs the waste-to-energy CHP process.voidsetDigesterTemperatureC(double temperatureC) Sets the digester temperature.voidsetElectricalEfficiency(double efficiency) Sets the electrical efficiency of the CHP engine.voidsetFeedStream(StreamInterface feed) Sets the feed stream.voidsetHydraulicRetentionTimeDays(double days) Sets the hydraulic retention time.voidsetOperatingHoursPerYear(double hours) Sets operating hours per year for annual calculations.voidsetSubstrateType(AnaerobicDigester.SubstrateType substrate) Sets the substrate type.voidsetThermalEfficiency(double efficiency) Sets the thermal efficiency of the CHP engine.toJson()Returns a JSON string of results.Methods inherited from class ProcessModule
add, add, buildModelGraph, checkMassBalance, checkMassBalance, checkModulesRecycles, copy, findBottleneck, getAddedModules, getAddedUnitOperations, getAllProcessSystems, getCalculationOrder, getCapacityUtilizationSummary, getConstrainedEquipment, getEquipmentNearCapacityLimit, getFailedMassBalance, getFailedMassBalance, getFailedMassBalance, getGraphSummary, getMeasurementDevice, getModulesIndex, getOperationsIndex, getProgressListener, getReport, getReport_json, getSubSystemCount, getUnit, hasRecycleLoops, isAnyEquipmentOverloaded, isAnyHardLimitExceeded, recyclesSolved, run_step, runAsTask, runAsThread, runWithCallback, setProgressListener, solved, validateStructureMethods inherited from class SimulationBaseClass
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTimeMethods inherited from class NamedBaseClass
getName, getTagNumber, setName, setTagNumberMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamedInterface
getName, getTagName, getTagNumber, setName, setTagName, setTagNumberMethods inherited from interface SimulationInterface
run, run_step, runTransient, runTransient
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
logger
private static final org.apache.logging.log4j.Logger logger -
electricalEfficiency
private double electricalEfficiencyElectrical efficiency of CHP engine (fraction, 0-1). -
thermalEfficiency
private double thermalEfficiencyThermal efficiency of CHP engine (fraction, 0-1). -
CH4_LHV_KWH_PER_NM3
private static final double CH4_LHV_KWH_PER_NM3Methane lower heating value in kWh/Nm3.- See Also:
-
digesterTemperatureC
private double digesterTemperatureCDigester temperature in Celsius. -
hydraulicRetentionTimeDays
private double hydraulicRetentionTimeDaysHydraulic retention time in days. -
substrateType
Substrate type for digester. -
exhaustTemperatureC
private double exhaustTemperatureCExhaust gas temperature after heat recovery in Celsius. -
digester
-
feedStream
-
exhaustGasStream
-
digestateStream
-
electricalPowerKW
private double electricalPowerKWElectrical power output in kW. -
heatOutputKW
private double heatOutputKWUseful heat output in kW. -
fuelInputKW
private double fuelInputKWTotal fuel input in kW (LHV). -
biogasFlowNm3PerHr
private double biogasFlowNm3PerHrBiogas flow rate in Nm3/hr. -
methaneFlowNm3PerHr
private double methaneFlowNm3PerHrMethane flow rate in Nm3/hr. -
co2EmissionsKgPerHr
private double co2EmissionsKgPerHrCO2 emissions from combustion in kg/hr. -
annualElectricityMWh
private double annualElectricityMWhAnnual electricity production in MWh/year (8000 hr/yr assumed). -
annualHeatMWh
private double annualHeatMWhAnnual heat production in MWh/year. -
totalCHPefficiency
private double totalCHPefficiencyTotal CHP efficiency. -
hasRun
private boolean hasRunWhether module has run. -
operatingHoursPerYear
private double operatingHoursPerYearOperating hours per year for annual calculations.
-
-
Constructor Details
-
WasteToEnergyCHPModule
Creates a waste-to-energy CHP module.- Parameters:
name- module name
-
-
Method Details
-
setFeedStream
Sets the feed stream.- Parameters:
feed- organic waste feed stream
-
setElectricalEfficiency
public void setElectricalEfficiency(double efficiency) Sets the electrical efficiency of the CHP engine.- Parameters:
efficiency- electrical efficiency (0-1)
-
setThermalEfficiency
public void setThermalEfficiency(double efficiency) Sets the thermal efficiency of the CHP engine.- Parameters:
efficiency- thermal efficiency (0-1)
-
setDigesterTemperatureC
public void setDigesterTemperatureC(double temperatureC) Sets the digester temperature.- Parameters:
temperatureC- digester temperature in Celsius
-
setSubstrateType
Sets the substrate type.- Parameters:
substrate- substrate type
-
setHydraulicRetentionTimeDays
public void setHydraulicRetentionTimeDays(double days) Sets the hydraulic retention time.- Parameters:
days- retention time in days
-
setOperatingHoursPerYear
public void setOperatingHoursPerYear(double hours) Sets operating hours per year for annual calculations.- Parameters:
hours- operating hours per year
-
getElectricalPowerKW
public double getElectricalPowerKW()Returns the electrical power output.- Returns:
- electrical power in kW
-
getHeatOutputKW
public double getHeatOutputKW()Returns the useful heat output.- Returns:
- heat output in kW
-
getFuelInputKW
public double getFuelInputKW()Returns the total fuel input.- Returns:
- fuel input in kW (LHV)
-
getCO2EmissionsKgPerHr
public double getCO2EmissionsKgPerHr()Returns the CO2 emissions from combustion.- Returns:
- CO2 emissions in kg/hr
-
getTotalCHPefficiency
public double getTotalCHPefficiency()Returns the total CHP efficiency.- Returns:
- CHP efficiency (0-1)
-
getAnnualElectricityMWh
public double getAnnualElectricityMWh()Returns the annual electricity production.- Returns:
- MWh/year
-
getAnnualHeatMWh
public double getAnnualHeatMWh()Returns the annual heat production.- Returns:
- MWh/year
-
getExhaustGasStream
Returns the exhaust gas stream.- Returns:
- exhaust gas stream
-
getDigestateStream
-
run
Builds and runs the waste-to-energy CHP process.- Specified by:
runin interfaceSimulationInterface- Overrides:
runin classProcessModule- Parameters:
id- calculation identifier
-
getResults
-
toJson
-