Skip to content

AnjoSs/Gryphon-Wolfgang-Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gryphon-Wolfgang-Translator

This Translator is a tool for the translation and abstraction of fragment based case models modelled in the model repository Gryphon into Colored Petri Nets executable with WOLFGANG. This enables the simulation of fragments and their dependencies based on data objects.

Getting Started

Local Installation (for developers)

Prerequisites

The following software is necessary to run the translator:

  • Install Node.js, available here (this includes the node package manager npm)

  • Install the WOLFGANG petri net editor, available here

  • Install or run the Gryphon model repository for fragment based case models, available here

Initial setup

  1. Clone the source code repository from github (e.g. by running git clone https://github.com/AnjoSs/Gryphon-Wolfgang-Translator.git on the command line)
  2. Run npm install to set up all additional dependency packages

Starting the Gryphon-Wolgang-Translator

Having set up all of the above, you can start the translator as follows:

  1. Get your Input data by downloading it from your Gryphon-Model Repository
    • Model a case model in the Gryphon Model Repository
    • Download the model and save it
  2. Run the code by executing node main.js in the \code directory via the command line
    • the translator will translate an example case model
    • add the path to your execution command of your model to execute your own model
    • for instance: node main.js C:\Users\Me\Models\caseModel.json
  3. Open the created outputcpn.pnml with the WOLFGANG petri net editor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published