NEW
Font size
WorksheetsEP Capacitor Sizing Quiz
Total questions: 20
Worksheet time: 15mins
What is the main objective of the EP-based capacitor sizing code?
Reduce active power loss
Improve voltage profile by maximising Vmin
Increase line current
Reduce CPU time
What is the population size (pop) used in this simulation?
5
8
10
15
How many capacitor banks are installed in each individual solution?
2
3
4
Depends on the generation
What does Qd_data = [Qd_bus Qd_value]; represent?
Load flow results
Location and amount of added reactive load
Final voltage values
Mutation factor
What is the purpose of randperm(num_PQ, tot_install_Qc)?
Sort bus numbers
Select best 3 capacitor values
Randomly choose 3 bus locations for Qc installation
Assign minimum Qc to each bus
What is the meaning of the variable Vmin?
Maximum voltage
Total voltage loss
Minimum voltage across buses
Voltage at slack bus
Why do we use round(rand_vals / interval) * interval when assigning capacitor values?
Ensure Qc values are integer only
Limit Qc to binary only
Enforce step interval of 5 for capacitor values
Remove decimal errors
What is beta used for in the code?
Load damping
Mutation scale for Qc
Voltage multiplier
Bus priority factor
What type of distribution is used in the mutation process?
Uniform
Binomial
Gaussian
Exponential
What is Gauss_EP(sigma) expected to return?
Power losses
Load flow results
Random value from Gaussian distribution
Qc max values
What does parent_fit(i,1) store?
Power loss
Minimum voltage of individual i
Cost of capacitor
Current at bus i
What happens if all offspring have Vmin > target_Vmin?
Code stops
Offspring are discarded, and parent is reused
All solutions are still considered
Random new parents are created
What is the condition for convergence in this code?
i > 1000
All Qc values are equal
Fitness difference is less than tolerance
Load flow runs successfully
How is the new generation selected?
Based on power loss
Based on voltage at bus 1
Top individuals with best (lowest) Vmin
Top individuals with best (highest) Vmin within target
What is displayed as the final result?
Number of invalid solutions
Capacitor location, value, and Vmin for best individual
Best power loss
Average fitness of all generations
What is the role of IEEE14BUSEP(Qd_data, Qc_data) in the code?
Generates capacitor values
Performs power flow calculation and returns Vmin
Sorts bus values
Removes invalid individuals
Why is sigma multiplied with parent_fit(k) in mutation?
To make the mutation constant
To normalise the bus index
To scale mutation based on fitness
To eliminate weak individuals
What happens if mutated value exceeds bus_Qcmax?
Set to zero
Wrapped around to minimum
Clipped to maximum limit
Causes an error
In the combination step, why is sortrows(combine_valid, -col_Vmin) used?
Sorts by capacitor location
Sorts by power loss
Sorts individuals by highest Vmin first
Sorts in random order
What type of optimisation algorithm is used in this code?
Genetic Algorithm
Simulated Annealing
Particle Swarm Optimisation
Evolutionary Programming
