// Numbas version: finer_feedback_settings {"name": "Load Flow Analysis - 4bus", "extensions": [], "custom_part_types": [], "resources": [["question-resources/LF2Circuit_GJ385fH.png", "/srv/numbas/media/question-resources/LF2Circuit_GJ385fH.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Load Flow Analysis - 4bus", "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\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": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "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": "2", "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": "2", "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": "2", "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": "2", "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": "2", "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": "2", "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", "type": "question", "contributors": [{"name": "Jane Courtney", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2154/"}]}]}], "contributors": [{"name": "Jane Courtney", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2154/"}]}