a new version of classic algorithms based on the gauss

3
IEEE SYSTEMS JOURNAL, JANUARY-2020 11 A new version of classic algorithms based on the Gauss- Jordan method were included in GHENeSys and used to calculate a generator for the family of invariants [40]. Thus, it is possible to obtain any specific invariant as a linear combination of vectors in the generator set. To illustrate the method, we calculate some invariants from the generator, shown in Figure 13 and Figures 14. These invariants are associated with plant and controller, respectively. This set of invariants matchs equations defined in Table III and Table V. Thus, it means that the system with the dynamic described by the Petri net meets the desired requirements, completing the verification process. Basic invariants calculated with GHENeSys (the first defi- nition obtainded from the generator) are shown in Figure 13. The invariants places we want to verify are painted orange in the Figure 13 and Figure 14. Fig. 13. Petri net invariants corresponding to the Plant VIII. CONCLUSIONS AND FURTHER WORK In conclusion, we can say that a design method for auto- mated systems based on UML and Petri nets that fits a model- based approach is feasible and could provide good results. The semi-formal characteristic of UML is a good match to early requirements, while Petri Nets captures UML requirements and can be used as its execution mode, supporting formal verification. Property analysis based on invariants can capture OCL early restrictions and stands as desired properties of the system, verified later, against similar properties extracted from Petri nets associated with the final requirement model. If a matching does not occur, it is probably the case to review the requirement modeling. In such cases, UML diagrams and Petri Nets already developed could serve as preliminary versions to guide the review. In any case, the proposed method is a systematic approach for a stepwise generation of formal specifications. It is also scalable when applied to large projects such as a logistic system to an offshore facility to explore petroleum (an ongoing project). Therefore, the proposed method is auspicious and can lead to a consistent way to design (discrete) automated systems. Fig. 14. Invariants of Petri net corresponding to the Controller Although UML is currently broadly used for requirements specifications, we avoided the inclusion of direct functional representations, such as use-cases, criticized by several authors [41]. Petri Nets conversion would be quite evident from use- case diagrams. On the other hand, it also brings the possibility of missing non-functional requirements, which can destroy completeness - some times consistency - of requirement mod- els. Therefore, the use of goal-oriented methods [42] - where functional and non-functional requirements collapse into the same goal - emerges as a good alternative, especially to the design of automated system. Thus, as further work, we intend to substitute the repre- sentation of elicited requirements, from UML to goal-oriented diagrams - such as KAOS [43]. The performance of the new approach will be compared with traditional projects already made in UML. Another promising feature is to enhance Petri Nets modeling by introducing High-Level Petri Nets (HLPN) or Hierarchical Hith Level Nets (HHLPN). That will also require the development of new algorithms to calculate invariants in folded nets and algorithms to transfer KAOS diagrams to Petri Nets [15]. REFERENCES [1] J. R. Silva and S. Y. Nof, “Manufacturing service: from e-work and service-oriented approach towards a product-service architecture,” IFAC- PapersOnLine, vol. 48, no. 3, pp. 1628–1633, 2015. [2] P. Sanghera, “Project scope management,” in CAPM in Depth. Apress, 2019. [3] A. Johanson, L. G. Christiernin, and L. Pejryd, “Manufacturing system design for business value, a holistic design approach,” Procedia CIRP, pp. 659–664, 2016. [4] “Nasa formal methods,” in 9th. Int. SymposiumLec. Notes in Computer Science. Springer, 2017, vol. 10227. [5] L. Baresi and M. Pezze, “Improving uml with petri nets,” Electronic Notes in Theoretical Computer Science, vol. 44, pp. 107–119, 2001.

Upload: others

Post on 27-Apr-2022

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A new version of classic algorithms based on the Gauss

IEEE SYSTEMS JOURNAL, JANUARY-2020 11

A new version of classic algorithms based on the Gauss-Jordan method were included in GHENeSys and used tocalculate a generator for the family of invariants [40]. Thus,it is possible to obtain any specific invariant as a linearcombination of vectors in the generator set.

To illustrate the method, we calculate some invariants fromthe generator, shown in Figure 13 and Figures 14. Theseinvariants are associated with plant and controller, respectively.This set of invariants matchs equations defined in Table III andTable V. Thus, it means that the system with the dynamicdescribed by the Petri net meets the desired requirements,completing the verification process.

Basic invariants calculated with GHENeSys (the first defi-nition obtainded from the generator) are shown in Figure 13.

The invariants places we want to verify are painted orangein the Figure 13 and Figure 14.

Fig. 13. Petri net invariants corresponding to the Plant

VIII. CONCLUSIONS AND FURTHER WORK

In conclusion, we can say that a design method for auto-mated systems based on UML and Petri nets that fits a model-based approach is feasible and could provide good results. Thesemi-formal characteristic of UML is a good match to earlyrequirements, while Petri Nets captures UML requirementsand can be used as its execution mode, supporting formalverification. Property analysis based on invariants can captureOCL early restrictions and stands as desired properties of thesystem, verified later, against similar properties extracted fromPetri nets associated with the final requirement model. If amatching does not occur, it is probably the case to review therequirement modeling. In such cases, UML diagrams and PetriNets already developed could serve as preliminary versions toguide the review.

In any case, the proposed method is a systematic approachfor a stepwise generation of formal specifications. It is alsoscalable when applied to large projects such as a logisticsystem to an offshore facility to explore petroleum (an ongoingproject). Therefore, the proposed method is auspicious andcan lead to a consistent way to design (discrete) automatedsystems.

Fig. 14. Invariants of Petri net corresponding to the Controller

Although UML is currently broadly used for requirementsspecifications, we avoided the inclusion of direct functionalrepresentations, such as use-cases, criticized by several authors[41]. Petri Nets conversion would be quite evident from use-case diagrams. On the other hand, it also brings the possibilityof missing non-functional requirements, which can destroycompleteness - some times consistency - of requirement mod-els. Therefore, the use of goal-oriented methods [42] - wherefunctional and non-functional requirements collapse into thesame goal - emerges as a good alternative, especially to thedesign of automated system.

Thus, as further work, we intend to substitute the repre-sentation of elicited requirements, from UML to goal-orienteddiagrams - such as KAOS [43]. The performance of the newapproach will be compared with traditional projects alreadymade in UML. Another promising feature is to enhancePetri Nets modeling by introducing High-Level Petri Nets(HLPN) or Hierarchical Hith Level Nets (HHLPN). That willalso require the development of new algorithms to calculateinvariants in folded nets and algorithms to transfer KAOSdiagrams to Petri Nets [15].

REFERENCES

[1] J. R. Silva and S. Y. Nof, “Manufacturing service: from e-work andservice-oriented approach towards a product-service architecture,” IFAC-PapersOnLine, vol. 48, no. 3, pp. 1628–1633, 2015.

[2] P. Sanghera, “Project scope management,” in CAPM in Depth. Apress,2019.

[3] A. Johanson, L. G. Christiernin, and L. Pejryd, “Manufacturing systemdesign for business value, a holistic design approach,” Procedia CIRP,pp. 659–664, 2016.

[4] “Nasa formal methods,” in 9th. Int. SymposiumLec. Notes in ComputerScience. Springer, 2017, vol. 10227.

[5] L. Baresi and M. Pezze, “Improving uml with petri nets,” ElectronicNotes in Theoretical Computer Science, vol. 44, pp. 107–119, 2001.

Page 2: A new version of classic algorithms based on the Gauss

IEEE SYSTEMS JOURNAL, JANUARY-2020 12

[6] Y. Zhao, Y. Fan, X. Bai, Y. Wang, H. Cai, and W. Ding, “Towardsformal verification of UML diagrams based on graph transformation,”in Proceedings of the IEEE International Conference on E-CommerceTechnology for Dynamic E-Business. IEEE Computer Socity, 2004.

[7] C. Wang, H. Fan, and S. Pan, “Research on mapping uml to petri-netin system modeling,” in Matec Web of Conferences, vol. 44, 2016.

[8] P. G. del Foyo, A. O. Salmon, and J. R. Silva, “Requirements analysisof automated projects using uml/petri nets,” in Bazilian Congrses onMechanical Engineering. ABCM, 2011.

[9] J. A. Goguen and C. Linde, “Techniques for requirements elicitation.”RE, vol. 93, pp. 152–164, 1993.

[10] W. Jue, Y. Song, X. Wu, and W. Dai, “A semi-formal requirementsmodeling pattern for design industrial cyber-physical systems,” in Proc.of IECON 2019. IEEE, 2019.

[11] L. Baresi and M. Pezze, “Improving uml with petri nets,” ElectronicNotes in Theoretical Computer Science, vol. 44, pp. 107–119, 2001.

[12] E. Guerra and J. de Lara, “A framework for the verification of umlmodels. examples using petri nets.” in JISBD, vol. 2003, 2003, pp. 325–334.

[13] J. M. Machado, J. C. Campos, F. Soares, C. P. LeÃco, and J. C.L. F. da Silva, “Simulation and formal verification of industrial systemscontrollers,” in Proceedings of the 19th International Congress ofMechanical Engineering. Brasilia, Brazil: ABCM, Nov 2007.

[14] P. G. del Foyo and J. R. Silva, “Some issues in real-time systemsverification using time petri nets,” Journal of the Brazilian Society ofMechanical Engineering, vol. 33, no. 4, 2011.

[15] J. M. Silva and J. R. Silva, “A new requirements engineering approachto manufacturing based on petri nets,” in Proc. of 13th IFAC Workshopon Itelligent Manufacturing Systems. Elsevier, 2019.

[16] A. Zeichick, “UML adoption making strong progress,” SD Times, 2004.[17] A. Watson, “UML vs. DSLs: A false dichotomy,” Object Managemet

Group, Tech. Rep. 08-08-03, 2008.[18] G. Engels, J. Hausmann, R. Heckel, and S. Sauer, “Testing the con-

sistency of dynamic uml diagrams,” Integrated Design and ProcessTechnology, June 2002.

[19] F. Ciccozzi, I. Malavolta, and B. Selic, “Execution of uml models:a semantic review of research and practice,” Software & SystemsModeling, vol. 18, 2019.

[20] S. Yao and S. M. Shatz, “Consistency checking of UML dynamic modelsbased on petri net techniques.” in Proceedings of the 15th InternationalConference on Computer, IEEE Computer Society. Washington DC,USA: IEEE, 2006, pp. 289–297.

[21] M. Ahmad, N. Belloir, and J.-M. Bruel, “Modeling and verificationof functional and non-functional requirements of ambient self-adaptivesystems,” Journal of Systems and Software, vol. 107, pp. 50–70, 2015.

[22] R. Guizzardi, F.-L. Li, A. Borgida, G. Guizzardi, J. Horkoff, andJ. Milopoulos, “An ontological interpretation of non-functional require-ments,” in Formal Ontology in Information Systems, P. Garbacz andO. Kutz, Eds. IOS Press, 2014.

[23] A. Dardenne and A. Van Lamsweerde, “Goal-directed requirementsacquisition,” Science of computer programming, vol. 20, no. 1, pp. 3–50,1993.

[24] J. R. Silva and P. G. del Foyo, “Timed petri nets,” in Petri Nets -Manufacturing and Computer Science. Intech, 2012.

[25] M. Cabasino, M. Dotoll, and C. Seatzu, “Modelling manufacturingsystems with place/transition nets and timed petri nets,” in FormalMethods in Mnufacturing. Taylor & Francis, 2018, ch. 1, pp. 1–26.

[26] I. Lomozova, “Resource equivalences in peti nets,” in 38th. Int. Conf.Application and Theory of Petri Nets and Concurrency, 2003, pp. 1–19.

[27] J. R. Silva, “Interactive design of integrated systems,” in IntelligentSystems for Manufacturing, 1998.

[28] C. Girault and R. Valk, Petri Nets for Systems Engineering. Springer,2003.

[29] J. Silva, H. Afsarmanesh, D. Cowan, and C. Lucena, “An object-oriented approach to the design of flexible manufacturing systems,” inBalanced Automation, L. M. Camarinha-Matos and H. Afsarmanesh,Eds. Springer, 1995, ch. 1, pp. 91–106.

[30] P. Merlin and D. Faber, “Recoverability on communication protocols -implications of a theoretical study,” IEEE Trans. on Communications,vol. 4, no. 9, pp. 1036–1043, 1976.

[31] C. Ramchandani, “Analysis of asynchronous concurrent systems bytimed petri nets,” Ph.D. dissertation, MIT, 1973.

[32] E. Yamalidou, J. Moody, M. Lemmon, and P. Antsaklis, “Feedbackcontrol of petri nets based on place invariants,” Automatica, vol. 32,no. 1, pp. 15–28, 1996.

[33] E. Yamalidou and J. C. Kantor, “Modelling and optimal control ofdiscrete- event chemical processing using petri nets,” Computers &Chemical Engineering, vol. 15, pp. 503–519, 1991.

[34] H. Simon, “Invariants of human behavior,” Annual Reviews of Psychol-ogy, vol. 41, pp. 1–19, 1990.

[35] T. Murata, “Petri nets: properties, analysis, and applications,” IEEE,vol. 77, pp. 541 – 580, 1989.

[36] K. Lautenbach, “Linear algebraic techniques for place/transition nets,”Springer-Verlag, pp. 142–167, 1987.

[37] G. Denaro and M. Pezz, “Petri nets and software engineering,” LectureNotes in Computer Science, vol. 309, pp. 439–466, 2004.

[38] A. Z. O. Salmon and J. R. Silva, “Usando invariantes na analisede requisitos.” CBA Congresso Brasileiro de AutomÃatica. CampinaGrande/PB - Brasil, 2012.

[39] F. DiCesare, G. Harhalakis, J. M. Proth, and F. Vernadat, Practice ofPetri Nets in Manufacturing. Springer, 1993.

[40] A. Z. O. Salmon, J. A. Miralles, P. M. G. del Foyo, and J. R. Silva,“Towards a unified view of modeling and design with ghenesys.” Pro-ceedings of the 21st International Congress of Mechanical Engineering,2011.

[41] S. Tiwari and A. Gupta, “A systematic literature review of use casespecifications research,” Information and Software Technology, vol. 67,pp. 128–158, 2015.

[42] S. Wooldeamlak, ali Diabat, and D. Svetinovic, “Goal-oriented re-quirements engineering for research-intensive complex systems: A casestudy,” Systems Engineering Journal, vol. 19, no. 6, pp. 322–333, 2016.

[43] M. Santos, C. Gralha, and J. AraÞjo, “Increasing the semantictransparency of the kaos goal model concrete syntax,” in ConceptualModeling, Lecturing Notes in Computer Science. Springer, 2018, vol.11157, pp. 424–439.

Arianna Z. Olivera received a bachelor in Com-puter Scince from the Universidade de Oriente, San-tiago, Cuba, and is finishing her PhD in Mechatron-ics Engineering at the Universidade de São Paulo,Brazil. Her research interests are in modeling andanalysis and simulation of processes using PetriNets. She is up to become a faculty staff at FederalUniversity of Pernambuco.

Pedro M. G. del Foyo received the B.E. degree inautomatic control from “Julio A. Mella” PolytechnicInstitute, Santiago, Cuba, in 1992 and a M.S. degreein 2001 and PhD degree in 2009 in MechatronicsEngineering from University of São Paulo, Brazil.Presently he is a professor at the Federal Universityof Pernambuco, Dept of Mechanical Engineering.His current research interests include the design,analysis and verification of complex systems, withfocuses on distributed, embedded and real-time sys-tems and scheduling algorithms based on state space

analysis techniques.

Page 3: A new version of classic algorithms based on the Gauss

IEEE SYSTEMS JOURNAL, JANUARY-2020 13

José R. Silva received the B.S. in Physics a M.S. inAtomic Physics from Federal Universities of Bahiaand Pernambuco in Brazil, a M.A. in Interdisci-plinary Computer Science by Mills College, CA,USA, and a PhD in Computer Engineering in 1992by the University of São Paulo, Brazil. Had post-doctoral positions in Computer Science and SystemsDesign at the University of Waterloo, Canada. Hismain interest is in formal methods for EngineeringDesign based on Petri Nets, Knowledge Engineeringfor Planning and Scheduling and Intelligent Manu-

facturing Processes. Presently he is a senior associate professor at Universityof São Paulo, Dept. of Mechatronics Engineering.