Q: I just have a simple question, because I cannot find some example about it. It is possible to iterate over a collection (arrays, list, etc) just to calculate some values in a function, when executing the simulation? I want to calculate “mean” and “deviation” values, taking them from indexing 2 arrays I have in the declaration, to later send them as parameters for a […]
No, CPN Tools uses two processes: one for the GUI and one for the simulator, which are both single-threaded. Using Access/CPN you might be able to distribute a simulation over different simulators, but there is no work done on this yet.
With the advent of Intel-powered Macs, virtualization solutions exist for running Windows in a virtual machine under Mac OS X 10.4 and newer on Intel Macs. CPN Tools can be brought to run in this environment with reasonable performance for day-to-day use. The way I use is to run CPN Tools under Windows under either Parallels Desktop (www.parallels.com) or VMWare Fusion (www.vmware.com). You may also […]
File location  The CPN Tools simulator is running in a separate environment (under Cygwin) which may have problems reading .cpn model files stored in a “strange location”. Try saving your model in a directory/filename without special characters (no spaces, only basic ASCII characters, e.g., A–Z, 0–9,_). Stale preference files  First, try deleting stale preferences.xml files. It is located in the user settings directory, […]
CPN Tools cannot open models that were created by Design/CPN, but all models that are created in Design/CPN can be transferred to CPN Tools by following these steps: Save a Design/CPN model in XML format. Convert the XML file generated by Design/CPN to the XML format for CPN Tools. Load the file generated by the converter in to CPN Tools. Each of these steps are […]
In version 1.4.0 (and earlier) of CPN Tools, the help pages indicated that simulation reports are saved in the directory C:\tmp. If this directory does not exist, then a simulation report will not be saved. Simulation reports are saved by default as C:\tmp\simrep-<process id>.txt. There are, however, problems if CPN Tools is not installed on the C: disk drive. If CPN Tools is not installed […]
Prior to version 1.5.7 the tool would crash when loading a net with declarations with syntax errors. Please update CPN Tools to a more recent version.
This problem can occur if you have closed CPN Tools when it was minimized. This is a known bug which has been fixed from version 3.0.0 onwards, but may still occur if you remove monitors from your setup. If you can see an icon for CPN Tools in the task bar, then just right click on the CPN Tools window in the task bar and […]
It has not been possible to generate state spaces for timed CP-nets due to a bug in the state space tool. This bug is in all external releases up to and including version 1.4.0 and all internal releases up to and including version 1.5.21. Please update CPN Tools to a more recent version.
This is probably due to the fact that the output streams for the log files for Data collector monitors and Write-in-file monitors are not flushed regularly. The output streams for monitor log files will always be flushed at the end of a simulation if the Fast forward tool is used to run a simulation, or if the simulation stops because a breakpoint monitor is fulfilled. […]