Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eshoppen Case study updated #256

Closed
wants to merge 6 commits into from

Conversation

srini1978
Copy link
Contributor

@srini1978
Copy link
Contributor Author

@atg-abhishek @Henry-WattTime @jawache Please approve this pull request

case-studies/eshoppen Outdated Show resolved Hide resolved
Copy link
Contributor

@jawache jawache left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the refined thinking here but I think the model for the Front End needs to be change so it's modelling 500 separate and distinct users hitting the API from separate machines. Right now it's modelling as if 500 people were using the same laptop over a 1hr period.

case-studies/eshoppen.md Show resolved Hide resolved

### Energy (`E`)

The Quantification method used for calculating energy value is **Calculate**. We are measuring CPU utilization of the laptop client device and then using a model based on the Thermal Design Power (TDP) of the processors, number of cores etc to **estimate** the power consumption.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A normal browser interaction by a single user will (a) last a length of time (b) be mostly zero CPU utilisation, this isn't a compute heavy task on the browser side.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there are models already in use that map "length of time for browser session" to energy since it's mostly.

case-studies/eshoppen.md Show resolved Hide resolved
case-studies/eshoppen.md Show resolved Hide resolved
@srini1978
Copy link
Contributor Author

srini1978 commented Jun 19, 2022

Added networking emissions as per Green-Software-Foundation/sci-guide#13 into the case study

FYI @DanniBradu @jawache @atg-abhishek @Henry-WattTime

@srini1978
Copy link
Contributor Author

FYI @dohafernandez This is the final pull request that needs to be reviewed

Modified the Client calculations for including the functional unit of 500 users /client devices

SCI = (E * I) + M = (0.02394 KwH * 951 gCO2e/kwH) + 4.305 gCO2e = **26.178 gCO2e**
SCI = (E * I) + M = (0.0656 KwH * 951 gCO2e/kwH) + 4.305 gCO2e = **66.6906 gCO2e**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

M is calculated as following in L244:

M = 1205.52 * (1/35040) * (2/16) = 0.004305 KG =~ 4.305 gCO2e

However, result of this formula is 0.0043005 .
We should fix the value.

```
E = Number of hours * Number of chip * TDP * TDP co-efficient (Server utilization)
= (1 hour * 1 chip * 12.16 TDP * 0.12 TDP co-efficient)/1000
= 0.01216

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(1 * 1 * 12.16 * 0.12) / 1000 = 0.0014592

@atg-abhishek
Copy link
Member

@srini1978 is this still active?

@Henry-WattTime
Copy link
Contributor

WG: Approved moving and closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Case-study submission Case-study submission
Projects
None yet
7 participants