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

Error message needed for python interface #119

Open
1 task done
ncdorn opened this issue Aug 14, 2024 · 0 comments
Open
1 task done

Error message needed for python interface #119

ncdorn opened this issue Aug 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ncdorn
Copy link
Contributor

ncdorn commented Aug 14, 2024

Problem

When running the svZeroDSolver from the python interface, using pysvzerod.smulate(), if for some reason the solution is unsuccessful the program will exit with no error message. This is inconvenient as no information is given regarding why the solution was unsuccessful. This is particularly hindering during optimizations, when certain parameters in the config file are being adjusted and may result in an unsuccessful solve. In this case it is inconvenient that the program exits, instead of allowing for future simulations with a different set of parameters.

Solution

To address this, an error message should be added which prints the status of the solution and the reason for the unsuccessful solve.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@ncdorn ncdorn added the enhancement New feature or request label Aug 14, 2024
@ncdorn ncdorn self-assigned this Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant