Full text
applied sciences Article Multidomain Simulation Model for Analysis of Geometric Variation and Productivity in Multi-Stage Assembly Systems Sergio Benavent Nácher * , Pedro Rosado Castellano, Fernando Romero Subirón and JoséV. Abellán-Nebot Department of Industrial Systems Engineering and Design, Universitat Jaume I. Av. Vicent Sos Baynat, s/n 12071 Castellón de la Plana, Spain; [email protected] (P.R.C.); fr[email protected] (F.R.S.); [email protected] (J.V.A.-N.) *Correspondence: [email protected] Received: 4 September 2020; Accepted: 21 September 2020; Published: 22 September 2020 Abstract: Nowadays, the new era of industry 4.0 is forcing manufacturers to develop models and methods for managing the geometric variation of a final product in complex manufacturing environments, such as multistage manufacturing systems. The stream of variation model has been successfully applied to manage product geometric variation in these systems, but there is a lack of research studying its application together with the material and order flow in the system. In this work, which is focused on the production quality paradigm in a model-based system engineering context, a digital prototype is proposed to integrate productivity and part quality based on the stream of variation analysis in multistage assembly systems. The prototype was modelled and simulated with OpenModelica tool exploiting the Modelica language capabilities for multidomain simulations and its synergy with SysML. A case study is presented to validate the potential applicability of the approach. The proposed model and the results show a promising potential for future developments aligned with the production quality paradigm. Keywords: production quality paradigm; stream of variation; multi-domain modelling and simulation; SysML; Modelica; multistage assembly system 1. Introduction The industries, as they advance in the postulates advocated in different research and development roadmaps, e.g., industry 4.0, are transforming their factories and their management and control strategies following some of the emerging manufacturing paradigms such as smart manufacturing or production quality. On the one hand, production quality was formulated as a paradigm that combines quality, production logistics, and maintenance methods and tools to maintain the throughput and the service level of conforming parts under control and to improve them over time, with minimal waste of resources and materials [ 1 ]. One of the main issues in production quality is the variation propagation modelling for quality control, process monitoring, and root cause identification for multistage manufacturing systems (MMS). These manufacturing systems are highly complex, and the development of an effective and cost-efficient quality control strategy that intermeshes and links closed-loop quality control systems at various levels of the company is crucial [ 1 ]. A clear example can be found in [ 2 ], where different control strategies are proposed using newly available sensor data from shopfloors to prevent the generation and propagation of defects throughout the process. In the literature, different models for variation propagation analysis have been studied in MMS. One of these approaches is the so-called stream of variation (SoV) model, proposed in [ 3 ] for 2D Appl. Sci. 2020,10, 6606; doi:10.3390/app10186606 www.mdpi.com/journal/applsci
Appl. Sci. 2020,10, 6606 2 of 20 multistage assembly processes (sheet metal assembly processes) and later on extended for 3D multistage assembly and machining processes [ 4 , 5 ]. The SoV model has been successfully applied in a large number of applications in MMS, especially for product quality assurance [ 6 ], process planning [ 7 ], and fault diagnosis [ 8 ], as well as applications for decision-making and optimization for inspection planning [ 8 – 10 ] and quality control and error compensation with the use on shop-floor data in real time [11,12]. On the other hand, many research works that have been focused on the smart manufacturing paradigm [ 13 , 14 ] show that these new control, diagnosis, and improvement strategies in MMS should exploit the wide-ranging potentials of cyber-physical systems (CPS) and the digital twin approach in order to support dynamic coordination among the system, the product, and the process throughout their life cycles. For this purpose, it is required to use technologies such as in-line data gathering solutions, interoperability standards, modelling and simulation tools, data analytics, and digital manufacturing technologies. From these technologies, modelling and simulation tools are acquiring great relevance in the smart manufacturing paradigm with investigations focused on concepts such as digital twins, digital shadows, and digital models [ 13 ]. From a simulation point of view, the digital twin approach can be seen as the next disruptive technology in modelling, simulation, and optimization technology enabled by the higher capabilities of computer equipment over the years and the adoption of model based system engineering (MBSE) principles by the industry [15]. Furthermore, as the introduction of the principles and practices of the two aforementioned paradigms progresses, it is increasingly important to analyze the dynamic behavior of the overall system under various realistic circumstances. For this reason, the use of simulation in a domain-specific context with domain-specific tools in the engineering of complex systems is no longer a valid solution, moving to other tools with capability of integrating different domains. In this direction, some initiatives promoted by the Modelica Association can be found, which were initially focused on the development of the Modelica language and Modelica libraries [ 16 ] to facilitate modelling and simulation of complex systems and, more recently, on the design of CPS. However, despite numerous efforts made in the field of modelling and simulation under these paradigms, most of them mainly focused on production and maintenance analysis with discrete event simulations; there is a lack of research oriented towards the development of frameworks for the management of geometric variations, especially in modelling and simulating the effects of geometric variations for quality assurance, productivity, and their interrelations. To overcome this limitation, this work proposes the development of a multi-domain and multi-scale modelling and simulation prototype that allows visualizing and evaluating the functionalities and operation modes of multistage assembly systems (MAS), both in terms of geometric quality and productivity. The demonstrator is implemented using Modelica language, an object-oriented language for modelling and simulation of complex systems. The analysis of the logistic flow is based on Discrete Event System Specification (DEVS) formalism, while the geometric quality analysis is conducted under the engineering-driven method defined by the SoV model. The paper is organized as follows: Section 2presents the background of the study with the description of the SoV modelling approach for geometric variation propagation and the methodology followed to develop and validate the proposed meta-model of simulation for MAS. Next, Section 3 describes the adopted MAS type for this work, a brief SysML description of the proposed meta-model for the MAS simulation system, and its subsequent implementation in OpenModelica. In order to validate the proposed meta-model, Section 4presents a case study of a MAS composed of four stages, and different scenarios are analyzed in order to compare potential control logics to improve productivity and quality. Finally, a discussion about the results is provided in Sections 5and 6concludes the paper. 2. Methodologies and Techniques of the Research Work This research work is part of a broader research project that aims to design and implement a multi-scale and multi-resolution modelling-simulation platform to enable assessment and control of geometric quality variability and productivity in MMS. Under this wider research context, this work
Appl. Sci. 2020,10, 6606 3 of 20 is focused on the definition of simulation models for modular and flexible manufacturing systems, paying special attention to the design phase on these systems. Particularly, this work is focused on the development of a demonstrator for modelling and simulating a MAS while considering performance indicators of quality variability and productivity. This section provides an overview of the methodologies and techniques used in our research work. Firstly, the SoV model is briefly described for MAS and the error propagation framework and the main sources of error in this type of MMS are defined. Secondly, the proposed methodology for the design of the meta-model for MAS simulation is described. 2.1. Error Propagation Modelling through SoV Model The SoV model is able to estimate the error propagation throughout a MMS by modelling a series of kinematic relationships between fixtures, datum surfaces used for locating parts within the fixtures, and the deviation of the manufacturing action itself, such as welding, machining, etc. The mathematical formulation is based on the well-known state space model representation commonly used in the field of control systems [17]. For a MAS, the SoV model can be mathematically expressed as [18]: Xk=Ak·Xk−1+Bk·Uk+Wk, (1) where Xk is the vector that represents the geometric quality deviations of each part of the assembly after the manufacturing stage, k; Xk−1 represents the same deviations but after stage k − 1, which becomes the input of stage k; Uk represents the deviations of the fixture locators that hold the parts during the manufacturing operation; matrices Ak and Bk are obtained through kinematic analyses and represent the reorientation effect of the assembled parts after stage k − 1 when placed on stage kand the effects of the deviations of the locators over the resulting quality deviations at stage k, respectively; Wk represents the modelling errors since matrices Ak and Bk are obtained through kinematic analyses subjected to a certain linearization degree. The geometric quality deviations of each part represented in Xk is defined by the deviation of the local coordinate system (LCS) of the part, since the parts are assumed to be rigid. Thus, the deviation of the LCS is modelled by a differential motion vector (DMV) in the form [d,θ]T, where dand θare the position and orientation deviation of the LCS, respectively. In this multistage process, an inspection stage may be placed along the process for quality control. Assuming an inspection stage after the assembly stage k, the inspection results are described as: Yk=Ck·Xk+Vk, (2) where Yk is the vector that represents the deviation of the features inspected after stage kand, therefore, it is a function of the current deviation of the resulting assembly ( Xk ) through the matrix Ck plus the measurement error represented by the vector Vk . Both Equations (1) and (2) define the error propagation in MAS of N stages, where k=1, . . . , N. An example of MAS and the effect of error propagation is shown in Figure 1, where fixturing is based on 4-way and 2-way locators. As it can be seen, a locator error at stage kproduces an error in the resulting subassembly after stage k. Thus, this subassembly enters stage k+1 and, due to relocation error, and even if no fixture or welding error is added, the resulting subassembly after stage k+1 presents a geometric error. Later, at the inspection stage, the assembly is inspected and a quality error is identified. Readers interested in a detailed description of SoV model derivation, please refer to references [3–5,18].
Appl. Sci. 2020,10, 6606 4 of 20 Appl.Sci.2020,10,xFORPEERREVIEW3of21 isfocusedonthedefinitionofsimulationmodelsformodularandflexiblemanufacturingsystems, payingspecialattentiontothedesignphaseonthesesystems. Particularly,thisworkisfocusedonthedevelopmentofademonstratorformodellingand simulatingaMASwhileconsideringperformanceindicatorsofqualityvariabilityandproductivity. Thissectionprovidesanoverviewofthemethodologiesandtechniquesusedinourresearchwork. Firstly,theSoVmodelisbrieflydescribedforMASandtheerrorpropagationframeworkandthe mainsourcesoferrorinthistypeofMMSaredefined.Secondly,theproposedmethodologyforthe designofthemeta‐modelforMASsimulationisdescribed. 2.1.ErrorPropagationModellingthroughSoVModel TheSoVmodelisabletoestimatetheerrorpropagationthroughoutaMMSbymodellingaseries ofkinematicrelationshipsbetweenfixtures,datumsurfacesusedforlocatingpartswithinthe fixtures,andthedeviationofthemanufacturingactionitself,suchaswelding,machining,etc.The mathematicalformulationisbasedonthewell‐knownstatespacemodelrepresentationcommonly usedinthefieldofcontrolsystems[17].ForaMAS,theSoVmodelcanbemathematicallyexpressed as[18]: 𝑿 𝑨 ∙𝑿𝑩∙𝑼𝑾,(1) whereX k isthevectorthatrepresentsthegeometricqualitydeviationsofeachpartoftheassembly afterthemanufacturingstage,k;X k−1 representsthesamedeviationsbutafterstagek−1,which becomestheinputofstagek;U k representsthedeviationsofthefixturelocatorsthatholdtheparts duringthemanufacturingoperation;matricesA k andB k areobtainedthroughkinematicanalysesand representthereorientationeffectoftheassembledpartsafterstagek‐1whenplacedonstagekand theeffectsofthedeviationsofthelocatorsovertheresultingqualitydeviationsatstagek, respectively;W k representsthemodellingerrorssincematricesA k andB k areobtainedthrough kinematicanalysessubjectedtoacertainlinearizationdegree.Thegeometricqualitydeviationsof eachpartrepresentedinX k isdefinedbythedeviationofthelocalcoordinatesystem(LCS)ofthe part,sincethepartsareassumedtoberigid.Thus,thedeviationoftheLCSismodelledbya differentialmotionvector(DMV)intheform[d,θ] T ,wheredandθarethepositionandorientation deviationoftheLCS,respectively. Inthismultistageprocess,aninspectionstagemaybeplacedalongtheprocessforqualitycontrol. Assuminganinspectionstageaftertheassemblystagek,theinspectionresultsaredescribedas: 𝒀𝑪∙𝑿𝑽,(2) whereY k isthevectorthatrepresentsthedeviationofthefeaturesinspectedafterstagekand, therefore,itisafunctionofthecurrentdeviationoftheresultingassembly(X k )throughthematrixC k plusthemeasurementerrorrepresentedbythevectorV k .BothEquations(1‐2)definetheerror propagationinMASofNstages,wherek=1,...,N.AnexampleofMASandtheeffectoferror propagationisshowninFigure1,wherefixturingisbasedon4‐wayand2‐waylocators.Asitcanbe seen,alocatorerroratstagekproducesanerrorintheresultingsubassemblyafterstagek.Thus,this subassemblyentersstagek+1and,duetorelocationerror,andevenifnofixtureorweldingerroris added,theresultingsubassemblyafterstagek+1presentsageometricerror.Later,attheinspection stage,theassemblyisinspectedandaqualityerrorisidentified.Readersinterestedinadetailed descriptionofSoVmodelderivation,pleaserefertoreferences[3–5,18]. Appl.Sci.2020,10,xFORPEERREVIEW4of21 Figure1.(a)Multistageassemblysystem(MAS)withNstations;(b)illustrationoferrorpropagation ina2DMAS. 2.2.MethodologyAdoptedtoDefinetheSimulationModel Sincetheendofthelastcentury,themethodologiesofdesignandmodellingofobject‐oriented systemshavebeengainingpopularityinthefieldofsystemsanalysisanddesign,especiallysincethe developmentoftheunifiedmodellinglanguage(UML)in1997.AlthoughtheinitialuseoftheUML wasfocusedonsoftwaresystems,itwasrapidlyextendedtoothermixedsystems(mechatronics, embedded,etc.)andtocomplexsystems(systemsofsystems),asisthecaseofthecurrentcyberphysicalmanufacturing/productionsystems,byUMLprofilesassystemsmodellinglanguage (SysML)[19]. WhiletheuseofSysMLiscrucialforestablishingformalandunambiguouscommunications betweensystemengineers,disciplinarydesigners,andsystemanalysts,Modelicaisanequationbased,object‐orientedbehavioralsimulationlanguagethathasbeenshowntobeasuitablelanguage totakeintoaccountgeometricalandmulti‐physicalconstraintsattheconceptualdesignphaseunder aMBSEapproach[20,21].ThesynergycreatedbyintegratingSysMLandModelicainthedesignand specificationofsimulationsystemsisverysignificantandtheadvantagesfromthejointuseofboth languagesaremultiple[22,23].However,MBSEpromotestheconstructionofexecutablesimulation models(e.g.,Modelicamodels)fromdescriptivemodels,suchasSysMLmodels.Therefore,thereis aneedtoautomateSysML–Modelicatransformationsandviceversa[24]. ThemethodologyproposedtodefinethesimulationmodelisbasedonbothSysMLand Modelica.Furthermore,themethodologyadoptstheMBSEapproachanditfollowstheflowof activitiesforproductdevelopmentproposedintheextendedV‐model[25],whichincorporatesan approachtovirtualproductdevelopment.Notethatthisresearchworkcanbeplacedinthefirst phasesoftheV‐modelrelatedtotheprocessofsystems,whenthephaseformodellingand specificationofthesystemtobeanalyzedhasalreadybeencarriedoutandadesignoftheconceptof thesystemisgiven. Theproposedmethodologyisinspiredbytheresultsofsomepublishedresearch[24],mainlyin thefieldofproductdevelopment,withtheaimofsystematizingthetasksinvolvedinthedesignand implementationofsimulationsystems.Themethodologyiscomposedoffivestepsanditisgenerally enoughtobeappliedinthedefinitionofanytypeofsimulationmodel: 1. Analysisofthefunctionalandlogicalstructureofthesystemtobesimulated.Thesystemmustbe analyzedinordertoknowthestructuralelementsandtheirrelationshipsthatcharacterizeit.This structureisusuallydescribedusingaSysMLblockdefinitiondiagram(BDD),wherethelogical systemcomponentsarerepresentedbyblocksandactivitydiagramsforprocessmodelling. 2. Definitionofconceptsandrequirementsforthesimulationsystemmodel.Forthis,various aspectsmustbeconsidered,suchasthetypeofsimulations(e.g.,continuousdynamicordiscrete events),thegoalsofthestudy(e.g.,maximumdefectindexvalue,minimumthroughputvalue, etc.),andthesimulationalternativesfortheprototype.Forthistask,SysMLdiagrams,suchas BDDandrequirementdiagramsareused. Figure 1. ( a ) Multistage assembly system (MAS) with N stations; ( b ) illustration of error propagation in a 2D MAS. 2.2. Methodology Adopted to Define the Simulation Model Since the end of the last century, the methodologies of design and modelling of object-oriented systems have been gaining popularity in the field of systems analysis and design, especially since the development of the unified modelling language (UML) in 1997. Although the initial use of the UML was focused on software systems, it was rapidly extended to other mixed systems (mechatronics, embedded, etc.) and to complex systems (systems of systems), as is the case of the current cyber-physical manufacturing/production systems, by UML profiles as systems modelling language (SysML) [19]. While the use of SysML is crucial for establishing formal and unambiguous communications between system engineers, disciplinary designers, and system analysts, Modelica is an equation-based, object-oriented behavioral simulation language that has been shown to be a suitable language to take into account geometrical and multi-physical constraints at the conceptual design phase under a MBSE approach [ 20 , 21 ]. The synergy created by integrating SysML and Modelica in the design and specification of simulation systems is very significant and the advantages from the joint use of both languages are multiple [ 22 , 23 ]. However, MBSE promotes the construction of executable simulation models (e.g., Modelica models) from descriptive models, such as SysML models. Therefore, there is a need to automate SysML–Modelica transformations and vice versa [24]. The methodology proposed to define the simulation model is based on both SysML and Modelica. Furthermore, the methodology adopts the MBSE approach and it follows the flow of activities for product development proposed in the extended V-model [ 25 ], which incorporates an approach to virtual product development. Note that this research work can be placed in the first phases of the V-model related to the process of systems, when the phase for modelling and specification of the system to be analyzed has already been carried out and a design of the concept of the system is given. The proposed methodology is inspired by the results of some published research [ 24 ], mainly in the field of product development, with the aim of systematizing the tasks involved in the design and implementation of simulation systems. The methodology is composed of five steps and it is generally enough to be applied in the definition of any type of simulation model: 1. Analysis of the functional and logical structure of the system to be simulated. The system must be analyzed in order to know the structural elements and their relationships that characterize it. This structure is usually described using a SysML block definition diagram (BDD), where the logical system components are represented by blocks and activity diagrams for process modelling.
Appl. Sci. 2020,10, 6606 5 of 20 2. Definition of concepts and requirements for the simulation system model. For this, various aspects must be considered, such as the type of simulations (e.g., continuous dynamic or discrete events), the goals of the study (e.g., maximum defect index value, minimum throughput value, etc.), and the simulation alternatives for the prototype. For this task, SysML diagrams, such as BDD and requirement diagrams are used. 3. Structural and behavioral modelling of the simulation system (the system of interest). Taking into account the results of the previous step, a viable solution is proposed for the objects structure of the simulation system and their prescribed behavior. Structure and behavior descriptions are decomposed to the level of abstraction required and they are described using SysML diagrams, such as BDDs, internal block diagrams (IBDs), parametric diagrams, activity diagrams, sequence diagrams, etc. 4. Modelling the simulations. In this step, the simulation system is related to other relevant design information through: (a) defining a model context, where the elements of the simulation system are bound to the corresponding elements of the system to be analyzed in order to preserve the consistency among all models; (b) modelling the simulations, by defining the simulation runs to be performed; (c) abstracting the simulation by defining the measure of effectiveness from simulation; (d) using the abstracted simulation in the context of design optimization by relating them to stakeholder requirements and measures of effectiveness pointed out in the model of the system to be analyzed (Step 1). 5. Transformation of SysML models into Modelica and validation of the meta-model through the use of the meta-model on a case study. To obtain an executable simulation model, the SysML description of the system must be implemented using a language with this capability, such as Modelica. 3. Modelling and Implementation of the Simulation Prototype 3.1. The Assembly System to Be Analysed and the Simulation System Requirements The first step of the methodology is to define the logical structure of the system to be analyzed. We focused our work on a type of assembly system (AS) that has many of the properties (flexibility, reconfigurability, reactivity, intelligence, etc.) that should be present in advanced manufacturing systems. This type of AS, named the flexible and modular assembly line [ 26 ], is characterized by: (a) adopting a mixed production model offering flexible routes of the products throughout the system, (b) using automatic guided vehicles (AGVs) to provide it with the great flexibility required, and (c) adhering to a whole set of additional design principles. Among these principles, the need for flexible integration of quality control loops stands out, with some of them focused on preventing the generation and propagation of geometric defects. The objective of this work is to validate these strategies with the construction of a simple simulation prototype supported by a simulation meta-model that will be described in the following sections. For the sake of simplicity, in this work, we focus on the simulation of a MAS for the assembly of a single product, with an established multi-station process without considering alternative routes, and subject to a number of restrictions that are described throughout this section. The assembly line consists of a certain number (N) of assembly stations to execute the assembling operations and can include inspection stations for the in-line measurement and verification of the final assemblies in order to establish their acceptance or rejection. Each assembly station includes an assembly machine that adds a new part on the incoming subassembly. To execute this operation, the machine previously fixes the part and the subassembly using a set of locators which can be adjusted manually or automatically. Furthermore, the assembly stations may have capabilities for conducting in-process measurements on the resulting subassembly, although the measurements in this case will present greater uncertainty than those obtained from the inspection stations. Both the measured data from the on-line measurements (inspection stations) and from the in-processing measurements (assembly stations) can be used to compute, according to different optimization algorithms, the correction of the
Appl. Sci. 2020,10, 6606 6 of 20 locators’ positions for improving the quality index for the final assemblies. Moreover, each assembly station has two input buffers, one for subassemblies and one for parts, to regulate the flow of materials. The transport of processed assemblies between the stations is carried out by means of a set of AGVs, the number of which is sufficient to avoid any stock rupture in the buffers caused by delays or lack of transport capacity. Therefore, in this first work, the transport processes are not modelled. From the above description, the work is clearly focused on a generic MAS with a sequential linear flow of materials through a variable number of stations which allow the processing of the assemblies and their measurement. This MAS is also equipped with a control logic both for the logistics (flow of materials and production orders) and for the assurance and improvement of geometric quality. Therefore, it is a generic MAS type, which can be described with the modular and scalable structure of the meta-model shown in the BDD of Figure 2. Appl.Sci.2020,10,xFORPEERREVIEW6of21 Fromtheabovedescription,theworkisclearlyfocusedonagenericMASwithasequential linearflowofmaterialsthroughavariablenumberofstationswhichallowtheprocessingofthe assembliesandtheirmeasurement.ThisMASisalsoequippedwithacontrollogicbothforthe logistics(flowofmaterialsandproductionorders)andfortheassuranceandimprovementof geometricquality.Therefore,itisagenericMAStype,whichcanbedescribedwiththemodularand scalablestructureofthemeta‐modelshownintheBDDofFigure2. Figure2.BlockdefinitiondiagramforthegenericMASstructure. Next,andaccordingtothesecondstepofthemethodology,therequirementsforthesystemof interest,i.e.,thesimulationsystem,areestablished.Takingintoaccountthepreviouslydescribed characteristicsofthesystemtoanalyze,thesimulationprototypeanditsmeta‐modelmustalsobe modularandscalableinordertosupportthecreationofspecificsimulationmodelsforagivenMAS. Additionally,theprototypemustbedesignedtakingadvantageofModelica’sabilitytoobtain executablemodelsfromlibrariesformedbyasetofreusableblocks/classes.Thesethreerequirements arefundamentalwhendesigningaflexibleandmodularprototypethat,inthefuture,canbe specializedtoenrichthesimulationbyincorporatingthebehaviormodelsofasmallerscalesystem, suchasmulti‐axissystems,locatorconfigurationsystemswithautomaticadjustment,etc. 3.2.ProposedSimulationMeta‐Model OncethefunctionalandlogicalstructureofMASandtherequirementsforthesimulationmodel (Steps1and2)havebeendefined,thenextstepistoestablishthemeta‐modelforthesimulation systemofanassemblyline.Thismeta‐modelmustdefinethestaticstructureoftheblocksandthe behaviorofthoseblocks,whichwillserveasconstructiveelementsforthecreationofthe correspondingexecutablesimulationmodelforaspecificassemblyline. Tosupporttheproductionqualityparadigm,thesimulationmeta‐modelisstructuredintwo modellibrarypackagesthatincludethereusableblockstocomposethesimulationmodels. Specifically,theselibrariesare:(a)abasiconeforthelogisticsflowsimulation,whichsupportsthe datacorrespondingtoorderprocessing,monitoring,controltimes,etc.,and(b)aspecializationofthe previousonethataddsthesimulationofthegeometricvariabilitypropagationaccordingtotheSoV technique.Thisgeometricvariationflowsimulationsupportsthedatacorrespondingtothe differentialmotionvectorofthepartsoftheassemblyandtheirpropagation.Themodelstructuring usingtheselibrariesenablesthesubsequentdevelopmentofotherlibrariestosimulatethevariability Figure 2. Block definition diagram for the generic MAS structure. Next, and according to the second step of the methodology, the requirements for the system of interest, i.e., the simulation system, are established. Taking into account the previously described characteristics of the system to analyze, the simulation prototype and its meta-model must also be modular and scalable in order to support the creation of specific simulation models for a given MAS. Additionally, the prototype must be designed taking advantage of Modelica’s ability to obtain executable models from libraries formed by a set of reusable blocks/classes. These three requirements are fundamental when designing a flexible and modular prototype that, in the future, can be specialized to enrich the simulation by incorporating the behavior models of a smaller scale system, such as multi-axis systems, locator configuration systems with automatic adjustment, etc. 3.2. Proposed Simulation Meta-Model Once the functional and logical structure of MAS and the requirements for the simulation model (Steps 1 and 2) have been defined, the next step is to establish the meta-model for the simulation system of an assembly line. This meta-model must define the static structure of the blocks and the behavior of those blocks, which will serve as constructive elements for the creation of the corresponding executable simulation model for a specific assembly line. To support the production quality paradigm, the simulation meta-model is structured in two model library packages that include the reusable blocks to compose the simulation models. Specifically, these libraries are: (a) a basic one for the logistics flow simulation, which supports the
Appl. Sci. 2020,10, 6606 7 of 20 data corresponding to order processing, monitoring, control times, etc., and (b) a specialization of the previous one that adds the simulation of the geometric variability propagation according to the SoV technique. This geometric variation flow simulation supports the data corresponding to the differential motion vector of the parts of the assembly and their propagation. The model structuring using these libraries enables the subsequent development of other libraries to simulate the variability propagation according to other techniques, for example, based on data models, or to simulate the system with other planning and production control logics, for example, Kanban. In the rest of the section, in order to not extend too much, only some of the diagrams corresponding to the construction of the second library are presented. The BDD in Figure 3shows the static structure of the simulation system, our system of interest. The Simulation_AssemblyProcess block is composed of a number of AssemblyWorkstationProcess blocks, corresponding to the assembly processes executed at the workstations; a number of InspectionWorkstationProcess blocks, corresponding to the inspection processes executed at the inspection stations; an OrderArrivalProcess block, corresponding to the assembly order arrival process; an OrderSinkProcess block, corresponding to the removal of the completed assembly orders. Additionally, the Simulation_AssemblyProcess blockl is composed of a Simulation_Control block that, in addition to monitoring performance measures, such as throughput and defect index, is responsible for reducing the variability of key quality characteristics by using different optimization logic and algorithms to calculate corrections in the position of locators. Appl.Sci.2020,10,xFORPEERREVIEW7of21 propagationaccordingtoothertechniques,forexample,basedondatamodels,ortosimulatethe systemwithotherplanningandproductioncontrollogics,forexample,Kanban.Intherestofthe section,inordertonotextendtoomuch,onlysomeofthediagramscorrespondingtotheconstruction ofthesecondlibraryarepresented. TheBDDinFigure3showsthestaticstructureofthesimulationsystem,oursystemofinterest. TheSimulation_AssemblyProcessblockiscomposedofanumberofAssemblyWorkstationProcess blocks,correspondingtotheassemblyprocessesexecutedattheworkstations;anumberof InspectionWorkstationProcessblocks,correspondingtotheinspectionprocessesexecutedatthe inspectionstations;anOrderArrivalProcessblock,correspondingtotheassemblyorderarrival process;anOrderSinkProcessblock,correspondingtotheremovalofthecompletedassemblyorders. Additionally,theSimulation_AssemblyProcessblockliscomposedofaSimulation_Controlblock that,inadditiontomonitoringperformancemeasures,suchasthroughputanddefectindex,is responsibleforreducingthevariabilityofkeyqualitycharacteristicsbyusingdifferentoptimization logicandalgorithmstocalculatecorrectionsinthepositionoflocators. Figure3.Blockdefinitiondiagramofthesimulationsystem. Figure4showstheinternalblockdiagramofthecomposedblockAssemblyWorktationProcess. Ascanbeseen,eachAssemblyWorkstationProcessblockconsistsoftwoblockinstances correspondingtothequeuingprocessofthesubassemblies(SubassemblyStoreProcess)andtheparts (PartStoreProcess);ablockinstancecorrespondingtothearrivalprocessofthepartsthatare incorporatedintotheprocessedassembly(PartArrivalProcess);ablockinstancecorrespondingtothe assemblyprocess(AssemblyMachineProcess).Thediagramalsoshowsthethreetypesofconnections betweentheblocks:a)assembly_item,whichcontainsthedatacorrespondingtotheassemblyflow inthelineanditsqualitycharacteristics,b)part_item,whichcontainsthedatacorrespondingtothe flowoftheincomingpartsandtheirqualitycharacteristics,andc)control_data,whichcontainsthe dataforstationsmonitoringandforcorrectionstobeappliedinthepositionoflocators. Figure 3. Block definition diagram of the simulation system. Figure 4shows the internal block diagram of the composed block AssemblyWorktationProcess. As can be seen, each AssemblyWorkstationProcess block consists of two block instances corresponding to the queuing process of the subassemblies (SubassemblyStoreProcess) and the parts (PartStoreProcess); a block instance corresponding to the arrival process of the parts that are incorporated into the processed assembly (PartArrivalProcess); a block instance corresponding to the assembly process (AssemblyMachineProcess). The diagram also shows the three types of connections between the blocks: a) assembly_item, which contains the data corresponding to the assembly flow in the line and its quality characteristics, b) part_item, which contains the data corresponding to the flow of the incoming parts and their quality characteristics, and c) control_data, which contains the data for stations monitoring and for corrections to be applied in the position of locators.
Appl. Sci. 2020,10, 6606 8 of 20 Appl.Sci.2020,10,xFORPEERREVIEW8of21 Figure4.InternalblockdiagramoftheWorkstationProcessblock. Animportantaspectinthedefinitionoftheblocksthatcomposethestructureofthesimulation systemmodelistheirbehavior.Inthiscase,thebehaviorofthesystemblocksisofadiscretenatureand itismodelledusingthediscreteeventsystemsspecification(DEVS)formalism[27].InDEVS,the behaviorofindivisibleblocks(e.g.,MachineProcess,PartStorageProcessorControlSimulation)is governedbyanatomicDEVSmodeldefinedbyasetofstates,asetofinputevents,asetofoutput events,andfourfunctionsthatdefinethedynamics:(a)thetimeadvancefunction,(b)theinternal transitionfunction,(c)theexternaltransitionfunction,and(d)theoutputfunction.Ontheotherhand, thebehaviorofcompoundblocks(e.g.,AssemblyWorkstationProcessorthe Simulation_AssemblyProcessitself)isgovernedbyacoupledDEVSmodel,inwhichoutputevents fromonesubsystemareinputeventsfromanothersubsystem.Thesignalscorrespondingtotheinput andoutputeventshandledintheatomicDEVSmodelareincludedintheassembly_item,data_item, andcontrol_dataconnectors,indicatedabove. ForthedefinitionoftheatomicDEVSmodelscorrespondingtothedifferenttypesofblocks,a categorizationstructurehasbeendefined.Thiscategorizationallowstospecializetheblocksfrom someancestors(generalclass),dependingonthetypeofinputand/oroutputeventsandthetypeof connectors(ports)used. Aspreviouslyindicated,thebehaviormodelofindivisibleblocksisgovernedbyanatomic DEVSmodel.Thisbehaviorisrepresentedbyastatemachinediagrambecauseitbeginswhenthe blockisinstantiatedandfinisheswhentheinstanceisdestroyed.Thistypeofbehaviorcanbe displayedusingaSysMLstatemachinediagram.Forexample,inFigure5,thestatemachinediagram fortheAssembly_Processblockisshown.Ascanbeseen,thestatesoftheassemblyprocessare:Idle, Setup,Assembling,Repairing,andBlocked.IdleisacompositedstateoftheEmpty,Part_Loaded, Assembly_Loaded,andReadysubstates.Thediagramalsoshowsthetransitionsbetweenstatesthat aretriggeredwhencertaineventsoccur.Forexample,thetransitionbetweenAssemblingand Repairingistriggeredbythefailure_event. Figure 4. Internal block diagram of the WorkstationProcess block. An important aspect in the definition of the blocks that compose the structure of the simulation system model is their behavior. In this case, the behavior of the system blocks is of a discrete nature and it is modelled using the discrete event systems specification (DEVS) formalism [ 27 ]. In DEVS, the behavior of indivisible blocks (e.g., MachineProcess, PartStorageProcess or ControlSimulation) is governed by an atomic DEVS model defined by a set of states, a set of input events, a set of output events, and four functions that define the dynamics: (a) the time advance function, (b) the internal transition function, (c) the external transition function, and (d) the output function. On the other hand, the behavior of compound blocks (e.g., AssemblyWorkstationProcess or the Simulation_AssemblyProcess itself) is governed by a coupled DEVS model, in which output events from one subsystem are input events from another subsystem. The signals corresponding to the input and output events handled in the atomic DEVS model are included in the assembly_item, data_item, and control_data connectors, indicated above. For the definition of the atomic DEVS models corresponding to the different types of blocks, a categorization structure has been defined. This categorization allows to specialize the blocks from some ancestors (general class), depending on the type of input and/or output events and the type of connectors (ports) used. As previously indicated, the behavior model of indivisible blocks is governed by an atomic DEVS model. This behavior is represented by a state machine diagram because it begins when the block is instantiated and finishes when the instance is destroyed. This type of behavior can be displayed using a SysML state machine diagram. For example, in Figure 5, the state machine diagram for the Assembly_Process block is shown. As can be seen, the states of the assembly process are: Idle, Setup, Assembling, Repairing, and Blocked. Idle is a composited state of the Empty, Part_Loaded, Assembly_Loaded, and Ready substates. The diagram also shows the transitions between states that are triggered when certain events occur. For example, the transition between Assembling and Repairing is triggered by the failure_event. Once the simulation system is modelled, and as indicated in Step 4 of the methodology, the modelling of simulations is the next task. In this step, the simulation system model must be related to other relevant design information for defining a simulation. The BDD in Figure 6defines the model context that shows the relation between the system to be analyzed (MAS) and the simulation system (Simulation_AssemblyProcess). Furthermore, the model context shows that each execution of a simulation (SimulationRun), in addition to using a simulation system (Simulation_AssemblyProcess), contains a set of parameters that define the simulation scenario (Simulation_Scenario). Two types of parameters are distinguished: those that are static in each simulation and only change in the different simulations of a MAS, StaticScenario, and those to which dynamic changes can be assigned during each simulation, DynamicScenario, such as the wear of locators, a change in the failure rates of a machine, etc.
Appl. Sci. 2020,10, 6606 9 of 20 Appl.Sci.2020,10,xFORPEERREVIEW9of21 Figure5.StatemachinediagramforAssemblyProcessblock. Oncethesimulationsystemismodelled,andasindicatedinStep4ofthemethodology,the modellingofsimulationsisthenexttask.Inthisstep,thesimulationsystemmodelmustberelated tootherrelevantdesigninformationfordefiningasimulation.TheBDDinFigure6definesthemodel contextthatshowstherelationbetweenthesystemtobeanalyzed(MAS)andthesimulationsystem (Simulation_AssemblyProcess).Furthermore,themodelcontextshowsthateachexecutionofa simulation(SimulationRun),inadditiontousingasimulationsystem (Simulation_AssemblyProcess),containsasetofparametersthatdefinethesimulationscenario (Simulation_Scenario).Twotypesofparametersaredistinguished:thosethatarestaticineach simulationandonlychangeinthedifferentsimulationsofaMAS,StaticScenario,andthosetowhich dynamicchangescanbeassignedduringeachsimulation,DynamicScenario,suchasthewearof locators,achangeinthefailureratesofamachine,etc. ThefullmodelspecificationincludesanumberofdifferenttypesofSysMLdiagramswhich,due tospaceconstraints,havenotbeenincludedinthemanuscript. Figure6.Blockdefinitiondiagramoftheanalysiscontextmodeloftheassemblylinedomain. Figure 5. State machine diagram for AssemblyProcess block. Appl.Sci.2020,10,xFORPEERREVIEW9of21 Figure5.StatemachinediagramforAssemblyProcessblock. Oncethesimulationsystemismodelled,andasindicatedinStep4ofthemethodology,the modellingofsimulationsisthenexttask.Inthisstep,thesimulationsystemmodelmustberelated tootherrelevantdesigninformationfordefiningasimulation.TheBDDinFigure6definesthemodel contextthatshowstherelationbetweenthesystemtobeanalyzed(MAS)andthesimulationsystem (Simulation_AssemblyProcess).Furthermore,themodelcontextshowsthateachexecutionofa simulation(SimulationRun),inadditiontousingasimulationsystem (Simulation_AssemblyProcess),containsasetofparametersthatdefinethesimulationscenario (Simulation_Scenario).Twotypesofparametersaredistinguished:thosethatarestaticineach simulationandonlychangeinthedifferentsimulationsofaMAS,StaticScenario,andthosetowhich dynamicchangescanbeassignedduringeachsimulation,DynamicScenario,suchasthewearof locators,achangeinthefailureratesofamachine,etc. ThefullmodelspecificationincludesanumberofdifferenttypesofSysMLdiagramswhich,due tospaceconstraints,havenotbeenincludedinthemanuscript. Figure6.Blockdefinitiondiagramoftheanalysiscontextmodeloftheassemblylinedomain. Figure 6. Block definition diagram of the analysis context model of the assembly line domain. The full model specification includes a number of different types of SysML diagrams which, due to space constraints, have not been included in the manuscript. 3.3. Model Implementation Using Modelica This section contains a synthesized description of the implementation of the previously presented SysML meta-model in the Modelica language using mainly textual code to define classes and connectors with sufficient detail for generating executable simulation models. Modelica also supports the graphical appearance definition of components using annotations. This resource provides a powerful mechanism to build complex objects of study, as in the case of the MAS, whose OpenModelica graphical view is shown in Figure 7. OpenModelica software has been used to carry out both the implementation of the reusable libraries expressed with the Modelica language and the construction and execution of the simulation models. As mentioned before, the meta-model establishes a simulation model of the logistic flow which is later specialized to include the simulation of the quality characteristics flow. In this way, two Modelica packages are modelled: logistic flow simulation (LFS) and variation flow simulation (VFS), developed for the linear MAS described in the previous section. Figure 7is an OpenModelica screenshot showing the structure of the libraries (packages) and a diagram view of an instantiated model. As can be
Appl. Sci. 2020,10, 6606 16 of 20 Figure 7shows the implementation of the assembly line in OpenModelica, although some elements, such as the Control block, are replaced depending on the modelled scenario. To delve into other conditions considered in the case study, we suggest consulting [ 10 ], in which more detailed information of the assembly process and geometry data are presented. From these conditions, various simulations of the process have been run with each of the proposed scenarios in order to compare the various control alternatives and analyze their effect from the perspectives of geometric quality and productivity. 4.2. Case Study Results The results obtained show that the control strategy proposed has notably improved the quality of the parts produced, observing a generalized decrease in the maximum deviations detected. Figure 11 shows the graphical representation of the mean values and the standard deviations of the maximum deviations detected at Stage_4. The dark blue line represents Case 1 data (Scenario_0). Red and purple lines represent Case 2 and 3, respectively, showing considerable improvements compared to Case 1. However, this improvement is even greater in Cases 4 and 5, represented with green and light blue lines, respectively. Appl.Sci.2020,10,xFORPEERREVIEW16of21 ThemeasurementnoisefortheStage_1(assemblystationwithin‐processmeasurement)is definedbyanormaldistributionwith0meanand0.03mmstandarddeviation. Themeasurementnoisefortheinspectionstageisdefinedbyanormaldistributionwith0mean and0.01mmstandarddeviation. Figure7showstheimplementationoftheassemblylineinOpenModelica,althoughsome elements,suchastheControlblock,arereplaceddependingonthemodelledscenario.Todelveinto otherconditionsconsideredinthecasestudy,wesuggestconsulting[10],inwhichmoredetailed informationoftheassemblyprocessandgeometrydataarepresented.Fromtheseconditions,various simulationsoftheprocesshavebeenrunwitheachoftheproposedscenariosinordertocomparethe variouscontrolalternativesandanalyzetheireffectfromtheperspectivesofgeometricqualityand productivity. 4.2.CaseStudyResults Theresultsobtainedshowthatthecontrolstrategyproposedhasnotablyimprovedthequality ofthepartsproduced,observingageneralizeddecreaseinthemaximumdeviationsdetected.Figure 11showsthegraphicalrepresentationofthemeanvaluesandthestandarddeviationsofthe maximumdeviationsdetectedatStage_4.ThedarkbluelinerepresentsCase1data(Scenario_0).Red andpurplelinesrepresentCase2and3,respectively,showingconsiderableimprovementscompared toCase1.However,thisimprovementisevengreaterinCases4and5,representedwithgreenand lightbluelines,respectively. (a)(b) Figure11.Statisticalanalysisofmaximumdeviationdetectedatfinalinspection(Stage_4).(a)Mean; (b)standarddeviation. Consideringtheresultsrelatedtoproductivity,everysimulationhasbeenrunforthesame simulationtime(50,000s)tocomparethetotalnumberoffinishedproducts.Moreover,the throughput(finishedproductsperhour)isalsocalculated.Likewise,withregardtotheanalysisof geometricquality,alimitof3mm(inabsolutevalue)hasbeenestablishedforthemaximumallowed deviation,obtainingthenumberoffinishedproductsthatmeetthespecificationsandbeingableto calculatethefailurepercentagewithrespecttototalproduction(defectindex).Alltheseresultsare summarizedinTable1. Table1.Resultstable.Sixresultsaresummarized:finishedproducts(F.P);finishedproductsthatmeet specifications(FPMS);finishedproductsperhour(throughput);defectindex(D.I.);finishedproducts thatmeetspecificationsperhour(FPMSH). Case1Case2Case3Case4Case5 F.P.214164203153180 Throughput 15.4111.8114.6111.0112.96 Figure 11. Statistical analysis of maximum deviation detected at final inspection (Stage_4). ( a ) Mean; (b) standard deviation. Considering the results related to productivity, every simulation has been run for the same simulation time (50,000 s) to compare the total number of finished products. Moreover, the throughput (finished products per hour) is also calculated. Likewise, with regard to the analysis of geometric quality, a limit of 3 mm (in absolute value) has been established for the maximum allowed deviation, obtaining the number of finished products that meet the specifications and being able to calculate the failure percentage with respect to total production (defect index). All these results are summarized in Table 1. Table 1. Results table. Six results are summarized: finished products (F.P); finished products that meet specifications (FPMS); finished products per hour (throughput); defect index (D.I.); finished products that meet specifications per hour (FPMSH). Case 1 Case 2 Case 3 Case 4 Case 5 F.P. 214 164 203 153 180 Throughput 15.41 11.81 14.61 11.01 12.96 F.P.M.S. 155 132 164 136 156 D.I. 27.57 19.51 19.21 11.11 13.33 F.P.M.S.H. 11.17 9.51 11.81 9.80 11.24 The main conclusions based on the analysis of the results of Table 1are presented below:
Appl. Sci. 2020,10, 6606 17 of 20 •Case 1 presents the highest throughput. However, this case also has the highest D.I. • The introduction of the feed-forward control (Cases 2 and 3) allows for improvement of the quality of the finished products and to reduce the D.I. • In Cases 4 and 5, a backward control is also incorporated, observing a greater improvement in the quality results and obtaining the minimum D.I. • The consideration of manual and automatic actuators in locator positioning considerably reduces the number of finished products. This effect is greater in the cases with manual actuators (Cases 2 and 4). • In the cases where manual actuators are considered (Cases 2 and 4), the improvement in quality is not enough to offset the reduction of throughput. • In Case 3, the results show that, despite reducing the total number of products produced, the improvement in quality causes an increase in the number of finished products that meet specifications, obtaining the best result. As expected, the introduction of measurement and adjustment operations causes a reduction in the units produced. However, if we combine these data with the quality results, we can see that the total number of finished products that meet specifications is notably higher in Case 3 (automatic feed-forward control). However, it would be interesting to develop other types of analysis, such as a cost study, to cross-check with the results obtained and to be able to perform a more complete multi-domain analysis. Beyond the analysis of the results of the case study, it is important to highlight that the implementation and simulation of the models for each scenario has been satisfactorily completed, obtaining results consistent with the conditions set out. 5. Discussion This section is divided into two parts. First, we focus the discussion on the meta-model applied in the simulation prototype and the case study, and later on, we drive the attention to the approaches adopted and the proposed methodology from an industry 4.0 perspective and focus on geometric variability control. Regarding the case study, the instantiated models and simulations to analyze different control logics for geometric variability reduction have shown different positive aspects: • Validity of the meta-model. The correct construction, compilation, and simulation of the instances demonstrate the correct structuring and implementation of the meta-model. Moreover, it has been proven that the modular structure of the meta-model allows to build executable simulation models in a few minutes and in a very intuitive way. •Multi-domain simulation approach. It has been proven that a multidomain global assessment is necessary to conduct an adequate analysis in MAS. For instance, according to the results in the best case scenario, the quality improvement increased the number of parts within specifications and the number of parts manufactured decreased with respect to other alternatives. Thus, an analysis to prioritize productivity would have provided a different alternative. • Flexible simulation. The model instantiation supports the simulation of assembly lines with an interesting level of detail, allowing the introduction of various characteristics and behaviors of the process and obtaining realistic and reliable results. Moreover, the flexible and modular structure is aimed to facilitate the extension of the model to incorporate new block types, such as the consideration of new strategies (e.g., selective assembly) and logic control (e.g., based on establishment of optimal number and placement of inspection stations). For this reason, Modelica and the proposed libraries are a great potential resource for the analysis of assembly lines at the design stage. On the other hand, the experience using the proposed methodology has proven that the use of SysML is a key element in the simulation system modelling since its block-based structure may
Appl. Sci. 2020,10, 6606 18 of 20 be rewritten quite easily into Modelica formalism. However, recent research works point out the need to advance in some aspects, such as the automatic validation of SysML models, the automatic transformation SysML–Modelica, etc. As these advances are reflected in the new versions of the standards published by the Object Management Group and Modelica groups, the industry will tend to adopt similar approaches to the one proposed in this work. During this work, we have stated the lack of alignment of SysML diagrams to discrete manufacturing systems, as it has been reported [ 28 ]. Therefore, the development of normative SysML profiles that consider the modelling of manufacturing systems from different points of view (different types of analysis) and the development of standard libraries for these manufacturing entities is still an open issue. Furthermore, the normative developments on SysML should make some progress and include all aspects required for an integrated modelling process of a product-process-manufacturing system (e.g., MAS). This is pointed out in [ 29 ] due to the clear evidence of the strong interdependence that exists between a product and its production system, especially when dealing with geometric variability models during product, process, and manufacturing systems lifecycles. SysML and Modelica have shown their ability to represent simplified product geometries (lightweight models) and tolerances [21,30,31]. Another remarkable aspect of the SysML and Modelica languages that makes them suitable for our goals is that they promote the decomposition of complex systems into discrete components and subsystems that are later integrated into a system model, allowing composition of high-scale and low detail (lightweight) models, such as the one proposed in this paper and others of smaller scale and higher detail to form a virtual prototype and a digital twin. In the context of our research, this property is very important because it is possible to model the behavior of low-level components, such as those corresponding to the computer numerical control machine axis system, cutting tools, or manufacturing stages, and integrate them into global models. In this regard, it is of interest to mention that the SoV technique allows for modelling these low-level components to later model their interaction for analyzing the global behavior of the process, as proposed in [32,33], for example. Finally, the importance of creating more flexible production system simulations within CPS and Digital Twin paradigms should be remarked. For this purpose, and according to [ 34 ], it is a key issue to model specific aspects and behaviors of the production system separately from the core simulation, including black-box modules to the main simulation model. The multidisciplinary co-simulation (multi-resolution simulation, hybrid simulation modelling, etc.) will assume an increasingly decisive role also for short-term decisions and at the phases of ramp-up and actual production [ 35 ], especially when dealing with scalable and highly modular production environments enabled by CPS. 6. Conclusions In this work, a simulation meta-model has been developed to analyze MAS under the production quality paradigm, making use of system modelling tools, as advocated by the MBSE approach. Specifically, the proposed model integrates the unified study of the productive and geometric quality aspects of a MAS. DEVS formalism has been used to model the logistic flow, while the SoV technique has been used to model the variability propagation. Their coupled use has been feasible in allowing us to obtain valid executable simulation models. Moreover, a methodology for the general development of simulation systems has been proposed. The methodology has been successfully applied, allowing to obtain a well-structured simulation model consistent with the MAS design to be simulated. Furthermore, it has allowed us to adopt a modular approach with the implementation of Modelica libraries. These libraries enable easy model instantiation and they show a promising capability for model expansion to support advanced manufacturing systems, such as a flexible and modular assembly line. Using the initial SysML structural and behavioral modelling, the meta-model has been implemented successfully in OpenModelica for the development of executable simulation models, exploiting Modelica language capabilities for multi-domain co-simulations. Finally, the developed
Appl. Sci. 2020,10, 6606 19 of 20 Modelica libraries have been successfully instantiated to construct an executable model for a fictitious case study. The execution of this instantiated model has confirmed the meta-model’s goodness for the study of system performance from an integrated perspective. In this case study, a control strategy based on locator adjustment has been simulated, comparing two control logics. With all of this, it seems evident/clear that the development of tools and meta-models that support multi-domain simulations is a very interesting line of work in the field of manufacturing systems. Thus, our future research work will be focused on incorporating the behavior models of a smaller scale system (multi-axis systems, locator configuration systems with automatic adjustment, etc.) in order to achieve a more detailed and accurate quality simulation. Author Contributions: Conceptualization, F.R.S. and P.R.C.; methodology, F.R.S.; software, S.B.N. and P.R.C.; validation, S.B.N., P.R.C., F.R.S. and J.V.A.-N.; investigation, S.B.N. and F.R.S.; writing—original draft preparation, S.B.N.; writing—review and editing, S.B.N., F.R.S. and J.V.A.-N.; supervision, F.R.S.; funding acquisition, S.B.N. All authors have read and agreed to the published version of the manuscript. Funding: This research was funded by Generalitat Valenciana, grant number ACIF/2019/095. Conflicts of Interest: The authors declare no conflict of interest. References 1. Colledani, M.; Tolio, T.; Fischer, A.; Iung, B.; Lanza, G.; Schmitt, R.; V á ncza, J. Design and management of manufacturing systems for production quality. CIRP Ann. 2014,63, 773–796. [CrossRef] 2. Colledani, M.; Tolio, T.; Yemane, A. Production quality improvement during manufacturing systems ramp-up. CIRP J. Manuf. Sci. Technol. 2018,23, 197–206. [CrossRef] 3. Jionghua, J.; Shi, J. State space modeling of sheet metal assembly for dimensional control. ASME. J. Manuf. Sci. Eng. 1999,121, 756–762. [CrossRef] 4. Zhou, S.; Huang, Q.; Shi, J. State space modelling of dimensional variation propagation in multistage machining process using differential motion vectors. IEEE Trans. Robot. Autom. 2003 ,19, 296–309. [CrossRef] 5. Liu, J.; Jin, J.; Shi, J. State space modelling for 3-D variation propagation in rigid-body multistage assembly processes. IEEE Trans. Autom. Sci. Eng. 2009,7, 274–290. [CrossRef] 6. Liu, J.; Shi, J.; Hu, S.J. Quality-assured setup planning based on the Stream-of-Variation model for multi-stage machining processes. In Proceedings of the ASME 2006 International Manufacturing Science and Engineering Conference, Ypsilanti, MI, USA, 8–11 October 2006; Volume 47624. [CrossRef] 7. Abellan-Nebot, J.V.; Liu, J.; Romero, F. Design of multi-station manufacturing processes by integrating the stream-of-variation model and shop-floor data. J. Manuf. Syst. 2011,30, 70–82. [CrossRef] 8. Liu, C.Q.; Ding, Y.; Chen, Y. Optimal coordinate sensor placements for estimating mean and variance components of variation sources. IIE Trans. 2005,37, 877–889. [CrossRef] 9. Barhak, J.; Djurdjanovic, D.; Spicer, P.; Katz, R. Integration of reconfigurable inspection with stream of variations methodology. Int. J. Mach. Tools Manuf. 2005,45, 407–419. [CrossRef] 10. Abell á n-Nebot, J.V.; Penarrocha, I.; Sales-Seti é n, E.; Liu, J. Optimal inspection/actuator placement for robust dimensional compensation in multistage manufacturing processes. In Computational Methods and Production Engineering; Woodhead Publishing: Sawston, UK, 2017; pp. 31–50. [CrossRef] 11. Abellan-Nebot, J.V.; Liu, J.; Romero, F. Quality prediction and compensation in multi-station machining processes using sensor-based fixtures. Robot. Comput. Integr. Manuf. 2012,28, 208–219. [CrossRef] 12. Djurdjanovic, D.; Ni, J. Online stochastic control of dimensional quality in multistation manufacturing systems. Proc. Inst. Mech. Eng. Part B J. Eng. Manuf. 2007,221, 865–880. [CrossRef] 13. Tao, F.; Qi, Q.; Wang, L.; Nee, A.Y.C. Digital twins and cyber–physical systems toward smart manufacturing and industry 4.0: Correlation and comparison. Engineering 2019,5, 653–661. [CrossRef] 14. Ding, K.; Chan, F.T.; Zhang, X.; Zhou, G.; Zhang, F. Defining a digital twin-based cyber-physical production system for autonomous manufacturing in smart shop floors. Int. J. Prod. Res. 2019 ,57, 6315–6334. [CrossRef] 15. Shao, G.; Jain, S.; Laroque, C.; Lee, L.H.; Lendermann, P.; Rose, O. Digital twin for smart manufacturing: The simulation aspect. In Proceedings of the 2019 Winter Simulation Conference (WSC), National Harbor, MD, USA, 8–11 December 2019; pp. 2085–2098. [CrossRef]
Appl. Sci. 2020,10, 6606 20 of 20 16. Fritzson, P. Principles of Object-Oriented Modeling and Simulation with Modelica 2.1; John Wiley & Sons: Hoboken, NJ, USA, 2010. [CrossRef] 17. Ogata, K.; Yang, Y. Modern Control Engineering; Prentice Hall: Upper Saddle River, NJ, USA, 2002; Volume 4. 18. Shi, J. Stream of Variation Modelling and Analysis for Multistage Manufacturing Processes; CRC Press: Boca Raton, FL, USA, 2006. [CrossRef] 19. Friedenthal, S.; Moore, A.; Steiner, R. A Practical Guide to SysML: The Systems Modeling Language; Morgan Kaufmann: Burlington, MA, USA, 2014. [CrossRef] 20. Papa, S.; Patalano, S.; Lanzotti, A.; Gerbino, S.; Choley, J.Y. Towards the integration of thermal physics and geometrical constraints for a 3D-multiphysical sketcher. In Proceedings of the 2015 IEEE International Symposium on Systems Engineering (ISSE), Rome, Italy, 28–30 September 2015; pp. 248–252. [CrossRef] 21. Barbedienne, R.; Messaoud, Y.B.; Choley, J.Y.; Penas, O.; Ouslimani, A.; Rivi è re, A. SAMOS for Spatial Architecture based on Multi-physics and Organisation of Systems in conceptual design. In Proceedings of the 2015 IEEE International Symposium on Systems Engineering (ISSE), Rome, Italy, 28–30 September 2015; pp. 135–141. [CrossRef] 22. Penas, O.; Plateaux, R.; Patalano, S.; Hammadi, M. Multi-scale approach from mechatronic to Cyber-Physical Systems for the design of manufacturing systems. Comput. Ind. 2017,86, 52–69. [CrossRef] 23. Cao, Y.; Liu, Y.; Paredis, C.J. System-level model integration of design and simulation for mechatronic systems based on SysML. Mechatronics 2011,21, 1063–1075. [CrossRef] 24. Johnson, T.; Kerzhner, A.; Paredis, C.J.; Burkhart, R. Integrating models and simulations of continuous dynamics into SysML. J. Comput. Inf. Sci. Eng. 2012, 12. [CrossRef] 25. Eigner, M.; Gilz, T.; Zafirov, R. Interdisciplinary Product Development-Model Based Systems Engineering. 2012. Available online: https://www.plmportal.org/en/research-detail/interdisciplinary-product-development-model- based-systems-engineering.html (accessed on 4 September 2020). 26. Kern, W.; Rusitschka, F.; Kopytynski, W.; Keckl, S.; Bauernhansl, T. Alternatives to assembly line production in the automotive industry. In Proceedings of the 23rd International Conference on Production Research, Manila, Philippines, 30 July–3 August 2015. 27. Cellier, F.; Kofman, E. Continuous System Simulation; Springer: Berlin/Heidelberg, Germany, 2006. [CrossRef] 28. Noten, J.V.; Gadeyne, K.; Witters, M. Model-based Systems Engineering of Discrete Production Lines Using SysML: An Experience Report. Procedia CIRP 2017,60, 157–162. [CrossRef] 29. Mhenni, F.; Penas, O.; Hammadi, M.; Choley, J.Y.; Hehenberger, P. Systems engineering approach for the conjoint design of mechatronic products and their manufacturing systems. In Proceedings of the 2018 Annual IEEE International Systems Conference (SysCon), Vancouver, BC, Canada, 23–26 April 2018; pp. 1–8. [CrossRef] 30. Plateaux, R.; Penas, O.; Mhenni, F.; Choley, J.Y.; Riviere, A. Introduction of the 3D Geometrical Constraints in Modelica. In Proceedings of the 7th International Modelica Conference, Como, Italy, 20–22 September 2009; pp. 526–530. [CrossRef] 31. Warniez, A.; Penas, O.; Plateaux, R.; Soriano, T. SysML geometrical profile for integration of mechatronic systems. In Proceedings of the IEEE/ASME International Conference on Advanced Intelligent Mechatronics, Besacon, France, 8–11 July 2014; pp. 709–714. [CrossRef] 32. Tang, H.; Duan, J.; Lan, S.; Shui, H. A new geometric error modeling approach for multi-axis system based on stream of variation theory. Int. J. Mach. Tools Manuf. 2015,92, 41–51. [CrossRef] 33. Abellan-Nebot, J.V.; Liu, J.; Subir ó n, F.R.; Shi, J. State Space Modeling of Variation Propagation in Multistation Machining Processes Considering Machining-Induced Variations. J. Manuf. Sci. Eng. Trans. ASME 2012 ,134, 021002. [CrossRef] 34. Negri, E.; Fumagalli, L.; Cimino, C.; Macchi, M. FMU-supported simulation for CPS Digital Twin. Procedia Manuf. 2019,28, 201–206. [CrossRef] 35. Weyer, S.; Meyer, T.; Ohmer, M.; Gorecky, D.; Zühlke, D. Future Modeling and Simulation of CPS-based Factories: An Example from the Automotive Industry. IFAC PapersOnLine 2016,49, 97–102. [CrossRef] © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).