// Numbas version: finer_feedback_settings {"name": "Calculate annual savings from turning desktop IT off outside of working hours", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Calculate annual savings from turning desktop IT off outside of working hours", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "
\n
\n

Calculate the annual savings from turning desktop IT off outside of working hours.

\n

Given:

\n\n

Hint: In this calculation, it's fine to have a fractional number of PCs.

\n
\n
", "advice": "
\n
Energy consumed by one PC running 24/7
{pc_power_idle}kW x 24h x 365d = {single_pc_power_247}kWh
\n

Energy consumed during working hours
{pc_power_idle}kW x {hours_working}h x 5d x 52weeks = {single_pc_power_working_hours}kWh
\n

Wasted energy
{single_pc_power_247}kWh - {single_pc_power_working_hours}kWh = {wasted_energy}kWh
\n

Cost saving for each PC
{wasted_energy}kWh x £{price_electricity}/kWh = £{single_pc_savings}
\n

Cost saving for {dec(number_pcs*percent_pcs_on/100)} PCs
£{single_pc_savings} x {dec(number_pcs*percent_pcs_on/100)} = £{total_cost_savings}\n
\n
\n
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"number_pcs": {"name": "number_pcs", "group": "Ungrouped variables", "definition": "random(100 .. 600#1)", "description": "

Total number of PCs.

", "templateType": "randrange", "can_override": false}, "percent_pcs_on": {"name": "percent_pcs_on", "group": "Ungrouped variables", "definition": "random(10 .. 50#10)", "description": "

Percentage of PCs left on 24/7

", "templateType": "randrange", "can_override": false}, "pc_power_idle": {"name": "pc_power_idle", "group": "Ungrouped variables", "definition": "random(0.04 .. 0.09#0.005)", "description": "

The power each PC uses at idle in kW

", "templateType": "randrange", "can_override": false}, "hours_working": {"name": "hours_working", "group": "Ungrouped variables", "definition": "random(7 .. 9#1)", "description": "

Number of hours in a day considered to be 'working hours'

", "templateType": "randrange", "can_override": false}, "price_electricity": {"name": "price_electricity", "group": "Ungrouped variables", "definition": "random(0.07 .. 0.18#0.01)", "description": "

Cost electricity per kWh in £s. 

", "templateType": "randrange", "can_override": false}, "single_pc_power_247": {"name": "single_pc_power_247", "group": "Ungrouped variables", "definition": "pc_power_idle*24*365", "description": "

Variable to store who much power a single PC uses when left at idle 24/7 for a year.

", "templateType": "anything", "can_override": false}, "single_pc_power_working_hours": {"name": "single_pc_power_working_hours", "group": "Ungrouped variables", "definition": "pc_power_idle*hours_working*5*52", "description": "

Variable to store the power a single PC uses when left at idle over the working period.

", "templateType": "anything", "can_override": false}, "wasted_energy": {"name": "wasted_energy", "group": "Ungrouped variables", "definition": "single_pc_power_247-single_pc_power_working_hours", "description": "

Variable to store the energy wasted for a single PC left on idle 24/7 over a year. 

", "templateType": "anything", "can_override": false}, "single_pc_savings": {"name": "single_pc_savings", "group": "Ungrouped variables", "definition": "wasted_energy*price_electricity", "description": "

The cost saving for each PC if turned off outside of working hours. 

", "templateType": "anything", "can_override": false}, "total_cost_savings": {"name": "total_cost_savings", "group": "Ungrouped variables", "definition": "single_pc_savings*number_pcs*percent_pcs_on/100", "description": "

Variable to store the total cost savings. 

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["number_pcs", "percent_pcs_on", "pc_power_idle", "hours_working", "price_electricity", "single_pc_power_247", "single_pc_power_working_hours", "wasted_energy", "single_pc_savings", "total_cost_savings"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "total_cost_savings", "maxValue": "total_cost_savings", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Simon Stuttaford", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/26443/"}], "resources": []}]}], "contributors": [{"name": "Simon Stuttaford", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/26443/"}]}