This error occurs when your AnyLogic model attempts to write or delete from the AnyLogic database at runtime.

Although this behavior is valid when running the simulation within AnyLogic, it is not permitted in Pathmind due to the nature of reinforcement learning (simulation runs are executed in parallel). To resolve this error, please disable all queries to the AnyLogic database. Only database reads are permitted.

Below are common actions that result in database writes and deletes at runtime.

1. Make sure Update data on the model startup is unchecked.

2. Remove any queries to your AnyLogic database from your code.

The error in Pathmind should be resolved once you remove all queries to the AnyLogic database.

Did this answer your question?