Class CarbonObjective

java.lang.Object
com.eqixiac.equinix.design.sustainability.CarbonObjective
All Implemented Interfaces:
Objective

public final class CarbonObjective extends Object implements Objective
"carbon": the grid carbon intensity of where a portfolio runs its workloads, in "gCO2e/kWh", from a caller-supplied CarbonIntensityTable. Smaller is better.

The value is the mean intensity of the metros the workloads' primaries run in (the WorkloadPlacer's placement), weighted by each workload's bandwidth (an unsized workload, or a design whose workloads are all unsized, counts 1 per workload); a portfolio with no placed workload is the plain mean over its metros. It ranks where load runs; it is not an emissions inventory (it knows no power draw).

Inert without a table: the SDK holds no emissions figures, so without one every portfolio is unknown and the objective never influences a ranking. A metro missing from the table makes the value unknown and names the metro; nothing is filled in.