Skip to content

Update parameter in Monte Carlo run #474

@grantmcdermott

Description

@grantmcdermott

The package documentation provides a nice example of how to update a parameters using the !update_param API method. However, near as I can tell, this method only works for the deterministic version of the model(s). I'm looking for a way to update parameters in the Monte Carlo version of the model.

Using MimiPAGE2009.jl as an example, say I want to edit the TCR parameter (i.e. tcr_transientresponse here). I thought that adding the below line to the do_monte_carlo_runs() function might do the trick, but I just get a bunch of error messages:

update_param!(mcs, :tcr_transientresponse, Normal(0.0, 0.1)) ## Try crazy low TCR

Any suggestions for a better method are much appreciated.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions