- Please copy file goalmodel.csv to path: C:\Users\Administrator\Documents. The column name of csv content are node,nodetype,fatherNode,nextNodeOfSameLevel,relation,childrenType,childrenCount,child1,child2,child3...childN
- The visualization of the example goal model is presented in file goalmodel.jpg.
- Load GeneratePATCodeFromGM.R into IDE for R e.g. Rstudio or R console.
- Run R code.
- The output file can be found in Path C:\Users\Administrator\Documents.
- Create a CSP model in PAT and paste the code in the output file to Specification Window.
- Use simulation to generating the behavior model and check whether it is consistant with the goal model.