Skip to content

ahx-code/Unit-Commitment-and-Economic-Dispatch

Repository files navigation

View Unit-Commitment-and-Economic-Dispatch on File Exchange

Unit-Commitment-and-Economic-Dispatch

Matlab toolbox for the UC & ED Calculation

Installation

To run: double click on the .mlapp file.

Image of package

Demonstration

Open example excel

main_screen_excel

Click Unit commitment

uc

Click Economic dispatch

ed

To see the summary:

summary

Theory

Economic Dispatch

 \text{minimize}\sum_{g,t}^{} B_{g}P_{g,t}

subject to

 \underline{P_{g}} \leq P_{g,t} \leq \overline{P_{g}} \quad\forall g\ \forall t

 \sum_{g}^{} P_{g,t} = D_{t} \quad \forall t

Unit Commitment

 \text{minimize}\sum_{t,g}^{} B_{g}P_{g,t}\beta + C_{g}s_{g,t} + E_{g}h_{g,t} + A_{g}u_{g,t}

subject to

 u_{g,t}\underline{P_{g}}\leq P_{g,t}\leq\overline{P_{g}}u_{g,t}\quad\forall g\ \forall t\\\\
-R_{g}^{D}\leq P_{g,t} - P_{g,(t-1)}\leq R_{g}^{U}\quad\forall g\ \forall t\\\\
\sum_{\tau=1-M_{g}^{U}+1}s_{g,t}\leq u_{g,t}\quad\forall g\ \forall t\\\\
\sum_{\tau=1-M_{g}^{D}+1}h_{g,t}\leq 1-u_{g,t}\quad\forall g\ \forall t\\\\
s_{g,t}-h_{g,t}=u_{g,t}-u_{g,t-1}\quad\forall g\ \forall t\\\\
\sum_{g}\overline{P_{g}}u_{g,t}\geq D_{t}+R_{t}\quad\forall t

Contributing 💭

Pull requests are welcome.

For major changes, please open an issue, then discuss what you would like to change.

About

Matlab toolbox for the UC & ED Calculation

Resources

License

Stars

Watchers

Forks

Packages

No packages published