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

Exception when trying to "Calculate Scale Divisor" for simulation that cannot be solved. #439

Closed
PavelBal opened this issue Feb 4, 2020 · 4 comments

Comments

@PavelBal
Copy link
Member

PavelBal commented Feb 4, 2020

When trying to calculate scale divisor for a simulation that cannot be solved (e.g., because of the solver settings), and exception is thrown. Instead, a proper error message would be preferrable.

  1. Open any model in MoBi (e.g., export the "Aciclivor"-example model from PK-Sim)
  2. In "Simulation Settings -> Solver Settings", change MxStep to 9 (or any other value that leads to an error during simulation)
  3. Click on "Calculate Scale Divisor" and select calculate.
  4. An exception is thrown.

image

@msevestre msevestre self-assigned this Feb 4, 2020
@msevestre msevestre added this to the Version 9 milestone Feb 4, 2020
@msevestre
Copy link
Member

wow. Interesting. I see if I can swing it for 9.0. (only if it's a trivial change)

@msevestre
Copy link
Member

I could not reproduce the issue with 9.0. However the message was showing a OOPS window

@msevestre
Copy link
Member

now
MoBi®

Error solving ODE at time t=3: The solver took 9 internal steps but could not reach output time (TOO_MUCH_WORK)

For more information or questions, please visit the Open Systems Pharmacology Forum (forum.open-systems-pharmacology.org).

@msevestre
Copy link
Member

image

msevestre added a commit that referenced this issue Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants