Module 'openmc.model' has no attribute 'pack_trisos'

Dear all,

Does anyone know what happened with this and what should I do?

Thx,
Auliyah

Hi Aulia,

The openmc.model.pack_trisos function was replaced with the openmc.model.pack_spheres function in v0.11.0, which returns a list of centers rather than a list of TRISO cells. This example has been updated to use pack_spheres (see cells 5 & 6) when generating TRISO particles and should server as a guide for how to update your code as well.

https://github.com/openmc-dev/openmc/blob/develop/examples/jupyter/triso.ipynb

Patrick Shriwise
608-446-8173