// Numbas version: finer_feedback_settings {"name": "How much heat loss (in W) will you save by insulating your building\u2019s walls and windows?", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "How much heat loss (in W) will you save by insulating your building\u2019s walls and windows?", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "
\n
\n

How much heat loss (in watts) will you save by insulating your building’s walls and windows if you improve the wall U-value from {old_wall_u_value} to {new_wall_u_value}, and the window U-value from {old_window_u_value} to {new_window_u_value}?

\n

Given:

\n\n
\n
", "advice": "

Heat loss from walls before insulation
{wall_area}m2 x {old_wall_u_value}(u-value) x {inside_temperature - outside_temperature}(temp diff in kelvin) = {old_wall_heat_loss}W
Heat loss from walls after insulation
{wall_area}m2 x {new_wall_u_value}(u-value) x {inside_temperature - outside_temperature}(temp diff in kelvin)  = {new_wall_heat_loss}W
Heat loss saving from wall insulation
{old_wall_heat_loss}W - {new_wall_heat_loss} W = {total_savings_wall}W

\n

\n

Heat loss from windows before insulation
{window_area}m2 x {old_window_u_value}(u-value) x {inside_temperature - outside_temperature}(temp diff in kelvin) = {old_window_heat_loss}W
Heat loss from windows after insulation
{window_area}m2 x {new_window_u_value}(u-value) x {inside_temperature - outside_temperature}(temp diff in kelvin)  = {new_window_heat_loss}W
Heat loss saving from window insulation
{old_window_heat_loss}W - {new_window_heat_loss} W = {total_savings_window}W

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"outside_temperature": {"name": "outside_temperature", "group": "Ungrouped variables", "definition": "random(-10 .. 10#5)", "description": "

Outside air temperature in Celsius. 

", "templateType": "randrange", "can_override": false}, "inside_temperature": {"name": "inside_temperature", "group": "Ungrouped variables", "definition": "random(15 .. 25#5)", "description": "

Inside air temperature in Celsius. 

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

Wall surface area in metres squared. 

", "templateType": "randrange", "can_override": false}, "old_window_u_value": {"name": "old_window_u_value", "group": "Ungrouped variables", "definition": "random(3.5 .. 6#0.1)", "description": "

U-value of window prior to insulating. 

", "templateType": "randrange", "can_override": false}, "new_window_u_value": {"name": "new_window_u_value", "group": "Ungrouped variables", "definition": "random(2.5 .. 1.1#0.1)", "description": "

U-value of window after insulating. 

", "templateType": "randrange", "can_override": false}, "new_wall_u_value": {"name": "new_wall_u_value", "group": "Ungrouped variables", "definition": "random(0.4 .. 1.6#0.1)", "description": "

U-value of wall after insulating. 

", "templateType": "randrange", "can_override": false}, "old_wall_u_value": {"name": "old_wall_u_value", "group": "Ungrouped variables", "definition": "random(1.9 .. 2.5#0.1)", "description": "

U-value of wall prior to insulating. 

", "templateType": "randrange", "can_override": false}, "old_wall_heat_loss": {"name": "old_wall_heat_loss", "group": "Ungrouped variables", "definition": "wall_area*old_wall_u_value*(inside_temperature - outside_temperature)", "description": "

The heat loss of the old wall prior to insulation, in Watts.

", "templateType": "anything", "can_override": false}, "new_wall_heat_loss": {"name": "new_wall_heat_loss", "group": "Ungrouped variables", "definition": "wall_area*new_wall_u_value*(inside_temperature-outside_temperature)", "description": "

The heat loss of the new wall prior to insulation, in Watts.

", "templateType": "anything", "can_override": false}, "window_area": {"name": "window_area", "group": "Ungrouped variables", "definition": "random(50 .. 250#50)", "description": "

Area of windows in metres squared. 

", "templateType": "randrange", "can_override": true}, "old_window_heat_loss": {"name": "old_window_heat_loss", "group": "Ungrouped variables", "definition": "window_area*old_window_u_value*(inside_temperature-outside_temperature)", "description": "

The heat loss of the old windows prior to insulation, in Watts.

", "templateType": "anything", "can_override": false}, "new_window_heat_loss": {"name": "new_window_heat_loss", "group": "Ungrouped variables", "definition": "window_area*new_window_u_value*(inside_temperature-outside_temperature)", "description": "

The heat loss of the new windows after insulation, in Watts.

", "templateType": "anything", "can_override": false}, "total_savings_wall": {"name": "total_savings_wall", "group": "Ungrouped variables", "definition": "old_wall_heat_loss-new_wall_heat_loss", "description": "

Total energy savings from insulating wall, in Watts.

", "templateType": "anything", "can_override": false}, "total_savings_window": {"name": "total_savings_window", "group": "Ungrouped variables", "definition": "old_window_heat_loss-new_window_heat_loss", "description": "

Total energy savings from new windows, in Watts.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["outside_temperature", "inside_temperature", "wall_area", "old_window_u_value", "new_window_u_value", "new_wall_u_value", "old_wall_u_value", "old_wall_heat_loss", "new_wall_heat_loss", "window_area", "old_window_heat_loss", "new_window_heat_loss", "total_savings_wall", "total_savings_window"], "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, "prompt": "

Heat loss saving from wall insulation in Watts. 

", "minValue": "total_savings_wall", "maxValue": "total_savings_wall", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"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, "prompt": "

Heat loss saving from new insulated windows in Watts. 

", "minValue": "total_savings_window", "maxValue": "total_savings_window", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": 0, "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/"}]}