msdogan / HydropowerProject

Optimizing operations of hydropower facilities
MIT License
8 stars 1 forks source link

Working #4

Closed msdogan closed 7 years ago

msdogan commented 7 years ago

Hey, this is a better version :)

ruihui0821 commented 7 years ago

Very interesting, Mustafa.

Let's have you updated the results on us next Thursday.

On Sat, Oct 15, 2016 at 10:51 PM, Mustafa Dogan notifications@github.com wrote:

Merged #4 https://github.com/msdogan/HydropowerProject/pull/4.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/msdogan/HydropowerProject/pull/4#event-825033457, or mute the thread https://github.com/notifications/unsubscribe-auth/AKIZki_ZvnjMjwtcOuFqjpk49CvhegRgks5q0btUgaJpZM4KX5eV .

Rui Hui, Ph.D. Postdoctoral Scholar, Center for Watershed Sciences University of California, Davis One Shields Ave. Davis, CA 95616 Tel: 530-574-5904

ruihui0821 commented 7 years ago

The light blue normal distribution curve seems right now ( https://github.com/msdogan/HydropowerProject/blob/master/Pumped_Storage/figure_pd.pdf ).

I am thinking the light blue line does not match the red fitting curve is because the prices are not normally distributed, maybe following other probabilistic distribution, or you may try to have the prices normalized by the largest price.

On Sun, Oct 16, 2016 at 1:54 PM, Rui Hui rhui@ucdavis.edu wrote:

Very interesting, Mustafa.

Let's have you updated the results on us next Thursday.

On Sat, Oct 15, 2016 at 10:51 PM, Mustafa Dogan notifications@github.com wrote:

Merged #4 https://github.com/msdogan/HydropowerProject/pull/4.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/msdogan/HydropowerProject/pull/4#event-825033457, or mute the thread https://github.com/notifications/unsubscribe-auth/AKIZki_ZvnjMjwtcOuFqjpk49CvhegRgks5q0btUgaJpZM4KX5eV .

Rui Hui, Ph.D. Postdoctoral Scholar, Center for Watershed Sciences University of California, Davis One Shields Ave. Davis, CA 95616 Tel: 530-574-5904

Rui Hui, Ph.D. Postdoctoral Scholar, Center for Watershed Sciences University of California, Davis One Shields Ave. Davis, CA 95616 Tel: 530-574-5904

msdogan commented 7 years ago

@ruihui0821 yes, you are right. For some price-duration curves, normal distribution does not fit at all. This is probably because prices are not normally distributed as you said. After updating the code, I am not using either red or light blue curve fit :) The function is integrated using samples (in this case price) with trapezoid rule. Red and light blue curve are just there for illustration purposes :)