// Numbas version: finer_feedback_settings {"name": "Load Flow Analysis - Practice", "metadata": {"description": "", "licence": "None specified"}, "duration": 0, "percentPass": "40", "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": false, "question_groups": [{"name": "Group", "pickingStrategy": "random-subset", "pickQuestions": 1, "questionNames": ["", "", "", "", ""], "variable_overrides": [[], [], [], [], []], "questions": [{"name": "Load Flow Analysis - 2bus", "extensions": [], "custom_part_types": [], "resources": ["question-resources/LF2bus.png"], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Jane Courtney", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2154/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "
For the following 2-bus system, bus 1 is the swing bus. Values are given in per-unit on a 10 MVA base:
\n
| \n Bus \n | \n\n Power In \n | \n\n Power Out \n | \n\n Voltage \n | \n
| \n 1 \n | \n\n ? \n | \n\n 0 \n | \n\n 1 $\\angle $0 \n | \n
| \n 2 \n | \n\n 0 \n | \n\n {P2} + j {Q2} \n | \n\n ? \n | \n
Table 1: Bus information
\n\n
| \n Section \n | \n\n Series Impedance \n | \n
| \n 1-2 \n | \n\n {R12} + j {X12} \n | \n
Table 2: Line information
", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"Y": {"name": "Y", "group": "Computed", "definition": "matrix([y12,-y12],[-y12,y12])", "description": "", "templateType": "anything", "can_override": false}, "R12": {"name": "R12", "group": "Given", "definition": "random(0.005 .. 0.02#0.001)", "description": "", "templateType": "randrange", "can_override": false}, "X12": {"name": "X12", "group": "Given", "definition": "random(0.05 .. 0.2#0.01)", "description": "", "templateType": "randrange", "can_override": false}, "Z12": {"name": "Z12", "group": "Given", "definition": "R12+X12*i", "description": "", "templateType": "anything", "can_override": false}, "P2": {"name": "P2", "group": "Given", "definition": "random(0.5 .. 1#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "Q2": {"name": "Q2", "group": "Given", "definition": "random(0 .. 1#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "S2": {"name": "S2", "group": "Given", "definition": "-P2 - Q2*i", "description": "", "templateType": "anything", "can_override": false}, "y12": {"name": "y12", "group": "Computed", "definition": "1/Z12", "description": "", "templateType": "anything", "can_override": false}, "delta2": {"name": "delta2", "group": "Computed", "definition": "180*arg(V2g)/pi", "description": "", "templateType": "anything", "can_override": false}, "V2a": {"name": "V2a", "group": "Computed", "definition": "Z12*conj(S2)+1", "description": "", "templateType": "anything", "can_override": false}, "V2b": {"name": "V2b", "group": "Computed", "definition": "Z12*conj(S2)/conj(V2a)+1", "description": "", "templateType": "anything", "can_override": false}, "V2c": {"name": "V2c", "group": "Computed", "definition": "Z12*conj(S2)/conj(V2b)+1", "description": "", "templateType": "anything", "can_override": false}, "V2d": {"name": "V2d", "group": "Computed", "definition": "Z12*conj(S2)/conj(V2c)+1", "description": "", "templateType": "anything", "can_override": false}, "V2e": {"name": "V2e", "group": "Computed", "definition": "Z12*conj(S2)/conj(V2d)+1", "description": "", "templateType": "anything", "can_override": false}, "V2f": {"name": "V2f", "group": "Computed", "definition": "Z12*conj(S2)/conj(V2e)+1", "description": "", "templateType": "anything", "can_override": false}, "V2g": {"name": "V2g", "group": "Computed", "definition": "Z12*conj(S2)/conj(V2f)+1", "description": "", "templateType": "anything", "can_override": false}, "V2": {"name": "V2", "group": "Computed", "definition": "abs(V2g)", "description": "", "templateType": "anything", "can_override": false}, "P1": {"name": "P1", "group": "Computed", "definition": "re(S1)", "description": "", "templateType": "anything", "can_override": false}, "Q1": {"name": "Q1", "group": "Computed", "definition": "im(S1)", "description": "", "templateType": "anything", "can_override": false}, "S1": {"name": "S1", "group": "Computed", "definition": "conj((1-V2g)/Z12)", "description": "", "templateType": "anything", "can_override": false}, "Ploss": {"name": "Ploss", "group": "Computed", "definition": "re(S1+S2)", "description": "", "templateType": "anything", "can_override": false}, "PlossTest": {"name": "PlossTest", "group": "Ungrouped variables", "definition": "-re((1-V2g)*conj((1-V2g)*(-Y12)))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "precround(Ploss,2)=precround(PlossTest,2)", "maxRuns": "1000"}, "ungrouped_variables": ["PlossTest"], "variable_groups": [{"name": "Given", "variables": ["R12", "X12", "Z12", "P2", "Q2", "S2"]}, {"name": "Computed", "variables": ["y12", "Y", "V2a", "V2b", "V2c", "V2d", "V2e", "V2f", "V2g", "V2", "delta2", "S1", "P1", "Q1", "Ploss"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Y-Matrix", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the Y-matrix in per-unit:
\n[[0]]+i [[1]] [[2]]+i [[3]]
\n\n[[4]]+i [[5]] [[6]]+i [[7]]
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "R11", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "re(y12)*0.99", "maxValue": "re(y12)*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "X11", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "im(y12)*0.99", "maxValue": "im(y12)*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "R12", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "-re(y12)*0.99", "maxValue": "-re(y12)*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "X12", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "-im(y12)*0.99", "maxValue": "-im(y12)*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "R21", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "-re(y12)*0.99", "maxValue": "-re(y12)*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "X21", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "-im(y12)*0.99", "maxValue": "-im(y12)*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "R22", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "re(y12)*0.99", "maxValue": "re(y12)*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "X22", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "im(y12)*0.99", "maxValue": "im(y12)*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Voltage", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "What is the voltage at bus 2?
\n$V_2$ = [[0]] $\\angle$ [[1]] p.u.
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Voltage", "marks": "10", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "V2*0.99", "maxValue": "V2*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Delta", "marks": "10", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "delta2*0.99", "maxValue": "delta2*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Power", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the power in at bus 1:
\n$S_1$ = [[0]] + i [[1]] p.u.
\nCalculate the real power lost in the system in per-unit and verify this:
\n$P_{LOSS}$ = [[2]] p.u.
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "P1", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "P1*0.99", "maxValue": "P1*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Q1", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "Q1*0.99", "maxValue": "Q1*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Ploss", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "Ploss*0.99", "maxValue": "Ploss*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Load Flow Analysis - 3bus", "extensions": [], "custom_part_types": [], "resources": ["question-resources/LF1Circuit_3wHSQnZ.png"], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Jane Courtney", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2154/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "For the 3-bus system shown in Figure 1, bus 1 is the swing bus. The lines all have impedance j {X} p.u.
\n
Figure 1: A 3-bus system
\n| \n Bus \n | \n\n Power In \n | \n\n Power Out \n | \n\n Voltage \n | \n
| \n 1 \n | \n\n ? \n | \n\n 0 \n | \n\n 1 $\\angle $0 \n | \n
| \n 2 \n | \n\n {PG2} + j ? \n | \n\n 0 \n | \n\n {V2} $\\angle $ ? \n | \n
| \n 3 \n | \n\n 0 \n | \n\n {P3} + j {Q3} \n | \n\n ? \n | \n
Table 1: Bus information
", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"X": {"name": "X", "group": "Given", "definition": "random(0.05 .. 0.1#0.01)", "description": "", "templateType": "randrange", "can_override": false}, "Y": {"name": "Y", "group": "Computed", "definition": "1/(X*i)", "description": "", "templateType": "anything", "can_override": false}, "P3": {"name": "P3", "group": "Given", "definition": "random(0.5 .. 2#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "Q3": {"name": "Q3", "group": "Given", "definition": "random(0.1 .. 1#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "S3": {"name": "S3", "group": "Computed", "definition": "-P3 - Q3*i", "description": "", "templateType": "anything", "can_override": false}, "delta2": {"name": "delta2", "group": "Outputs", "definition": "180*arg(V2c)/pi", "description": "", "templateType": "anything", "can_override": false}, "V2a": {"name": "V2a", "group": "Computed", "definition": "V20*cos(delta2a)+V20*sin(delta2a)*i", "description": "", "templateType": "anything", "can_override": false}, "V2": {"name": "V2", "group": "Outputs", "definition": "abs(V2c)", "description": "", "templateType": "anything", "can_override": false}, "PG2": {"name": "PG2", "group": "Given", "definition": "precround(PG2percentage*P3,1)", "description": "", "templateType": "anything", "can_override": false}, "V3a": {"name": "V3a", "group": "Computed", "definition": "(conj(S3) + Y + Y*V2a)/(2*Y)", "description": "", "templateType": "anything", "can_override": false}, "Q2a": {"name": "Q2a", "group": "Computed", "definition": "-im(conj(V20)*(-Y + (2*Y)*V20 -Y))", "description": "", "templateType": "anything", "can_override": false}, "V3b": {"name": "V3b", "group": "Computed", "definition": "(conj(S3)/conj(V3a) + Y + Y*V2b)/(2*Y) ", "description": "", "templateType": "anything", "can_override": false}, "Q2b": {"name": "Q2b", "group": "Computed", "definition": "-im(conj(V2a)*(-Y + (2*Y)*V2a -Y*V3a))", "description": "", "templateType": "anything", "can_override": false}, "V3": {"name": "V3", "group": "Outputs", "definition": "abs(V3c)", "description": "", "templateType": "anything", "can_override": false}, "delta3": {"name": "delta3", "group": "Outputs", "definition": "180*arg(V3c)/pi", "description": "", "templateType": "anything", "can_override": false}, "PG2percentage": {"name": "PG2percentage", "group": "Given", "definition": "random(0 .. 0.9#0.01)", "description": "", "templateType": "randrange", "can_override": false}, "V20": {"name": "V20", "group": "Given", "definition": "random(1.01 .. 1.07#0.01)", "description": "", "templateType": "randrange", "can_override": false}, "delta2a": {"name": "delta2a", "group": "Computed", "definition": "arg((conj(S2a)/conj(V20) + Y + Y)/(2*Y))", "description": "", "templateType": "anything", "can_override": false}, "S2a": {"name": "S2a", "group": "Computed", "definition": "PG2 + Q2a*i", "description": "", "templateType": "anything", "can_override": false}, "delta2b": {"name": "delta2b", "group": "Computed", "definition": "arg((conj(S2b)/conj(V2a) + Y + Y*V3a)/(2*Y))", "description": "", "templateType": "anything", "can_override": false}, "S2b": {"name": "S2b", "group": "Computed", "definition": "PG2 + Q2b*i", "description": "", "templateType": "anything", "can_override": false}, "V2b": {"name": "V2b", "group": "Computed", "definition": "V20*cos(delta2b)+V20*sin(delta2b)*i", "description": "", "templateType": "anything", "can_override": false}, "delta2c": {"name": "delta2c", "group": "Computed", "definition": "arg((conj(S2c)/conj(V2b) + Y + Y*V3b)/(2*Y))", "description": "", "templateType": "anything", "can_override": false}, "Q2c": {"name": "Q2c", "group": "Computed", "definition": "-im(conj(V2b)*(-Y + (2*Y)*V2b -Y*V3b))", "description": "", "templateType": "anything", "can_override": false}, "V2c": {"name": "V2c", "group": "Computed", "definition": "V20*cos(delta2c)+V20*sin(delta2c)*i", "description": "", "templateType": "anything", "can_override": false}, "S2c": {"name": "S2c", "group": "Computed", "definition": "PG2 + Q2c*i", "description": "", "templateType": "anything", "can_override": false}, "V3c": {"name": "V3c", "group": "Computed", "definition": "(conj(S3)/conj(V3b) + Y + Y*V2c)/(2*Y) ", "description": "", "templateType": "anything", "can_override": false}, "Q2": {"name": "Q2", "group": "Outputs", "definition": "abs(Q2c)", "description": "", "templateType": "anything", "can_override": false}, "Q1": {"name": "Q1", "group": "Outputs", "definition": "abs(Q2c-Q3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "1000"}, "ungrouped_variables": [], "variable_groups": [{"name": "Given", "variables": ["X", "P3", "Q3", "PG2percentage", "PG2", "V20"]}, {"name": "Computed", "variables": ["Y", "S3", "Q2a", "S2a", "delta2a", "V2a", "V3a", "Q2b", "S2b", "delta2b", "V2b", "V3b", "Q2c", "S2c", "delta2c", "V2c", "V3c"]}, {"name": "Outputs", "variables": ["V2", "delta2", "V3", "delta3", "Q2", "Q1"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "matrix", "useCustomName": true, "customName": "Y Matrix", "marks": "6", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the Y-matrix in per-unit:
\n\nj *
", "correctAnswer": "matrix([im(2*Y),-im(Y),-im(Y)],[-im(Y),im(2*Y),-im(Y)],[-im(Y),-im(Y),im(2*Y)]) ", "correctAnswerFractions": false, "numRows": "3", "numColumns": "3", "allowResize": false, "tolerance": "0.01", "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}, {"type": "gapfill", "useCustomName": true, "customName": "Voltage", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "What is the voltage at bus 3 after three iterations of the Gauss-Seidel method?
\n$V_3$ = [[0]] $\\angle$ [[1]]$^o \\ p.u.$
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "V3", "marks": "8", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "V3*0.99", "maxValue": "V3*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "delta3", "marks": "8", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "delta3*0.99", "maxValue": "delta3*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Power", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the reactive power produced at bus 2:*
\n$Q_2$ = [[0]] p.u.
\nAs a result, approximate the reactive power flow at bus 1:*
\n$Q_1$ = [[1]] p.u.
\n*note: in both cases enter a positive value
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Q2", "marks": "12", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "Q2*0.99", "maxValue": "Q2*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Q1", "marks": "6", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "Q1*0.6", "maxValue": "Q1*1.4", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Load Flow Analysis - 4bus", "extensions": [], "custom_part_types": [], "resources": ["question-resources/LF2Circuit_GJ385fH.png"], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Jane Courtney", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2154/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "For the following 4-bus system, bus 1 is the swing bus. Values are given in per-unit on a 10 MVA base:
\n
| \n Bus \n | \n\n Power In \n | \n\n Power Out \n | \n\n Voltage \n | \n
| \n 1 \n | \n\n ? \n | \n\n 0 \n | \n\n 1 $\\angle $0 \n | \n
| \n 2 \n | \n\n 0 \n | \n\n 0 \n | \n\n ? \n | \n
| \n 3 \n | \n\n 0 \n | \n\n {P3} + j {Q3} \n | \n\n ? \n | \n
| \n 4 \n | \n\n 0 \n | \n\n {P4} + j {Q4} \n | \n\n ? \n | \n
Table 1: Bus information
\n\n
| \n Section \n | \n\n Series Impedance \n | \n
| \n 1-2 \n | \n\n j {X12} \n | \n
| \n 2-3 \n | \n\n j {X23} \n | \n
| 2-4 | \nj {X24} | \n
Table 2: Line information
", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"Y": {"name": "Y", "group": "Computed", "definition": "matrix([Y12,-Y12,0,0],[-Y12,Y12+Y23+Y24,-Y23,-Y24],[0,-Y23,Y23,0],[0,-Y24,0,Y24])", "description": "", "templateType": "anything", "can_override": false}, "X23": {"name": "X23", "group": "Given", "definition": "random(0.05 .. 0.1#0.01)", "description": "", "templateType": "randrange", "can_override": false}, "X12": {"name": "X12", "group": "Given", "definition": "random(0.05 .. 0.1#0.01)", "description": "", "templateType": "randrange", "can_override": false}, "Y12": {"name": "Y12", "group": "Computed", "definition": "1/(X12*i)", "description": "", "templateType": "anything", "can_override": false}, "P3": {"name": "P3", "group": "Given", "definition": "random(0 .. 1#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "Q3": {"name": "Q3", "group": "Given", "definition": "random(0 .. 1#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "S3": {"name": "S3", "group": "Computed", "definition": "-P3 - Q3*i", "description": "", "templateType": "anything", "can_override": false}, "delta2": {"name": "delta2", "group": "Computed", "definition": "180*arg(V2b)/pi", "description": "", "templateType": "anything", "can_override": false}, "V2b": {"name": "V2b", "group": "Computed", "definition": "(Y12 + Y23*V3a + Y24*V4a)/(Y12 + Y23 + Y24)", "description": "", "templateType": "anything", "can_override": false}, "V2": {"name": "V2", "group": "Computed", "definition": "abs(V2b)", "description": "", "templateType": "anything", "can_override": false}, "X24": {"name": "X24", "group": "Given", "definition": "random(0.05 .. 0.1#0.01)", "description": "", "templateType": "randrange", "can_override": false}, "Y24": {"name": "Y24", "group": "Computed", "definition": "1/(X24*i)", "description": "", "templateType": "anything", "can_override": false}, "Y23": {"name": "Y23", "group": "Computed", "definition": "1/(X23*i)", "description": "", "templateType": "anything", "can_override": false}, "P4": {"name": "P4", "group": "Given", "definition": "random(0 .. 1#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "Q4": {"name": "Q4", "group": "Given", "definition": "random(0 .. 1#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "S4": {"name": "S4", "group": "Computed", "definition": "-P4 - Q4*i", "description": "", "templateType": "anything", "can_override": false}, "V3a": {"name": "V3a", "group": "Computed", "definition": "(conj(S3) + Y23)/Y23", "description": "", "templateType": "anything", "can_override": false}, "V4a": {"name": "V4a", "group": "Computed", "definition": "(conj(S4) + Y24)/Y24", "description": "", "templateType": "anything", "can_override": false}, "V3b": {"name": "V3b", "group": "Computed", "definition": "((conj(S3)/conj(V3a)) + Y23*V2b)/Y23", "description": "", "templateType": "anything", "can_override": false}, "V4b": {"name": "V4b", "group": "Computed", "definition": "((conj(S4)/conj(V4a)) + Y24*V2b)/Y24", "description": "", "templateType": "anything", "can_override": false}, "V3": {"name": "V3", "group": "Computed", "definition": "abs(V3b)", "description": "", "templateType": "anything", "can_override": false}, "V4": {"name": "V4", "group": "Computed", "definition": "abs(V4b)", "description": "", "templateType": "anything", "can_override": false}, "delta4": {"name": "delta4", "group": "Computed", "definition": "180*arg(V4b)/pi", "description": "", "templateType": "anything", "can_override": false}, "delta3": {"name": "delta3", "group": "Computed", "definition": "180*arg(V3b)/pi", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "V3j *
", "correctAnswer": "matrix([im(Y12),-im(Y12),0,0],[-im(Y12),im(Y12+Y23+Y24),-im(Y23),-im(Y24)],[0,-im(Y23),im(Y23),0],[0,-im(Y24),0,im(Y24)])", "correctAnswerFractions": false, "numRows": "4", "numColumns": "4", "allowResize": false, "tolerance": "0.01", "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}, {"type": "gapfill", "useCustomName": true, "customName": "Voltage", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "What is the voltage at each bus after two iterations of the Gauss-Seidel method?
\n$V_2$ = [[0]] $\\angle$ [[1]] p.u.
\n$V_3$ = [[2]] $\\angle$ [[3]] p.u.
\n$V_4$ = [[4]] $\\angle$ [[5]] p.u.
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "V2", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "V2*0.99", "maxValue": "V2*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "delta2", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "delta2*0.99", "maxValue": "delta2*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "V3", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "V3*0.99", "maxValue": "V3*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "delta3", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "delta3*0.99", "maxValue": "delta3*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "V4", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "V4*0.99", "maxValue": "V4*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "delta4", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "delta4*0.99", "maxValue": "delta4*1.01", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Load Flow Known Current", "extensions": [], "custom_part_types": [], "resources": ["question-resources/EG3Bus.png"], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Jane Courtney", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2154/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "In the system shown in Figure 1, the transformer is connected star-star with both star points grounded and the generator is connected in star with its star point grounded. The generator is operating at full voltage. The per unit sequence impedances of each element on a {SBASE} MVA base are given in Table 1 and the voltage levels are given in Table 2.
\n{image('resources/question-resources/EG3Bus.png')}
\nFigure 1: A section of the distribution system
\n| \n \n | \n\n Transformer \n | \n\n Line \n | \n
| \n R \n | \n\n {RT} \n | \n\n {RL} \n | \n
| \n X \n | \n\n {XT} \n | \n\n {XL} \n | \n
Table 1: Intrinsic impedances (p.u. on {SBASE} MVA base)
\n| \n \n | \n\n Generator \n | \n\n Transformer \n | \n\n Line \n | \n
| \n V BASE \n | \n\n {VG} \n | \n\n {VG}/{VL} \n | \n\n {VL} \n | \n
Table 2: Voltage bases (kV)
\n\n
With a heavy load on the generator at bus 1 of {Amps} A at {pf} % lagging power factor, there are some issues on the system.
", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"VL": {"name": "VL", "group": "Given", "definition": "random([10,11,20])", "description": "", "templateType": "anything", "can_override": false}, "VG": {"name": "VG", "group": "Given", "definition": "random(1..8)", "description": "", "templateType": "anything", "can_override": false}, "SBASE": {"name": "SBASE", "group": "Given", "definition": "random(1 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "rt": {"name": "rt", "group": "Given", "definition": "0.1*random(1..2)*xt", "description": "", "templateType": "anything", "can_override": false}, "rl": {"name": "rl", "group": "Given", "definition": "0.1*random(1..2)*xl", "description": "", "templateType": "anything", "can_override": false}, "xt": {"name": "xt", "group": "Given", "definition": "0.01*random(1..15)", "description": "", "templateType": "anything", "can_override": false}, "xl": {"name": "xl", "group": "Given", "definition": "0.01*random(1..15)", "description": "", "templateType": "anything", "can_override": false}, "pf": {"name": "pf", "group": "Given", "definition": "random(80..95)", "description": "ensures heavy loaing has lower pf
", "templateType": "anything", "can_override": false}, "delta3": {"name": "delta3", "group": "Pre-Installation", "definition": "180*arg(v3)/pi", "description": "", "templateType": "anything", "can_override": false}, "Amps": {"name": "Amps", "group": "Given", "definition": "precround(0.01*random(80..120)*IBASE,0)", "description": "Ipu = variable 0.8-1.1
", "templateType": "anything", "can_override": false}, "PL": {"name": "PL", "group": "Pre-Installation", "definition": "re(SL)", "description": "", "templateType": "anything", "can_override": false}, "QL": {"name": "QL", "group": "Pre-Installation", "definition": "im(SL)", "description": "", "templateType": "anything", "can_override": false}, "V3mag": {"name": "V3mag", "group": "Pre-Installation", "definition": "abs(v3)", "description": "", "templateType": "anything", "can_override": false}, "V3": {"name": "V3", "group": "Pre-Installation", "definition": "1-Current*Z", "description": "", "templateType": "anything", "can_override": false}, "phase": {"name": "phase", "group": "Pre-Installation", "definition": "-arccos(pf/100)", "description": "", "templateType": "anything", "can_override": false}, "Current": {"name": "Current", "group": "Pre-Installation", "definition": "ipu*(cos(phase)+sin(phase)*i)", "description": "", "templateType": "anything", "can_override": false}, "SL": {"name": "SL", "group": "Pre-Installation", "definition": "V3*conj(Current)", "description": "", "templateType": "anything", "can_override": false}, "CurrentG": {"name": "CurrentG", "group": "EG Installed", "definition": "IpuG*(cos(phaseG)+sin(phaseG)*i)", "description": "", "templateType": "anything", "can_override": false}, "IBASE": {"name": "IBASE", "group": "Pre-Installation", "definition": "1000*SBASE/(sqrt(3)*VG)", "description": "", "templateType": "anything", "can_override": false}, "issues": {"name": "issues", "group": "Ungrouped variables", "definition": "['The system is overloaded',\n 'The losses in the system are greater than 1 %',\n 'The voltages at the buses are not within 5 % of rated',\n 'The system has none of these issues']\n", "description": "", "templateType": "anything", "can_override": false}, "QG": {"name": "QG", "group": "EG Installed", "definition": "SBASE*abs(im(SG))", "description": "", "templateType": "anything", "can_override": false}, "PlossG": {"name": "PlossG", "group": "EG Installed", "definition": "SBASE*abs(CurrentG)^2*re(Z)*1000", "description": "", "templateType": "anything", "can_override": false}, "resolved": {"name": "resolved", "group": "Ungrouped variables", "definition": "['The system is operating within its ratings',\n 'The losses in the system are less than 1 %',\n 'The voltages at the buses are within 5 % of rated',\n 'None of these issues are resolved']\n", "description": "", "templateType": "anything", "can_override": false}, "Ploss": {"name": "Ploss", "group": "Pre-Installation", "definition": "Ipu^2*(rt+rl)*SBASE*1000", "description": "", "templateType": "anything", "can_override": false}, "V3G": {"name": "V3G", "group": "EG Installed", "definition": "1-CurrentG*Z", "description": "", "templateType": "anything", "can_override": false}, "Z": {"name": "Z", "group": "Pre-Installation", "definition": "R+X*i", "description": "", "templateType": "anything", "can_override": false}, "S3G": {"name": "S3G", "group": "EG Installed", "definition": "V3G*conj(CurrentG)", "description": "", "templateType": "anything", "can_override": false}, "SG": {"name": "SG", "group": "EG Installed", "definition": "SL - S3G", "description": "", "templateType": "anything", "can_override": false}, "PG": {"name": "PG", "group": "EG Installed", "definition": "SBASE*re(SG)", "description": "", "templateType": "anything", "can_override": false}, "issue_grade": {"name": "issue_grade", "group": "Ungrouped variables", "definition": "[12*if(Overloaded>0,1,-1)/totalGradeIssues,12*if(Lossy>0,1,-1)/totalGradeIssues,12*if(Low_Voltage>0,1,-1)/totalGradeIssues,12*if(No_Issues>0,1,-1)/totalGradeIssues]", "description": "", "templateType": "anything", "can_override": false}, "Overloaded": {"name": "Overloaded", "group": "Ungrouped variables", "definition": "if((Ipu > 1.0),1,0)", "description": "", "templateType": "anything", "can_override": false}, "Lossy": {"name": "Lossy", "group": "Ungrouped variables", "definition": "if(Ploss_percent > 1,1,0)", "description": "", "templateType": "anything", "can_override": false}, "Low_Voltage": {"name": "Low_Voltage", "group": "Ungrouped variables", "definition": "if(V3mag < 0.95,1,0)", "description": "", "templateType": "anything", "can_override": false}, "totalGradeIssues": {"name": "totalGradeIssues", "group": "Ungrouped variables", "definition": "if(sum([Overloaded,Lossy,Low_Voltage,No_Issues])>0,sum([Overloaded,Lossy,Low_Voltage,No_Issues]),1)", "description": "", "templateType": "anything", "can_override": false}, "Ratings": {"name": "Ratings", "group": "Ungrouped variables", "definition": "if(abs(CurrentG) < 1.0,1,0)", "description": "", "templateType": "anything", "can_override": false}, "Efficient": {"name": "Efficient", "group": "Ungrouped variables", "definition": "if(PlossG_percent < 1,1,0)", "description": "", "templateType": "anything", "can_override": false}, "Voltage": {"name": "Voltage", "group": "Ungrouped variables", "definition": "if((V3Gmag > 0.95) & (V3Gmag < 1.05),1,0)", "description": "", "templateType": "anything", "can_override": false}, "resolved_grade": {"name": "resolved_grade", "group": "Ungrouped variables", "definition": "[12*if(Ratings>0,1,-1)/totalGradeResolved,12*if(Efficient>0,1,-1)/totalgraderesolved,12*if(Voltage>0,1,-1)/totalGradeResolved,12*if(Not_Resolved>0,1,-1)/totalGradeResolved]", "description": "", "templateType": "anything", "can_override": false}, "totalGradeResolved": {"name": "totalGradeResolved", "group": "Ungrouped variables", "definition": "if(sum([Ratings,Efficient,Voltage,Not_Resolved])>0,sum([Ratings,Efficient,Voltage,Not_Resolved]),1)", "description": "", "templateType": "anything", "can_override": false}, "Ploss_percent": {"name": "Ploss_percent", "group": "Pre-Installation", "definition": "100*Ploss/(SBASE*1000)", "description": "", "templateType": "anything", "can_override": false}, "PlossG_percent": {"name": "PlossG_percent", "group": "EG Installed", "definition": "100*PlossG/(SBASE*1000)", "description": "", "templateType": "anything", "can_override": false}, "V3Gmag": {"name": "V3Gmag", "group": "EG Installed", "definition": "abs(V3G)", "description": "", "templateType": "anything", "can_override": false}, "No_Issues": {"name": "No_Issues", "group": "Ungrouped variables", "definition": "if(sum([Overloaded,Lossy,Low_Voltage])=0,1,0)", "description": "", "templateType": "anything", "can_override": false}, "Not_Resolved": {"name": "Not_Resolved", "group": "Ungrouped variables", "definition": "if(sum([Ratings,Efficient,Voltage])=0,1,0)", "description": "", "templateType": "anything", "can_override": false}, "IpuG": {"name": "IpuG", "group": "EG Installed", "definition": "(AmpsGpercent*Ipu)/100", "description": "", "templateType": "anything", "can_override": false}, "phaseG": {"name": "phaseG", "group": "EG Installed", "definition": "-arccos(pfG/100)", "description": "", "templateType": "anything", "can_override": false}, "pfG": {"name": "pfG", "group": "Given", "definition": "random(80..95)", "description": "", "templateType": "anything", "can_override": false}, "R": {"name": "R", "group": "Pre-Installation", "definition": "RL+RT", "description": "", "templateType": "anything", "can_override": false}, "X": {"name": "X", "group": "Pre-Installation", "definition": "XL+XT", "description": "", "templateType": "anything", "can_override": false}, "AmpsGpercent": {"name": "AmpsGpercent", "group": "Given", "definition": "random(20..80)", "description": "", "templateType": "anything", "can_override": false}, "Ipu": {"name": "Ipu", "group": "Pre-Installation", "definition": "Amps/IBASE", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["issues", "Overloaded", "Lossy", "Low_Voltage", "No_Issues", "totalGradeIssues", "issue_grade", "resolved", "Ratings", "Efficient", "Voltage", "Not_Resolved", "totalGradeResolved", "resolved_grade"], "variable_groups": [{"name": "Given", "variables": ["SBASE", "VG", "VL", "xt", "rt", "xl", "rl", "Amps", "pf", "AmpsGpercent", "pfG"]}, {"name": "Pre-Installation", "variables": ["IBASE", "R", "X", "Z", "Ipu", "phase", "Current", "V3", "V3mag", "delta3", "SL", "PL", "QL", "Ploss", "Ploss_percent"]}, {"name": "EG Installed", "variables": ["IpuG", "phaseG", "CurrentG", "V3G", "V3Gmag", "S3G", "SG", "PG", "QG", "PlossG", "PlossG_percent"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Pre-Installation", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the voltage and power at bus 3.
\n$ \\vec V_3 $ = [[0]] $ \\angle $ [[1]] p.u.
\n$ \\vec S_3 $ = [[2]] $ + j $ [[3]] p.u.
\nCalculate the power losses in the system.
$ P_{loss} $ = [[4]] kW
Identify the issues on the system (tick as many as apply):
", "minMarks": 0, "maxMarks": "12", "shuffleChoices": false, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": false, "markingMethod": "sum ticked cells", "choices": "issues", "matrix": "issue_grade"}, {"type": "gapfill", "useCustomName": true, "customName": "Generator Installed", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "With a generator installed at bus 3, the current at the original supply generator is reduced to {AmpsGpercent} % of its original value at a power factor of {pfG} %. How much power is the generator at bus 3 providing?
\n$ P_G $ = [[0]] MW
\n$ Q_G $ = [[1]] MVAr
\nCalculate the new power losses in the system as a result of this installation.
\n$ P_{loss} $ = [[2]] kW
\n", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "PG", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.99*PG", "maxValue": "1.01*PG", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "QG", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.99*QG", "maxValue": "1.01*QG", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "PlossG", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.99*PlossG", "maxValue": "1.01*PlossG", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "m_n_2", "useCustomName": true, "customName": "Issues Resolved", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Analyse the new state of the system and check the following (tick as many as apply):
", "minMarks": 0, "maxMarks": "12", "shuffleChoices": false, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": "resolved", "matrix": "resolved_grade"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Load Flow Known Voltage", "extensions": [], "custom_part_types": [], "resources": ["question-resources/EG3Bus.png"], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Jane Courtney", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2154/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "In the system shown in Figure 1, the transformer is connected star-star with both star points grounded and the generator is connected in star with its star point grounded. The generator is operating at full voltage. The per unit sequence impedances of each element on a {SBASE} MVA base are given in Table 1 and the voltage levels are given in Table 2.
\n{image('resources/question-resources/EG3Bus.png')}
\nFigure 1: A section of the distribution system
\n| \n \n | \n\n Transformer \n | \n\n Line \n | \n
| \n R \n | \n\n {RT} \n | \n\n {RL} \n | \n
| \n X \n | \n\n {XT} \n | \n\n {XL} \n | \n
Table 1: Intrinsic impedances (p.u. on {SBASE} MVA base)
\n| \n \n | \n\n Generator \n | \n\n Transformer \n | \n\n Line \n | \n
| \n V BASE \n | \n\n {VG} \n | \n\n {VG}/{VL} \n | \n\n {VL} \n | \n
Table 2: Voltage bases (kV)
\n\n
The load at bus 3 is {PL} MW with {QL} MVAr lagging. The system is modelled in a simulator and the voltage at bus 3 is found to be {V3kV} kV.
\n", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"VL": {"name": "VL", "group": "Given", "definition": "random([10,11,20])", "description": "", "templateType": "anything", "can_override": false}, "VG": {"name": "VG", "group": "Given", "definition": "random(1..8)", "description": "", "templateType": "anything", "can_override": false}, "SBASE": {"name": "SBASE", "group": "Given", "definition": "random(3 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "rt": {"name": "rt", "group": "Given", "definition": "0.1*random(1..2)*xt", "description": "", "templateType": "anything", "can_override": false}, "rl": {"name": "rl", "group": "Given", "definition": "0.1*random(1..2)*xl", "description": "", "templateType": "anything", "can_override": false}, "xt": {"name": "xt", "group": "Given", "definition": "0.01*random(1..15)", "description": "", "templateType": "anything", "can_override": false}, "xl": {"name": "xl", "group": "Given", "definition": "0.01*random(1..15)", "description": "", "templateType": "anything", "can_override": false}, "PL": {"name": "PL", "group": "Given", "definition": "0.01*random(80..120)*SBASE", "description": "", "templateType": "anything", "can_override": false}, "QL": {"name": "QL", "group": "Given", "definition": "precround(0.01*random(10..20)*PL,2)", "description": "", "templateType": "anything", "can_override": false}, "SL": {"name": "SL", "group": "Pre-Installation", "definition": "(PL+i*QL)/SBASE", "description": "", "templateType": "anything", "can_override": false}, "S3": {"name": "S3", "group": "Generator Installed", "definition": "SL - (PG/SBASE)", "description": "", "templateType": "anything", "can_override": false}, "current_G": {"name": "current_G", "group": "Generator Installed", "definition": "conj(S3/V3G)", "description": "", "templateType": "anything", "can_override": false}, "IBASE": {"name": "IBASE", "group": "Given", "definition": "1000*SBASE/(sqrt(3)*VG)", "description": "", "templateType": "anything", "can_override": false}, "issues": {"name": "issues", "group": "Ungrouped variables", "definition": "['The system is overloaded',\n 'The losses in the system are greater than 1 %',\n 'The voltages at the buses are not within 5 % of rated',\n 'The system has none of these issues']\n", "description": "", "templateType": "anything", "can_override": false}, "PlossG": {"name": "PlossG", "group": "Generator Installed", "definition": "SBASE*abs(current_G)^2*re(Z)*1000", "description": "", "templateType": "anything", "can_override": false}, "resolved": {"name": "resolved", "group": "Ungrouped variables", "definition": "['The system is operating within its ratings',\n 'The losses in the system are less than 1 %',\n 'The voltages at the buses are within 5 % of rated',\n 'None of these issues are resolved']\n", "description": "", "templateType": "anything", "can_override": false}, "Ploss": {"name": "Ploss", "group": "Pre-Installation", "definition": "abs(Current)^2*(rt+rl)*SBASE*1000", "description": "", "templateType": "anything", "can_override": false}, "V3G": {"name": "V3G", "group": "Generator Installed", "definition": "V3GkV/VL", "description": "", "templateType": "anything", "can_override": false}, "Z": {"name": "Z", "group": "Pre-Installation", "definition": "(rt+rl)+(xt+xl)*i", "description": "", "templateType": "anything", "can_override": false}, "issue_grade": {"name": "issue_grade", "group": "Ungrouped variables", "definition": "[12*if(Overloaded>0,1,-1)/totalGradeIssues,12*if(Lossy>0,1,-1)/totalGradeIssues,12*if(Voltages>0,1,-1)/totalGradeIssues,12*if(No_Issues>0,1,-1)/totalGradeIssues]", "description": "", "templateType": "anything", "can_override": false}, "Overloaded": {"name": "Overloaded", "group": "Ungrouped variables", "definition": "if((abs(Current) > 1.0),1,0)", "description": "", "templateType": "anything", "can_override": false}, "Lossy": {"name": "Lossy", "group": "Ungrouped variables", "definition": "if(Ploss_percent > 1,1,0)", "description": "", "templateType": "anything", "can_override": false}, "Voltages": {"name": "Voltages", "group": "Ungrouped variables", "definition": "if((V3 < 0.95) or (V3 > 1.05) or (V1pu < 0.95) or (V1pu > 1.05),1,0)", "description": "", "templateType": "anything", "can_override": false}, "totalGradeIssues": {"name": "totalGradeIssues", "group": "Ungrouped variables", "definition": "if(sum([Overloaded,Lossy,Voltages,No_Issues])>0,sum([Overloaded,Lossy,Voltages,No_Issues]),1)", "description": "", "templateType": "anything", "can_override": false}, "Ratings": {"name": "Ratings", "group": "Ungrouped variables", "definition": "if(IpuG < 1.0,1,0)", "description": "", "templateType": "anything", "can_override": false}, "Efficient": {"name": "Efficient", "group": "Ungrouped variables", "definition": "if(PlossG_percent < 1,1,0)", "description": "", "templateType": "anything", "can_override": false}, "Voltage": {"name": "Voltage", "group": "Ungrouped variables", "definition": "if((V3G >= 0.95) and (V3G <= 1.05) and (V1Gpu >= 0.95) and (V1Gpu <= 1.05),1,0)", "description": "", "templateType": "anything", "can_override": false}, "resolved_grade": {"name": "resolved_grade", "group": "Ungrouped variables", "definition": "[12*if(Ratings>0,1,-1)/totalGradeResolved,12*if(Efficient>0,1,-1)/totalgraderesolved,12*if(Voltage>0,1,-1)/totalGradeResolved,12*if(Not_Resolved>0,1,-1)/totalGradeResolved]", "description": "", "templateType": "anything", "can_override": false}, "totalGradeResolved": {"name": "totalGradeResolved", "group": "Ungrouped variables", "definition": "if(sum([Ratings,Efficient,Voltage,Not_Resolved])>0,sum([Ratings,Efficient,Voltage,Not_Resolved]),1)", "description": "", "templateType": "anything", "can_override": false}, "Ploss_percent": {"name": "Ploss_percent", "group": "Pre-Installation", "definition": "100*Ploss/(SBASE*1000)", "description": "", "templateType": "anything", "can_override": false}, "PlossG_percent": {"name": "PlossG_percent", "group": "Generator Installed", "definition": "100*PlossG/(SBASE*1000)", "description": "", "templateType": "anything", "can_override": false}, "No_Issues": {"name": "No_Issues", "group": "Ungrouped variables", "definition": "if(sum([Overloaded,Lossy,Voltages])=0,1,0)", "description": "", "templateType": "anything", "can_override": false}, "Not_Resolved": {"name": "Not_Resolved", "group": "Ungrouped variables", "definition": "if(sum([Ratings,Efficient,Voltage])=0,1,0)", "description": "", "templateType": "anything", "can_override": false}, "V3kV": {"name": "V3kV", "group": "Given", "definition": "0.01*random(90..99)*VL", "description": "", "templateType": "anything", "can_override": false}, "V1kV": {"name": "V1kV", "group": "Pre-Installation", "definition": "abs(V1)*VG", "description": "", "templateType": "anything", "can_override": false}, "V1": {"name": "V1", "group": "Pre-Installation", "definition": "V3+Current*Z", "description": "", "templateType": "anything", "can_override": false}, "V3GkV": {"name": "V3GkV", "group": "Given", "definition": "precround(0.01*random(102..110)*V3kV,2)", "description": "", "templateType": "anything", "can_override": false}, "I1GAmps": {"name": "I1GAmps", "group": "Generator Installed", "definition": "abs(current_G)*IBASE", "description": "", "templateType": "anything", "can_override": false}, "current": {"name": "current", "group": "Pre-Installation", "definition": "conj(SL/V3)", "description": "", "templateType": "anything", "can_override": false}, "v3": {"name": "v3", "group": "Pre-Installation", "definition": "V3kV/VL", "description": "", "templateType": "anything", "can_override": false}, "I1Amps": {"name": "I1Amps", "group": "Pre-Installation", "definition": "abs(current)*IBASE", "description": "", "templateType": "anything", "can_override": false}, "PG": {"name": "PG", "group": "Given", "definition": "precround(0.01*random(40..90)*PL,0)", "description": "", "templateType": "anything", "can_override": false}, "V1G": {"name": "V1G", "group": "Generator Installed", "definition": "V3G+Current_G*Z", "description": "", "templateType": "anything", "can_override": false}, "V1GkV": {"name": "V1GkV", "group": "Generator Installed", "definition": "abs(V1G)*VG", "description": "", "templateType": "anything", "can_override": false}, "V1Gpu": {"name": "V1Gpu", "group": "Generator Installed", "definition": "abs(V1G)", "description": "", "templateType": "anything", "can_override": false}, "V1pu": {"name": "V1pu", "group": "Pre-Installation", "definition": "abs(V1)", "description": "", "templateType": "anything", "can_override": false}, "IpuG": {"name": "IpuG", "group": "Generator Installed", "definition": "abs(Current_G)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["issues", "Overloaded", "Lossy", "Voltages", "No_Issues", "totalGradeIssues", "issue_grade", "resolved", "Ratings", "Efficient", "Voltage", "Not_Resolved", "totalGradeResolved", "resolved_grade"], "variable_groups": [{"name": "Given", "variables": ["SBASE", "IBASE", "VG", "VL", "xt", "rt", "xl", "rl", "V3kV", "PL", "QL", "PG", "V3GkV"]}, {"name": "Pre-Installation", "variables": ["Z", "SL", "v3", "current", "V1", "V1kV", "I1Amps", "Ploss", "Ploss_percent", "V1pu"]}, {"name": "Generator Installed", "variables": ["S3", "V3G", "current_G", "V1G", "I1GAmps", "V1GkV", "PlossG", "PlossG_percent", "V1Gpu", "IpuG"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Pre-Installation", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "
Calculate the current and voltage at bus 1.
\n$ I_1 $ = [[0]] A
\n$ V_1 $ = [[1]] kV
\nCalculate the power losses in the system.
\n$ P_{loss} $ = [[2]] kW
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "I1Amps", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.99*I1Amps", "maxValue": "1.01*I1Amps", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "V1", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.99*V1kV", "maxValue": "1.01*V1kV", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Ploss", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.99*Ploss", "maxValue": "1.01*Ploss", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "m_n_2", "useCustomName": true, "customName": "System Issues", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Identify the issues on the system (tick as many as apply):
", "minMarks": 0, "maxMarks": "12", "shuffleChoices": false, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": false, "markingMethod": "sum ticked cells", "choices": "issues", "matrix": "issue_grade"}, {"type": "gapfill", "useCustomName": true, "customName": "Generator Installed", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "With a {PG} MW generator installed at bus 3, the voltage at bus 3 is increased to {V3GkV} kV. Calculate the new current and voltage at bus 1.
\n$ I_1 $ = [[0]] A
\n$ V_1 $ = [[1]] kV
\nCalculate the new power losses in the system as a result of this installation.
\n$ P_{loss} $ = [[2]] kW
\n", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "I1G", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.99*I1GAmps", "maxValue": "1.01*I1GAmps", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "V1G", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.99*V1GkV", "maxValue": "1.01*V1GkV", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "PlossG", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.99*PlossG", "maxValue": "1.01*PlossG", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "m_n_2", "useCustomName": true, "customName": "Issues Resolved", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Analyse the new state of the system and check the following (tick as many as apply):
", "minMarks": 0, "maxMarks": "12", "shuffleChoices": false, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": "resolved", "matrix": "resolved_grade"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": false, "reverse": false, "browse": false, "allowsteps": false, "showfrontpage": false, "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": false, "typeendtoleave": false, "startpassword": "", "autoSubmit": true, "allowAttemptDownload": false, "downloadEncryptionKey": "", "showresultspage": "oncompletion"}, "timing": {"allowPause": false, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"enterreviewmodeimmediately": true, "showactualmarkwhen": "never", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "showexpectedanswerswhen": "inreview", "showadvicewhen": "never", "allowrevealanswer": false, "intro": "", "end_message": "", "results_options": {"printquestions": true, "printadvice": true}, "feedbackmessages": [], "reviewshowexpectedanswer": true, "showanswerstate": true, "reviewshowfeedback": false, "showactualmark": false, "showtotalmark": true, "reviewshowscore": false, "reviewshowadvice": false}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Jane Courtney", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2154/"}], "extensions": [], "custom_part_types": [], "resources": [["question-resources/LF2bus.png", "/srv/numbas/media/question-resources/LF2bus.png"], ["question-resources/LF2Circuit_GJ385fH.png", "/srv/numbas/media/question-resources/LF2Circuit_GJ385fH.png"], ["question-resources/LF1Circuit_3wHSQnZ.png", "/srv/numbas/media/question-resources/LF1Circuit_3wHSQnZ.png"], ["question-resources/EG3Bus.png", "/srv/numbas/media/question-resources/EG3Bus.png"]]}