Skip to content

Commit

Permalink
Add simple solver for ConsMedShockModel
Browse files Browse the repository at this point in the history
The "medical shock" model now has a simple solver that replicates behavior of the existing solver. The current OO version's CubicBool capability is broken; it works in the new simple solver, but I haven't fixed it in the OO code.

It looks like the tests for this model just make sure that it can run and simulate, but I've verified that the solution reproduces exactly on my own. As with other models, this solver runs faster than before, but not by as much: 0.5-2.5x faster.

There are improvements and revisions to this model that should happen, but they're for another branch.
  • Loading branch information
mnwhite committed Mar 18, 2024
1 parent 7b4da9c commit bbdc412
Showing 1 changed file with 481 additions and 3 deletions.
Loading

0 comments on commit bbdc412

Please sign in to comment.