power-grid-model icon indicating copy to clipboard operation
power-grid-model copied to clipboard

[FEATURE] Alert user to unrealistic load value

Open hansrosenberg opened this issue 2 years ago • 4 comments

We experienced a failure to converge using the model. Analysis showed later that this was due to an extremely high power value that was assigned to a load.

Maybe it is possible to flag unrealistic load values or the highest load value in the topology.

One other possible way is to make the max load threshold depend on the voltage level. For instance, 10MW at a node that carries 400V is not very realistic. Maybe a realistic max value for that would be something like 500kW so setting a limit at 1MW is probably a nice value. For 10kV more than 10MW on a single load point may start to become unrealistic (allthough the spread in loads there can be much higher). You could flag these kinds of values as 'suspicious' and leave it to the user to decide weather this is the case, assuming the user knows the local situation and can determine how realistic a value is.

hansrosenberg avatar Oct 06 '22 07:10 hansrosenberg

I suggest to add this to the validate_input_data() function

hansrosenberg avatar Oct 06 '22 07:10 hansrosenberg

Hi Hans, thanks for pointing this out. We're always a bit hesitant to set thresholds, or do make any statements about the plausibility of values in a model. On the other hand, you're right that the model will not converge for some extreme values.

I like your suggestion to mark extreme values as 'suspicious', or some analysis function that shows you the extreme values; so the user can indeed decide for himself if those values are plausible or not. I'm not sure if it should be part of validate_input_data , maybe with an extra check_plausibility argument, or we could provide an extra function like analyze_input_data...

bramstoeller avatar Oct 06 '22 07:10 bramstoeller

Would it be possible to better pinpoint the reason of a failure to convergence (that could be because of an unrealistic high load)? This is of course not possible in validate_input_data() but only after applyting a loadflow or state-estimation.

jaccoheres avatar Nov 02 '22 11:11 jaccoheres

Hi Jacco, we had a short brainstorm with the dnr team a few weeks ago since I asked this exact same question. I think the outcome was that it should be possible to make a 'validate loads' function or something like that that would check some power limits for each voltage. For instance, for 400V, you can set some limits for source/load values outside of which values are unrealistic/unlikely and present those to the user as a warning. A warning, since you cannot be 100% sure that it is really not true, maybe you have a bit of an outlier case. You would specifically have to enable this validate function (just like the other validate functions in the pgm package).

Best regards,

Hans

Van: Jacco Heres @.> Verzonden: Wednesday, November 2, 2022 12:43 PM Aan: alliander-opensource/power-grid-model @.> CC: Johan Anton Eduard Rosenberg @.>; Author @.> Onderwerp: Re: [alliander-opensource/power-grid-model] [FEATURE] Alert user to unrealistic load value (Issue #140)

Would it be possible to better pinpoint the reason of a failure to convergence (that could be because of an unrealistic high load)? This is of course not possible in validate_input_data() but only after applyting a loadflow or state-estimation.

Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falliander-opensource%2Fpower-grid-model%2Fissues%2F140%23issuecomment-1300180929&data=05%7C01%7Cjohan.rosenberg%40alliander.com%7Cfa6356b3c1bd4dd929b808dabcc76bd9%7C697f104bd7cb48c8ac9fbd87105bafdc%7C0%7C0%7C638029861935269093%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OmUyxTY6PRfl%2BtQQIBOmIudci%2BMllcmhIG%2FQsP9V0F0%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP7RN4ENJGPGYZQ5ZGYGZRDWGJHU5ANCNFSM6AAAAAAQ6JDCJU&data=05%7C01%7Cjohan.rosenberg%40alliander.com%7Cfa6356b3c1bd4dd929b808dabcc76bd9%7C697f104bd7cb48c8ac9fbd87105bafdc%7C0%7C0%7C638029861935269093%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=rwYrYgbHnF7lJfK1dwRLsOcYWwrQiHLo3ssKpkGyocE%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.@.>>

hansrosenberg avatar Nov 28 '22 09:11 hansrosenberg

This request cannot be set up generically enough and does not fit well within the current Power Grid Model project. Therefore I'm closing this issue

petersalemink95 avatar Aug 26 '24 09:08 petersalemink95