LRydin / Power-Grid-Frequency

Power-Grid Frequency
https://power-grid-frequency.org
21 stars 4 forks source link

Incorrect Data #44

Closed thesairam closed 1 year ago

thesairam commented 1 year ago

Hi LRydin, I am working on a project and I find your data to be very useful. However, if I see the frequency data, I see weird values like 25, -7 etc and nothing is around 50.

Am I missing something? Please guide. Thank you.

LRydin commented 1 year ago

Hey @thesairam. The data is given with 50 Hz subtracted and in mHz, i.e.,

data = (f - 50)/1000

with f the real frequency in Hz. Cheers!

thesairam commented 1 year ago

Ah I get it, I think the correct formula should be:

df['Frequency'] = df['Frequency']/1000 + 50 print(df)

Because, the formula you had described would result in huge numbers, for instance, 25 would result in 25050.

Please let me know if my interpretation is correct.

Thank you Sairam.


From: Rydin @.> Sent: Tuesday, August 29, 2023 8:52 AM To: LRydin/Power-Grid-Frequency @.> Cc: Sairam S @.>; Mention @.> Subject: Re: [LRydin/Power-Grid-Frequency] Incorrect Data (Issue #44)

Hey @thesairamhttps://github.com/thesairam. The data is given with 50 Hz subtracted and in mHz, i.e.,

data = (f - 50)/1000

with f the real frequency in Hz. Cheers!

— Reply to this email directly, view it on GitHubhttps://github.com/LRydin/Power-Grid-Frequency/issues/44#issuecomment-1696870735, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXRPT7MRB2WSBJ6OAVTVAYLXXWGTZANCNFSM6AAAAAA4CGRP24. You are receiving this because you were mentioned.Message ID: @.***>

LRydin commented 1 year ago

You are absolutely correct. I wrote the formula this morning from bed, thus the blatant mistake :P. I'll mark this as closed.

Cheers and best of luck with the data! If anything else is needed, feel free to write. Leo

thesairam commented 1 year ago

Thank you!!

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Rydin @.> Sent: Tuesday, August 29, 2023 6:29:09 PM To: LRydin/Power-Grid-Frequency @.> Cc: Sairam S @.>; Mention @.> Subject: Re: [LRydin/Power-Grid-Frequency] Incorrect Data (Issue #44)

You are absolutely correct. I wrote the formula this morning from bed, thus the blatant mistake :P. I'll mark this as closed.

Cheers and best of luck with the data! If anything else is needed, feel free to write. Leo

— Reply to this email directly, view it on GitHubhttps://github.com/LRydin/Power-Grid-Frequency/issues/44#issuecomment-1697781908, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXRPT7I6CWYZKBYUF7EODK3XXYKFLANCNFSM6AAAAAA4CGRP24. You are receiving this because you were mentioned.Message ID: @.***>