Skip to content
New issue

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

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

Already on GitHub? # to your account

Catch an exception from FMU if solver failed and continue estimation #68

Open
krzysztofarendt opened this issue Feb 9, 2021 · 5 comments · May be fixed by #69
Open

Catch an exception from FMU if solver failed and continue estimation #68

krzysztofarendt opened this issue Feb 9, 2021 · 5 comments · May be fixed by #69

Comments

@krzysztofarendt
Copy link
Member

krzysztofarendt commented Feb 9, 2021

Currently, when the FMU solver fails the estimation stops. FMU solver sometimes fails only for certain sets of parameters . The estimation could discard these parameters and continue the estimation.

For this to work, we would have to add Exception handling to the optimization algorithms, e.g. https://github.com/krzysztofarendt/modestga

In addtion, this feature would depend on the correct elevation of FMU exceptions to Python in the FMU backend (currently FMPy).

@krzysztofarendt
Copy link
Member Author

Related issue in ModestGA: krzysztofarendt/modestga#39

@krzysztofarendt
Copy link
Member Author

Issue solved in ModestGA. Ready for testing.

@krzysztofarendt
Copy link
Member Author

FMU needs reinitialization after a failed simulation.

@krzysztofarendt
Copy link
Member Author

This issue is being solved in branch: https://github.com/sdu-cfei/modest-py/tree/issue68/fmu-reinit

@krzysztofarendt
Copy link
Member Author

Related PR: #69

@krzysztofarendt krzysztofarendt linked a pull request Feb 13, 2021 that will close this issue
@krzysztofarendt krzysztofarendt self-assigned this Jun 12, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant