Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Improved error handling #2458

Open
4 of 7 tasks
Tracked by #1628
vogt31337 opened this issue Nov 22, 2024 · 1 comment
Open
4 of 7 tasks
Tracked by #1628

[feature] Improved error handling #2458

vogt31337 opened this issue Nov 22, 2024 · 1 comment
Labels
enhancement New feature or request help wanted! We are looking for contributions from the community to help with this issue

Comments

@vogt31337
Copy link
Contributor

Feature Checklist

Feature Type

  • Adding new functionality to pandapower

  • Changing existing functionality in pandapower

  • Removing existing functionality in pandapower

Problem Description

In pandapower when a bug happens we normally get a stacktrace. But most often they are are hard to understand and are hard debug.

Feature Description

Maybe we can improve the situation and throw "better" error messages allowing for easier debugging, for example if an operation on a pandas table fails, return where and which table the error happened on.

Additional Context

No response

Label

  • Relevant labels are selected
@vogt31337 vogt31337 added help wanted! We are looking for contributions from the community to help with this issue enhancement New feature or request labels Nov 22, 2024
@pawellytaev
Copy link
Contributor

I agree! Also in case there is an issue with any element in the grid that causes an error, pandapower should point to the element (e.g. error in ppc[branch] can be a trafo, trafo3w, line, impedance etc.).

Also, how about extending/updating the pp.diagnostic()? Might be reasonable to update it with possible issues from new elements that came into pandapower (belongs in a separate issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted! We are looking for contributions from the community to help with this issue
Projects
None yet
Development

No branches or pull requests

2 participants