Codes, equations and algorithms for economic load dispatch in power systems.
This project is maintained by Sree2011
Welcome to the documentation for the Economic Load Dispatch (ELD) Java console app.
This tool models generator cost functions and dispatch logic for power systems.
Power at each generator,
\[P_i = \frac{lambda - b_i}{2*c_i}\]
Total generated power,
\[\sum_{i=1}^{n} P_i = P_{\text{total}}\]
Main condition to be true for lambda iteration to end:
\(P_{\text{total}} + P_{\text{tolerance}} >= P_{\text{demand}}\) or
no.of iterations > max_iterations
classDiagram
class Generator {
- int gen_id
- float min_capacity
- float max_capacity
- float a
- float b
- float c
+ float validatePower(float power)
+ float getA()
+ void setA(float a)
+ float getB()
+ void setB(float b)
+ float getC()
+ void setC(float c)
}
class InputLoader{
+ ArrayList<Generator> loadFromUser()
+ ArrayList<Generator> loadFromCSV(String filepath)
}
class ELDCalculator {
- float lambda
- Generator[] genArray
- float tot_demand
- float tolerance
- int max_iterations
+ float[] lambdaIteration()
+ float sum(float[] array)
}
class Main{
+ static void main(String[] args)
}
Generator <|-- ELDCalculator : uses
Generator <|-- InputLoader : uses
ELDCalculator <|-- Main : uses
InputLoader <|-- Main : uses
Generator <|-- Main : uses
end