Wednesday, March 9, 2011

Automatically iterating through models

The same "diagram" can be modeled in different ways. So, what is the consequence of the type of model we pick? The new python plugin called plots the simulation of all the combinations of submodels and then clusters the results, showing a picture of how the system can behave depending the modeling methods used.

The key functions used by the python code are:


Important note: The load model function in TinkerCell caches each model that is loaded. The caching checks if the file has changed. In file has not changed, the re-loading of the same model is very fast, since it does not need to parse the file itself. This results in an order or magnitude speed up when doing tc_substituteModel repeatedly.

No comments: