Closed DvdMgr closed 6 years ago
Implemented in a2f8b68
Hi, where can I find an example of how to re-use the RngRun parameters? I would like to compare two simulations using the same set of RngRun parameters. For each simulation I'm actually doing
parameters= #set of parameters for NS3
runs = 4
campaign.run_missing_simulations(parameters, runs=runs)
Thank you
You can omit the runs
argument in run_missing_simulations
, and instead specify the desired RngRun
range directly from the parameter dictionary! So, something along the lines of:
params = {
'aParameter': [someValue],
'RngRun': [1, 2, 3]
}
campaign.run_missing_simulations(params)
should work. You can also specify RngRun
in the parameter dictionary you use for queries and to get data out of the database.
We should devise an ergonomic way to allow users to specify an RngRun parameter together with their simulation parameter combinations. This can come in handy if one wants to compare two simulations using the same RngRun (to get the same placement of buildings and devices, for instance) and compare two different parameter combinations.