Class EmissionsTracker.EmissionsReport
java.lang.Object
neqsim.process.sustainability.EmissionsTracker.EmissionsReport
- All Implemented Interfaces:
Serializable
- Enclosing class:
EmissionsTracker
Complete emissions report for a process system.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longdoubledoubledouble -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexportToCSV(String filePath) Exports the report to CSV format.voidexportToJSON(String filePath) Exports the report to JSON format.Gets emissions breakdown by category.doublegetFlaringCO2e(String unit) Gets CO2e from flaring only.Returns a summary string of the emissions report.doublegetTotalCO2e(String unit) Gets total CO2e in specified units.doublegetTotalPower(String unit) Gets total power consumption in specified units.toJson()Converts the report to a JSON string.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
timestamp
-
processName
-
totalCO2eKgPerHr
public double totalCO2eKgPerHr -
totalPowerKW
public double totalPowerKW -
totalHeatDutyKW
public double totalHeatDutyKW -
equipmentEmissions
-
-
Constructor Details
-
EmissionsReport
public EmissionsReport()
-
-
Method Details
-
getTotalCO2e
Gets total CO2e in specified units.- Parameters:
unit- "kg/hr", "ton/hr", "ton/day", "ton/yr"- Returns:
- emissions in specified unit
-
getTotalPower
Gets total power consumption in specified units.- Parameters:
unit- "kW", "MW", "hp"- Returns:
- power in specified unit
-
getFlaringCO2e
Gets CO2e from flaring only.- Parameters:
unit- output unit- Returns:
- flaring emissions
-
getEmissionsByCategory
Gets emissions breakdown by category.- Returns:
- map of category to total emissions (kg/hr)
-
exportToCSV
Exports the report to CSV format.- Parameters:
filePath- output file path- Throws:
IOException- if file cannot be written
-
exportToJSON
Exports the report to JSON format.- Parameters:
filePath- output file path- Throws:
IOException- if file cannot be written
-
toJson
-
getSummary
Returns a summary string of the emissions report.- Returns:
- formatted summary
-