SAMPLE INPUT
Power Demand : 500
Epsilon constant - e : 10

Cost Data
1 0.5 215 5000
2 1 270 5000
3 0.7 160 9000

P - initial values of power generation
159 100 250

  • Boolean
  • Constant
  • Matrix
  • Identity Matrix
  • Unity Matrix
  • Zero Matrix
  • Vector

  • If
  • Else If
  • Else
  • For
  • While
  • Break
  • Continue

  • Evaluate
  • Matrix Evaluate
  • Transpose
  • ABS

  • Row Combine
  • Column Combine
  • Element Wise Multiply
  • Element Wise Divide

  • Print Block
  • Debug Output Block

Interface

you can drop the blocks here
SAMPLE OUTPUT
lambda - 0.71 Rs/hr
iteration - 1.00 P- 150.30,100.10,249.60 (MW)
iteration - 2.00 P- 150.60,100.20,249.21 (MW)
iteration - 3.00 P- 150.89,100.30,248.82 (MW)
iteration - 4.00 P- 151.18,100.40,248.44 (MW)
iteration - 5.00 P- 151.46,100.49,248.06 (MW)
iteration - 6.00 P- 151.74,100.58,247.69 (MW)

Simulator

System Cost

Power Demand

Epsilon constant - e