Skip to content

Commit

Permalink
fixed mapping for carbon aware computing
Browse files Browse the repository at this point in the history
  • Loading branch information
lwluc committed Nov 29, 2024
1 parent 97555a4 commit 73264d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class CarbonAwareComputingMapper {
public EmissionTimeframe mapToDomain(EmissionsData emissionsData) {
return new EmissionTimeframe(
new OptimalTime(emissionsData.getTimestamp()),
new EarliestForecastedValue(0.0),
new EarliestForecastedValue(emissionsData.getValue()),
new ForecastedValue(emissionsData.getValue())
);
}
Expand Down

0 comments on commit 73264d5

Please sign in to comment.