// Numbas version: exam_results_page_options {"name": "Load Flow Analysis - 3bus", "extensions": [], "custom_part_types": [], "resources": [["question-resources/LF1Circuit_3wHSQnZ.png", "/srv/numbas/media/question-resources/LF1Circuit_3wHSQnZ.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Load Flow Analysis - 3bus", "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

\n

Figure 1: A 3-bus system

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n

Bus

\n
\n

Power In

\n
\n

Power Out

\n
\n

Voltage

\n
\n

1

\n
\n

?

\n
\n

0

\n
\n

1 $\\angle $0

\n
\n

2

\n
\n

{PG2} + j ?

\n
\n

0

\n
\n

{V2} $\\angle $ ?

\n
\n

3

\n
\n

0

\n
\n

{P3} + j {Q3}

\n
\n

?

\n
\n

 Table 1: Bus information

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "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": "3", "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

\n

j * 

", "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": "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"}], "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.

\n

As 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": "6", "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": "3", "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", "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/"}]}