A METHOD AND A SYSTEM FOR SYNCHRONIZING A FIRST AND A SECOND SIMULATION SYSTEM

The present invention discloses a method and a system for synchronizing a first and a second simulation system (PLCSIM, Process Simulate), each operating in a free running operation thereby exchanging data in order to run the simulation systems; comprising: a) providing the first simulation system (...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: MILMAN, Gilad, SNIR, Gal, HAZAN, Moshe, HERLA, Werner, OTTERMANN, Johannes, WINTER, Robert, BARAK, Guy
Format: Patent
Sprache:eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present invention discloses a method and a system for synchronizing a first and a second simulation system (PLCSIM, Process Simulate), each operating in a free running operation thereby exchanging data in order to run the simulation systems; comprising: a) providing the first simulation system (PLCSIM) being enabled to run in cycles at a substantially linear speed wherein the speed is determined by repeatably setting a scaling factor (sn); b) providing the second simulation system (Process Simulate) being enabled to run in cycles at different speeds; c) executing the first and the second simulation system wherein the second simulation system requests at the end of a cycle a virtual time stamp from the first simulation system; d) calculating on the basis of the requested virtual time stamp from the first simulation system a virtual duration time Δtnfs and on the basis of the virtual time stamp after completion of this cycle of the second simulation system a virtual duration time Δtnss; e) calculating an update sn+1 for the scaling factor according the most recent scaling factor sn multiplied by Δtnss/Δtnfs; and f) applying the updated scaling factor sn+1 to determine the speed of the first simulation system over the course of the next cycle of the second simulation system. La présente invention concerne un procédé et un système de synchronisation d'un premier et d'un second système de simulation (PLCSIM, simulation de processus), fonctionnant chacun selon un fonctionnement d'exécution libre échangeant ainsi des données afin d'exécuter les systèmes de simulation ; comprenant les étapes consistant : a) à fournir le premier système de simulation (PLCSIM) pouvant s'exécuter dans des cycles à une vitesse sensiblement linéaire, la vitesse étant déterminée par réglage répété d'un facteur de mise à l'échelle (sn) ; b) à fournir le second système de simulation (simulation de processus) pouvant s'exécuter dans des cycles à des vitesses différentes ; c) à exécuter le premier et le second système de simulation, le second système de simulation demandant à la fin d'un cycle une estampille temporelle virtuelle en provenance du premier système de simulation ; d) à calculer, sur la base de l'estampille temporelle virtuelle demandée en provenance du premier système de simulation, une durée virtuelle Δtnfs, et sur la base de l'estampille temporelle virtuelle après achèvement de ce cycle du second système de simulation, une durée virtuelle Δtnss ; e) à calculer une mise à