Skip to content

Problem using model dimension of 1 in lat_int #52

@mieand

Description

@mieand

Hey Max,

I would like to run a model with a dimension of just 1, but I see some unexpected behaviour in lat_int compared to local_smart.

In the standard CO oxidation on RuO2 example the following script:

from kmos.run import KMC_Model
model = KMC_Model(print_rates=False, banner=False, size=[1,2])
model.do_steps(10)

runs fine in local_smart, but I get an error related to trying to remove a species that is not there in lat_int. It looks like, after running some steps, the processes that are listed in proclist gets out of sync with the occupations on the lattice.

I have tested a couple of models and two different versions of the development branch (one from June and one from February). All models show the same behaviour, but it varies how mane steps I can run before the error occurs (a few models actually look like they are running correctly).

In principle, I think the above example ought to work, since the cell is big enough that there are no second order processes that would involve the same site in different cells. Do you have any idea what could be going on with lat_int?

Best,
Mie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions