ARMSim a Modeling and Simulation Environment for Agent-based Grid Computing

合集下载

simulation modeling and analysis -回复

simulation modeling and analysis -回复

simulation modeling and analysis -回复Simulation modeling and analysis is a powerful tool used in various industries to understand complex systems, predict their behavior, and make informed decisions. In this article, we will explore what simulation modeling and analysis are, how they work, and why they are valuable in today's world.Simulation modeling is the process of creating a computer-based representation of a real system or process. It involves developing a mathematical model that captures the key components and interactions of the system. This model is then used to simulate the behavior and performance of the system under different scenarios and conditions.Simulation analysis, on the other hand, refers to the process of evaluating the output or results generated by the simulation model. It involves analyzing and interpreting the data produced during the simulation to gain insights into the system's behavior and performance.The first step in simulation modeling and analysis is defining the objectives and scope of the study. This includes identifying the keyvariables, parameters, and constraints that need to be included in the model. For example, in a manufacturing setting, variables such as production rate, inventory levels, and machine downtime may be of interest.Once the objectives and scope are defined, the next step is data collection. This involves gathering relevant data about the system or process under study. This data can come from a variety of sources, including historical records, surveys, and observations. In some cases, it may be necessary to create synthetic or hypothetical data to supplement the available information.After data collection, the model building phase begins. This involves constructing a mathematical representation of the system using specialized software or programming languages. The model should be able to capture the important characteristics and dynamics of the system, such as its inputs, outputs, and interactions.Next, the model needs to be verified and validated. Verification ensures that the model is free from errors and accurately represents the system. Validation, on the other hand, involvescomparing the output of the model with real-world data or expert knowledge to ensure that it accurately captures the system's behavior.Once the model is verified and validated, the simulation experiments can be conducted. These experiments involve running the model using different input values and scenario conditions to generate data on the system's behavior and performance. The output data can then be analyzed using statistical techniques to understand the effects of various factors on the system's performance.Simulation modeling and analysis provide several benefits. First, they allow decision-makers to experiment with different scenarios and conditions without having to disrupt or modify the real system. This can be particularly valuable in sensitive or high-risk environments, where the consequences of change can be costly or dangerous.Second, simulation modeling and analysis provide a level of detail and visibility that is difficult to achieve through other methods. They allow decision-makers to understand the complexinteractions and dependencies within a system, leading to more informed and effective decision-making.Additionally, simulation modeling and analysis can help optimize system performance. By running multiple simulations and analyzing the results, decision-makers can identify bottlenecks, inefficiencies, and areas of improvement. This can lead to cost savings, increased productivity, and enhanced customer satisfaction.In conclusion, simulation modeling and analysis are valuable tools that enable decision-makers to gain insights into complex systems and make informed decisions. By creating a computer-based representation of a system and running simulations,decision-makers can experiment with different scenarios and conditions to understand the system's behavior and optimize its performance. With the increasing complexity of modern systems, simulation modeling and analysis are becoming essential tools in various industries.。

MATLAB英文材料-基于matlab的仿真(含中文翻译)

MATLAB英文材料-基于matlab的仿真(含中文翻译)
Keywords: Mobile robot, Navigation, Simulator, Matlab
1. Introduction
Navigation is the essential ability that a mobile robot. During the development of new navigation algorithms, it is necessary to test them in simulated robots and environments before the testing on real robots and the real world. This is because (i) the prices of robots are expansive; (ii) the untested algorithm may damage the robot during the experiment; (iii) difficulties on the construction and alternation of system models under noise background; (iv) the transient state is difficult to track precisely; and (v) the measurements to the external beacons are hidden during the experiment, but this information is often helpful for debugging and updating the algorithms.
This paper presents a Matlab-based simulator that is fully compatible with Matlab codes,and makes it possible for robotics researchers to debug their codeand do experiments conveniently at the first stage of their research.The algorithms development is based on Matlab subroutines with appointed parameter variables,which are stored in a file to be accessed by the ing this simulator,we can build the environment, select parameters,build subroutinesand display outputs on the screen.Data are recorded during the whole procedure;some basic analyses are also performed.

仿真模拟 算力测算 案例

仿真模拟 算力测算 案例

仿真模拟算力测算案例### Simulation and Computing Power Estimation.1. Introduction.Simulation is a powerful tool that can be used to model and analyze complex systems. It can be used to predict the behavior of a system under different conditions, and to identify potential problems. However, simulation can also be computationally expensive, especially for large and complex systems.The amount of computing power required for a simulation depends on a number of factors, including:The size of the system being simulated.The complexity of the system being simulated.The level of detail required in the simulation.The desired accuracy of the simulation.2. Estimating Computing Power Requirements.There are a number of different methods that can be used to estimate the computing power requirements for a simulation. One common method is to use a benchmark. A benchmark is a set of standard tests that are used to measure the performance of a computer system. By running a benchmark on a computer system, you can get an idea of how well the system will perform on a particular simulation.Another method for estimating computing power requirements is to use a simulation profiler. A simulation profiler is a tool that can be used to measure the performance of a simulation. By profiling a simulation, you can identify the parts of the simulation that are most computationally expensive. This information can then be used to optimize the simulation and reduce the computing power requirements.3. Reducing Computing Power Requirements.There are a number of different ways to reduce the computing power requirements for a simulation. One way isto use a simpler model. A simpler model will typically require less computing power than a more complex model. Another way to reduce computing power requirements is touse a less accurate simulation. A less accurate simulation will typically require less computing power than a more accurate simulation.Finally, you can also reduce computing power requirements by using a more efficient simulation algorithm.A more efficient simulation algorithm will typicallyrequire less computing power than a less efficientsimulation algorithm.4. Conclusion.Simulation is a powerful tool that can be used to model and analyze complex systems. However, simulation can alsobe computationally expensive, especially for large andcomplex systems. By understanding the factors that affect computing power requirements, you can make informed decisions about how to optimize your simulations and reduce the computing power requirements.### 仿真模拟算力测算。

An advanced modeling and simulation tool for dynamic systems

An advanced modeling and simulation tool for dynamic systems

An advanced modeling and simulation tool for dynamic systems Levent U. Gökdere, Charles W. Brice, and Roger A. DougalElectrical and Computer Engineering DepartmentUniversity of South CarolinaSwearingen 3A80Columbia, SC 29208Email: gokdere@; Tel: 803-777-9314; Fax: 803-777-8045.Key words: Modeling and simulation, dynamic systems, virtual prototyping.ABSTRACTIn this paper, a new modeling and simulation tool, the Virtual Test Bed (VTB), is introduced. The VTB is a software environment that has been developed for design, analysis, and virtual prototyping of large-scale multi-technical systems [1, 2, 3]. The two most important features of the VTB are that [1, 2, 3]: (i) it has the capability of integrating models, that have been created in a variety of languages such as SPICE (Simulation Program with Integrated Circuit Emphasis), ACSL (Advance Continuous SimulationLanguage ®) and SABER ®, into one simulation environment, and (ii) it provides advanced displays of simulation results including full-motion animation of mechanical components, oscilloscope-like displays of waveform data, and imaginative mappings of computed results onto the system topology.Consider a multi-technical dynamic system, which consists of mechanical, electronic, and electromechanical components. Simulation of such a system is usually challenging since the existing simulation tools are generally developed for specific applications. For example, ACSL and MATLAB are excellent tool s for modeling and simulation of control systems which include mechanical and electromechanical parts for which the differential equations can be easily written. On the other hand, other tools, such as SPICE and SABER, are preferred for the detailed analys is of electric circuits. Especially, SABER is the software of choice in modeling and simulation of power electronic circuits. One of the main purposes of the VTB is to allow the system designer(s) to model each individual component of a multi-technical system in a language appropriate to that component, and then, to bring those separate models into one common simulation environment [1, 2, 3]. In addition to the external models, which are obtained from their source languages by translation, the VTB has also its own native models created in C++. Currently, the VTB library includes native models of basic circuit components, power electronic devices, power converters, electric motors, and mechanical parts.In this paper, application of the VTB to a motion control system is introduced. Specifically, vector control of a permanent-magnet synchronous motor (PMSM) is considered. In recent years, the PMSMs tend to replace any other electric motors in many applications due to their higher torque-to-volume ratio, and the current-command rotor-oriented speed controller (vector controller) for PMSMs is the industry standard for precise tracking of predetermined speed/position trajectories [4, 5]. The simulation of this system within the VTB environment is achieved by the use of the VTB native models and/or external models which are translated from their original languages such as ACSL and MATLAB.In the final version of the paper, the detailed description of the VTB architecture and the simulation results for the above-mentioned system will be presented.REFERENCES[1]Charles W. Brice, Levent U. Gökdere, Roger A. Dougal, "The Virtual Test Bed: An Environment forVirtual Prototyping," Proceedings of International Conference on Electric Ship (ElecShip'98), pp. 27-31, September 1, 1998, Istanbul, Turkey.[2] R. A. Dougal, C. W. Brice, R. O. Pettus, G. J. Cokkinides, and A. P. S. Meliopoulos, "Virtualprototyping of PCIM systems - The Virtual Test Bed," Proceedings of the 37th International PCIM'98 Power Electronics Conference, pp. 226-234, November 7-13, 1998, Santa Clara, California.[3]Levent U. Gökdere, Lei Hua, John Mookken, Charles W. Brice, and Roger A. Dougal, "Operation ofimported power converter models in the Virtual Test Bed," in Proceedings of the High Frequency Power Conversion Conference (HFPC'99), pp. 99-106, November 9-11, 1999, Chicago, Illinois.[4] P. Vas, Vector Control of AC Machines, Oxford, U.K.: Clarendon Press, 1990.[5] W. Leonhard, Control of Electric Drives, Berlin, Germany: Springer-Verlag, 1985.。

机械臂自动建模与运动轨迹三维导航规划

机械臂自动建模与运动轨迹三维导航规划

第37卷第10期计算机仿真2020年10月文章编号:1006 - 9348 (2020)10 - 0297 - 06机械臂自动建模与运动轨迹三维导航规划高升'李正1张伟U2(1.中国科学院沈阳自动化研究所,辽宁沈阳110016;2.中国科学院机器人与智能制造创新研究院,辽宁沈阳110016)摘要:在机械臂虚拟仿真问题研究中,为实现机械臂的自动建模及运动仿真的三维可视化显示,结合OpenGL三维仿真技术设计了一种简单易行的机械臂三维可视化仿真系统。

系统采用机械臂可复用构型库实现虚拟机械臂的自动建模。

同时采用一种三维导航方式的轨迹规划方法,通过将标准化的G代码轨迹导人到机械臂工作空间中实现轨迹的自动跟踪,最后控制虚拟机械臂完成轨迹规划过程并输出机械臂运动控制指令。

仿真结果表明,上述仿真系统实现了机械臂的自动建模与轨迹自动跟踪过程的三维可视化显示,为机械臂的虚拟仿真提供了一个新的途径。

关键词:自动建模;三维可视化;运动仿真;轨迹规划中图分类号:TP242 文献标识码:BAutomatic Modeling Simulationand 3D Navigation Planning of Motion Trajectory for ManipulatorGAO Sheng1’2,LI Zheng1’2,ZHANG Wei1’2(1. Shenyang Institute of Automation,Chinese Acad e m y of Sciences,Shenyang Liaoning 110016, China;2. Institutes for Robotics and Intelligent Manufacturing,Chinese Acad e m y of Sciences,Shenyang Liaoning 110016, China)A B S T R A C T:In the research of the virtual simulation for the mechanical a r m,in order to realize the automatic m o d­eling of the mechanical arm and the 3D visual display of the motion simulation,a simple and easy 3D visual simula­tion system for the mechanical arm was designed based on O p e n G L3D simulation technology.In the system,the re­usable configuration library was used to realize the automatic modeling of the virtual manipulator.At the same time,a trajectory planning method based on3D navigation was adopted.The trajectory was automatically tracked by impor­ting the standardized G-code trajectory into the manipulator workspace.Finally,the virtual manipulator was con­trolled to complete the trajectory planning process and output the motion control c o m m a n d of the manipulator.Simula­tion results show that the system can realize the automatic modeling of the mechanical arm and the 3D visualization of the trajectory automatic tracking process,which provides a new way for the virtual simulation of the mechanical arm.K E Y W O R D S:Automatic modeling; 3D visualization;Motion simulation;Trajectory planningi引言目前,机械臂式工业机器人在工业生产、焊接、搬运、加 工领域得到了广泛的应用。

基于机器视觉的认知康复机器人系统设计

基于机器视觉的认知康复机器人系统设计
encounter difficulties, firstly, based on machine vision, highlight hint will be carried out
through the interface. If the patient is still unable to complete the task, the robotic arm
image information from time domain to frequency domain, and target detection is
accomplished by comparing the descriptors of reference objects and objects to be tested.
了完整的辅助康复系统,并且针对所用的六自由度机械臂进行了运动学建模和分
析,分析了机械臂的运动和避障策略。
最后,在康复系统样机中,通过模拟病人进行了完整的测试。仿真和实际测
试的结果充分的展示了辅助康复策略的可行性以及该辅助康复机器人系统的高效
性。
关键词:认知康复;机器视觉;傅里叶描述算子;模长位移算法;机械臂
been proved that, to a certain extent, MCI can be slowed down or even cured by human
intervention. However, due to the lack and uneven distribution of related medical
康复过程往往不及时不到位,缺乏持续性和有效性。针对此,本课题设计了一套
基于机器视觉的辅助认知康复机器人系统,用以提高 MCI 等疾病的康复效率。

Chapter 1Basic Simulation Modeling

Chapter 1Basic Simulation Modeling
– Models of large systems are usually very complex

But now have better modeling software … more general, flexible, but still (relatively) easy to use
– Can consume a lot of computer time
Simulation Modeling and Analysis – Chapter 1 – Basic Simulation Modeling
– What’s being simulated is the system – To study system, often make assumptions/approximations, both logical and mathematical, about how it works – These assumptions form a model of the system – If model structure is simple enough, could use mathematical methods to get exact information on questions of interest — analytical solution
– Several conferences devoted to simulation, notably the Winter Simulation Conference ()
• Surveys of use of OR/MS techniques (examples …)
– Must be studied via simulation — evaluate model numerically and collect data to estimate model characteristics

ArmSim:基于ARM处理器的全系统模拟器

ArmSim:基于ARM处理器的全系统模拟器

ArmSim:基于ARM处理器的全系统模拟器/doc/82aea47f27284b73f242508f.html1邓⽴波1,龙翔1,⾼⼩鹏11北京航空航天⼤学计算机学院,北京(100083)E-mail:denglibo@/doc/82aea47f27284b73f242508f.html摘要:模拟器作为嵌⼊式系统研究的基础研发⼯具,可辅助系统体系结构调优、软硬件协同设计。

本⽂实现了具有良好配置性及可扩展性的ArmSim模拟器,该模拟器是针对ARM 处理器的全系统模拟器,可在其上运⾏和调试ARM应⽤级和系统级的⽬标程序。

本⽂详细描述ArmSim的设计与实现细节。

关键词:ARM处理器模拟全系统模拟器中图分类号:1.引⾔随着嵌⼊式系统的飞速发展,嵌⼊式系统的研究与开发已经成为当今计算机科学的⼀个重要分⽀。

由于应⽤领域的特点,嵌⼊式系统研发通常需要依赖特定的硬件环境。

由于对硬件环境的过度依赖,因此传统的研究开发模式具有明显的缺陷,即软件开发与硬件开发⽆法并⾏展开。

这⼀⽅⾯致使研发周期过长,另⼀⽅⾯也使得设计⼯作缺乏⾜够的灵活性。

为了解决上述问题,基于软件的模拟器已经成为嵌⼊式系统研发中的主要技术⼿段之⼀。

软件模拟就是⽤计算机软件来模拟某⼀特定硬件系统的全部或部分的外部特性和内部功能,实现对⽬标硬件系统的⾼度仿真,使得运⾏在模拟器上的程序⽆法感知到底层硬件的存在,就如同运⾏在真实硬件平台上。

在嵌⼊式系统领域,软件模拟技术已经被⼴泛应⽤于嵌⼊式系统软硬件协同设计、嵌⼊式操作系统开发与评估以及⼤型嵌⼊式应⽤软件性能评估等⽅⾯。

本⽂描述的ArmSim是⼀个基于C语⾔的ARM处理器的全系统模拟器。

ArmSim实现了全系统硬件的功能模拟,不仅可以运⾏ELF格式的ARM应⽤级程序,⽽且可以运⾏ELF 映象或⼆进制映象格式的系统级程序,如U-Boot。

ArmSim模拟器还⽀持GDB等调试器对模拟器上运⾏的ARM程序进⾏源代码级远程调试。

Theory of modeling and simulation

Theory of modeling and simulation

THEORY OF MODELING AND SIMULATIONby Bernard P. Zeigler, Herbert Praehofer, Tag Gon Kim2nd Edition, Academic Press, 2000, ISBN: 0127784551Given the many advances in modeling and simulation in the last decades, the need for a widely accepted framework and theoretical foundation is becoming increasingly necessary. Methods of modeling and simulation are fragmented across disciplines making it difficult to re-use ideas from other disciplines and work collaboratively in multidisciplinary teams. Model building and simulation is becoming easier and faster through implementation of advances in software and hardware. However, difficult and fundamental issues such as model credibility and interoperation have received less attention. These issues are now addressed under the impetus of the High Level Architecture (HLA) standard mandated by the U.S. DoD for all contractors and agencies.This book concentrates on integrating the continuous and discrete paradigms for modeling and simulation. A second major theme is that of distributed simulation and its potential to support the co-existence of multiple formalisms in multiple model components. Prominent throughout are the fundamental concepts of modular and hierarchical model composition. These key ideas underlie a sound methodology for construction of complex system models.The book presents a rigorous mathematical foundation for modeling and simulation. It provides a comprehensive framework for integrating various simulation approaches employed in practice, including such popular modeling methods as cellular automata, chaotic systems, hierarchical block diagrams, and Petri Nets. A unifying concept, called the DEVS Bus, enables models to be transparently mapped into the Discrete Event System Specification (DEVS). The book shows how to construct computationally efficient, object-oriented simulations of DEVS models on parallel and distributed environments. In designing integrative simulations, whether or not they are HLA compliant, this book provides the foundation to understand, simplify and successfully accomplish the task.MODELING HUMAN AND ORGANIZATIONAL BEHAVIOR: APPLICATION TO MILITARY SIMULATIONSEditors: Anne S. Mavor, Richard W. PewNational Academy Press, 1999, ISBN: 0309060966. Hardcover - 432 pages.This book presents a comprehensive treatment of the role of the human and the organization in military simulations. The issue of representing human behavior is treated from the perspective of the psychological and organizational sciences. After a thorough examination of the current military models, simulations and requirements, the book focuses on integrative architectures for modeling theindividual combatant, followed by separate chapters on attention and multitasking, memory and learning, human decision making in the framework of utility theory, models of situation awareness and enabling technologies for their implementation, the role of planning in tactical decision making, and the issue of modeling internal and external moderators of human behavior.The focus of the tenth chapter is on modeling of behavior at the unit level, examining prior work, organizational unit-level modeling, languages and frameworks. It is followed by a chapter on information warfare, discussing models of information diffusion, models of belief formation and the role of communications technology. The final chapters consider the need for situation-specific modeling, prescribe a methodology and a framework for developing human behavior representations, and provide recommendations for infrastructure and information exchange.The book is a valuable reference for simulation designers and system engineers.HANDBOOK OF SIMULATOR-BASED TRAININGby Eric Farmer (Ed.), Johan Reimersma, Jan Moraal, Peter JornaAshgate Publishing Company, 1999, ISBN: 0754611876.The rapidly expanding area of military modeling and simulation supports decision making and planning, design of systems, weapons and infrastructure. This particular book treats the third most important area of modeling and simulation – training. It starts with thorough analysis of training needs, covering mission analysis, task analysis, trainee and training analysis. The second section of the book treats the issue of training program design, examining current practices, principles of training and instruction, sequencing of training objectives, specification of training activities and scenarios, methodology of design and optimization of training programs. In the third section the authors introduce the problem of training media specification and treat technical issues such as databases and models, human-simulator interfaces, visual cueing and image systems, haptic, kinaesthetic and vestibular cueing, and finally, the methodology for training media specification. The final section of the book is devoted to training evaluation, covering the topics of performance measurement, workload measurement, and team performance. In the concluding part the authors outline the trends in using simulators for training.The primary audience for this book is the community of managers and experts involved in training operators. It can also serve as useful reference for designers of training simulators.CREATING COMPUTER SIMULATION SYSTEMS:An Introduction to the High Level Architectureby Frederick Kuhl, Richard Weatherly, Judith DahmannPrentice Hall, 1999, ISBN: 0130225118. - 212 pages.Given the increasing importance of simulations in nearly all aspects of life, the authors find that combining existing systems is much more efficient than building newer, more complex replacements. Whether the interest is in business, the military, or entertainment or is even more general, the book shows how to use the new standard for building and integrating modular simulation components and systems. The HLA, adopted by the U.S. Department of Defense, has been years in the making and recently came ahead of its competitors to grab the attention of engineers and designers worldwide. The book and the accompanying CD-ROM set contain an overview of the rationale and development of the HLA; a Windows-compatible implementation of the HLA Runtime Infrastructure (including test software). It allows the reader to understand in-depth the reasons for the definition of the HLA and its development, how it came to be, how the HLA has been promoted as an architecture, and why it has succeeded. Of course, it provides an overview of the HLA examining it as a software architecture, its large pieces, and chief functions; an extended, integrated tutorial that demonstrates its power and applicability to real-world problems; advanced topics and exercises; and well-thought-out programming examples in text and on disk.The book is well-indexed and may serve as a guide for managers, technicians, programmers, and anyone else working on building simulations.HANDBOOK OF SIMULATION:Principles, Methodology, Advances, Applications, and Practiceedited by Jerry BanksJohn Wiley & Sons, 1998, ISBN: 0471134031. Hardcover - 864 pages.Simulation modeling is one of the most powerful techniques available for studying large and complex systems. This book is the first ever to bring together the top 30 international experts on simulation from both industry and academia. All aspects of simulation are covered, as well as the latest simulation techniques. Most importantly, the book walks the reader through the various industries that use simulation and explains what is used, how it is used, and why.This book provides a reference to important topics in simulation of discrete- event systems. Contributors come from academia, industry, and software development. Material is arranged in sections on principles, methodology, recent advances, application areas, and the practice of simulation. Topics include object-oriented simulation, software for simulation, simulation modeling,and experimental design. For readers with good background in calculus based statistics, this is a good reference book.Applications explored are in fields such as transportation, healthcare, and the military. Includes guidelines for project management, as well as a list of software vendors. The book is co-published by Engineering and Management Press.ADVANCES IN MISSILE GUIDANCE THEORYby Joseph Z. Ben-Asher, Isaac YaeshAIAA, 1998, ISBN 1-56347-275-9.This book about terminal guidance of intercepting missiles is oriented toward practicing engineers and engineering students. It contains a variety of newly developed guidance methods based on linear quadratic optimization problems. This application-oriented book applies widely used and thoroughly developed theories such LQ and H-infinity to missile guidance. The main theme is to systematically analyze guidance problems with increasing complexity. Numerous examples help the reader to gain greater understanding of the relative merits and shortcomings of the various methods. Both the analytical derivations and the numerical computations of the examples are carried out with MATLAB Companion Software: The authors have developed a set of MATLAB M-files that are available on a diskette bound into the book.CONTROL OF SPACECRAFT AND AIRCRAFTby Arthur E. Bryson, Jr.Princeton University Press, 1994, ISBN 0-691-08782-2.This text provides an overview and summary of flight control, focusing on the best possible control of spacecraft and aircraft, i.e., the limits of control. The minimum output error responses of controlled vehicles to specified initial conditions, output commands, and disturbances are determined with specified limits on control authority. These are determined using the linear-quadratic regulator (LQR) method of feedback control synthesis with full-state feedback. An emphasis on modeling is also included for the design of control systems. The book includes a set of MATLAB M-files in companion softwareMATHWORKSInitial information MATLAB is given in this volume to allow to present next the Simulink package and the Flight Dynamics Toolbox, providing for rapid simulation-based design. MATLAB is the foundation for all the MathWorks products. Here we would like to discus products of MathWorks related to the simulation, especially Code Generation tools and Dynamic System Simulation.Code Generation and Rapid PrototypingThe MathWorks code generation tools make it easy to explore real-world system behavior from the prototyping stage to implementation. Real-Time Workshop and Stateflow Coder generate highly efficient code directly from Simulink models and Stateflow diagrams. The generated code can be used to test and validate designs in a real-time environment, and make the necessary design changes before committing designs to production. Using simple point-and-click interactions, the user can generate code that can be implemented quickly without lengthy hand-coding and debugging. Real-Time Workshop and Stateflow Coder automate compiling, linking, and downloading executables onto the target processor providing fast and easy access to real-time targets. By automating the process of creating real-time executables, these tools give an efficient and reliable way to test, evaluate, and iterate your designs in a real-time environment.Real-Time Workshop, the code generator for Simulink, generates efficient, optimized C and Ada code directly from Simulink models. Supporting discrete-time, multirate, and hybrid systems, Real-Time Workshop makes it easy to evaluate system models on a wide range of computer platforms and real-time environments.Stateflow Coder, the standalone code generator for Stateflow, automatically generates C code from Stateflow diagrams. Code generated by Stateflow Coder can be used independently or combined with code from Real-Time Workshop.Real-Time Windows Target, allows to use a PC as a standalone, self-hosted target for running Simulink models interactively in real time. Real-Time Windows Target supports direct I/O, providing real-time interaction with your model, making it an easy-to-use, low-cost target environment for rapid prototyping and hardware-in-the-loop simulation.xPC Target allows to add I/O blocks to Simulink block diagrams, generate code with Real-Time Workshop, and download the code to a second PC that runs the xPC target real-time kernel. xPC Target is ideal for rapid prototyping and hardware-in-the-loop testing of control and DSP systems. It enables the user to execute models in real time on standard PC hardware.By combining the MathWorks code generation tools with hardware and software from leading real-time systems vendors, the user can quickly and easily perform rapid prototyping, hardware-in-the-loop (HIL) simulation, and real-time simulation and analysis of your designs. Real-Time Workshop code can be configured for a variety of real-time operating systems, off-the-shelf boards, and proprietary hardware.The MathWorks products for control design enable the user to make changes to a block diagram, generate code, and evaluate results on target hardware within minutes. For turnkey rapid prototyping solutions you can take advantage of solutions available from partnerships between The MathWorks and leading control design tools:q dSPACE Control Development System: A total development environment forrapid control prototyping and hardware-in-the-loop simulation;q WinCon: Allows you to run Real-Time Workshop code independently on a PC;q World Up: Creating and controlling 3-D interactive worlds for real-timevisualization;q ADI Real-Time Station: Complete system solution for hardware-in-the loopsimulation and prototyping.q Pi AutoSim: Real-time simulator for testing automotive electronic control units(ECUs).q Opal-RT: a rapid prototyping solution that supports real-time parallel/distributedexecution of code generated by Real-Time Workshop running under the QNXoperating system on Intel based target hardware.Dynamic System SimulationSimulink is a powerful graphical simulation tool for modeling nonlinear dynamic systems and developing control strategies. With support for linear, nonlinear, continuous-time, discrete-time, multirate, conditionally executed, and hybrid systems, Simulink lets you model and simulate virtually any type of real-world dynamic system. Using the powerful simulation capabilities in Simulink, the user can create models, evaluate designs, and correct design flaws before building prototypes.Simulink provides a graphical simulation environment for modeling dynamic systems. It allows to build quickly block diagram models of dynamic systems. The Simulink block library contains over 100 blocks that allow to graphically represent a wide variety of system dynamics. The block library includes input signals, dynamic elements, algebraic and nonlinear functions, data display blocks, and more. Simulink blocks can be triggered, enabled, or disabled, allowing to include conditionally executed subsystems within your models.FLIGHT DYNAMICS TOOLBOX – FDC 1.2report by Marc RauwFDC is an abbreviation of Flight Dynamics and Control. The FDC toolbox for Matlab and Simulink makes it possible to analyze aircraft dynamics and flight control systems within one softwareenvironment on one PC or workstation. The toolbox has been set up around a general non-linear aircraft model which has been constructed in a modular way in order to provide maximal flexibility to the user. The model can be accessed by means of the graphical user-interface of Simulink. Other elements from the toolbox are analytical Matlab routines for extracting steady-state flight-conditions and determining linearized models around user-specified operating points, Simulink models of external atmospheric disturbances that affect the motions of the aircraft, radio-navigation models, models of the autopilot, and several help-utilities which simplify the handling of the systems. The package can be applied to a broad range of stability and control related problems by applying Matlab tools from other toolboxes to the systems from FDC 1.2. The FDC toolbox is particularly useful for the design and analysis of Automatic Flight Control Systems (AFCS). By giving the designer access to all models and tools required for AFCS design and analysis within one graphical Computer Assisted Control System Design (CACSD) environment the AFCS development cycle can be reduced considerably. The current version 1.2 of the FDC toolbox is an advanced proof of concept package which effectively demonstrates the general ideas behind the application of CACSD tools with a graphical user- interface to the AFCS design process.MODELING AND SIMULATION TERMINOLOGYMILITARY SIMULATIONTECHNIQUES & TECHNOLOGYIntroduction to SimulationDefinitions. Defines simulation, its applications, and the benefits derived from using the technology. Compares simulation to related activities in analysis and gaming.DOD Overview. Explains the simulation perspective and categorization of the US Department of Defense.Training, Gaming, and Analysis. Provides a general delineation between these three categories of simulation.System ArchitecturesComponents. Describes the fundamental components that are found in most military simulations.Designs. Describes the basic differences between functional and object oriented designs for a simulation system.Infrastructures. Emphasizes the importance of providing an infrastructure to support all simulation models, tools, and functionality.Frameworks. Describes the newest implementation of an infrastructure in the forma of an object oriented framework from which simulation capability is inherited.InteroperabilityDedicated. Interoperability initially meant constructing a dedicated method for joining two simulations for a specific purpose.DIS. The virtual simulation community developed this method to allow vehicle simulators to interact in a small, consistent battlefield.ALSP. The constructive, staff training community developed this method to allow specific simulation systems to interact with each other in a single joint training exercise. HLA. This program was developed to replace and, to a degree, unify the virtual and constructive efforts at interoperability.JSIMS. Though not labeled as an interoperability effort, this program is pressing for a higher degree of interoperability than have been achieved through any of the previous programs.Event ManagementQueuing. The primary method for executing simulations has been various forms of queues for ordering and releasing combat events.Trees. Basic queues are being supplanted by techniques such as Red-Black and Splay trees which allow the simulation store, process, and review events more efficiently than their predecessors.Event Ownership. Events can be owned and processed in different ways. Today's preference for object oriented representations leads to vehicle and unit ownership of events, rather than the previous techniques of managing them from a central executive.Time ManagementUniversal. Single processor simulations made use of a single clocking mechanism to control all events in a simulation. This was extended to the idea of a "master clock" during initial distributed simulations, but is being replaced with more advanced techniques in current distributed simulation.Synchronization. The "master clock" too often lead to poor performance and required a great deal of cross-simulation data exchange. Researchers in the Parallel Distributed Simulation community provided several techniques that are being used in today's training environment.Conservative & Optimistic. The most notable time management techniques are conservative synchronization developed by Chandy, Misra, and Bryant, and optimistic synchronization (or Time Warp) developed by David Jefferson.Real-time. In addition to being synchronized across a distributed computing environment, many of today's simulators must also perform as real-time systems. These operate under the additional duress of staying synchronized with the human or system clock perception of time.Principles of ModelingScience & Art. Simulation is currently a combination of scientific method and artistic expression. Learning to do this activity requires both formal education and watching experienced practitioners approach a problem.Process. When a team of people undertake the development of a new simulation system they must follow a defined process. This is often re-invented for each project, but can better be derived from experience of others on previous projects.Fundamentals. Some basic principles have been learned and relearned by members of the simulation community. These have universal application within the field and allow new developers to benefit from the mistakes and experiences of their predecessors.Formalism. There has been some concentrated effort to define a formalism for simulation such that models and systems are provably correct. These also allow mathematical exploration of new ideas in simulation.Physical ModelingObject Interaction. Military object modeling is be divided into two pieces, the physical and the behavioral. Object interactions, which are often viewed as 'physics based', characterize the physical models.Movement. Military objects are often very mobile and a great deal of effort can be given to the correct movement of ground, air, sea, and space vehicles across different forms of terrain or through various forms of ether.Sensor Detection. Military object are also very eager to interact with each other in both peaceful and violent ways. But, before they can do this they must be able to perceive each other through the use of human and mechanical sensors.Engagement. Encounters with objects of a different affiliation often require the application of combat engagement algorithms. There are a rich set of these available to the modeler, and new ones are continually being created.Attrition. Object and unit attrition may be synonymous with engagement in the real world, but when implemented in a computer environment they must be separated to allow fair combat exchanges. Distributed simulation systems are more closely replicating real world activities than did their older functional/sequential ancestors, but the distinction between engagement and attrition are still important. Communication. The modern battlefield is characterized as much by communication and information exchange as it is by movement and engagement. This dimension of the battlefield has been largely ignored in previous simulations, but is being addressed in the new systems under development today.More. Activities on the battlefield are extremely rich and varied. The models described in this section represent some of the most fundamental and important, but they are only a small fraction of the detail that can be included in a model.Behavioral ModelingPerception. Military simulations have historically included very crude representations of human and group decision making. One of the first real needs for representing the human in the model was to create a unique perception of the battlefield for each group, unit, or individual.Reaction. Battlefield objects or units need to be able to react realistically to various combat environments. These allow the simulation to handle many situations without the explicit intervention of a human operator.Planning. Today we look for intelligent behavior from simulated objects. Once form of intelligence is found in allowing models to plan the details of a general operational combat order, or to formulate a method for extracting itself for a difficult situation.Learning. Early reactive and planning models did not include the capability to learn from experience. Algorithms can be built which allow units to become more effective as they become more experienced. They also learn the best methods for operating on a specific battlefield or under specific conditions.Artificial Intelligence. Behavioral modeling can benefit from the research and experience of the AI community. Techniques of value include: Intelligent Agents, Finite State Machines, Petri Nets, Expert and Knowledge-based Systems, Case Based Reasoning, Genetic Algorithms, Neural Networks, Constraint Satisfaction, Fuzzy Logic, and Adaptive Behavior. An introduction is given to each of these along with potential applications in the military environment.Environmental ModelingTerrain. Military objects are heavily dependent upon the environment in which they operate. The representation of terrain has been of primary concern because of its importance and the difficulty of managing the amount of data required. Triangulated Irregular Networks (TINs) are one of the newer techniques for managing this problem. Atmosphere. The atmosphere plays an important role in modeling air, space, and electronic warfare. The effects of cloud cover, precipitation, daylight, ambient noise, electronic jamming, temperature, and wind can all have significant effects on battlefield activities.Sea. The surface of the ocean is nearly as important to naval operations as is terrain to army operations. Sub-surface and ocean floor representations are also essential for submarine warfare and the employment of SONAR for vehicle detection and engagement.Standards. Many representations of all of these environments have been developed.Unfortunately, not all of these have been compatible and significant effort is being given to a common standard for supporting all simulations. Synthetic Environment Data Representation and Interchange Specification (SEDRIS) is the most prominent of these standardization efforts.Multi-Resolution ModelingAggregation. Military commanders have always dealt with the battlefield in an aggregate form. This has carried forward into simulations which operate at this same level, omitting many of the details of specific battlefield objects and events.Disaggregation. Recent efforts to join constructive and virtual simulations have required the implementation of techniques for cross the boundary between these two levels of representation. Disaggregation attempts to generate an entity level representation from the aggregate level by adding information. Conversely, aggregation attempts to create the constructive from the virtual by removing information.Interoperability. It is commonly accepted that interoperability in these situations is best achieved though disaggregation to the lowest level of representation of the models involved. In any form the patchwork battlefield seldom supports the same level of interoperability across model levels as is found within models at the same level of resolution.Inevitability. Models are abstractions of the real world generated to address a specific problem. Since all problems are not defined at the same level of physical representation, the models built to address them will be at different levels. The modeling an simulation problem domain is too rich to ever expect all models to operate at the same level. Multi-Resolution Modeling and techniques to provide interoperability among them are inevitable.Verification, Validation, and AccreditationVerification. Simulation systems and the models within them are conceptual representations of the real world. By their very nature these models are partially accurate and partially inaccurate. Therefore, it is essential that we be able to verify that the model constructed accurately represents the important parts of the real world we are try to study or emulate.Validation. The conceptual model of the real world is converted into a software program. This conversion has the potential to introduce errors or inaccurately represent the conceptual model. Validation ensures that the software program accurately reflects the conceptual model.Accreditation. Since all models only partially represent the real world, they all have limited application for training and analysis. Accreditation defines the domains and。

利用ARMAX模型识别结构模态参数

利用ARMAX模型识别结构模态参数
振 动 与 冲 击 第 19 卷第 1 期 JOURNAL OF VIBRATION AND SHOCK Vol . 19 No . 1 2000
利用 ARMAX 模型识别结构模态参数
赵永辉 邹经湘
( 哈尔滨工业大 学航天工程与力学系)
摘 要 由振动系 统的运动方程建立了描述系统输入 、输出和噪声特性 的外源自回归滑动平均( AR MAX) 模型 。 采
°
这里 wi( k )为零均值白噪声序列 C° B)= 1 i( + c° 1 , iB +…
l + c° li , iB i
这样( 9) 式就表示一个 ARMAX ( n i , m il , …m ip , l i)模 型 。 其 中 B° B) / A° B)描 述 了 系 统 动 力 特 性 , ij( i( Ci ( B) / A i( B)描述了噪声动特性 。 不失一般性 , 本文 考虑单入单出过程 , 其方法很容易扩展到多入单出过 程。 这样( 9)式写为 : A( B) y( k )= B ( B) u( k )+ C ( B) w( k)
n n1 λ +a 1 λ + … + a n =0
+4 cos
1
后 , 将( 12 a ) 式变为 ARX 模型 :
( 23)
36 振 动 与 冲 击 2000 年第 19 卷
4 数值仿真
[45]
多项式 B° B) 和 A° B )可写为 : ij( i(
° B° B )= b° ij( 1 , ijB + … + bmij , ijB mij n
i
( 4) ( 5)
° A° B )= 1 +a° i( 1 , iB + … +a ni , iB

simulation modelling practice and theory sci

simulation modelling practice and theory sci

simulation modelling practice and theory sci全文共四篇示例,供读者参考第一篇示例:仿真建模实践与理论科学是一门旨在研究仿真技术在不同领域中的应用和发展的学科。

它涵盖了模型建立、仿真实验、数据分析等方面的内容,是一门跨学科的综合性学科。

仿真建模实践与理论科学的发展源远流长,它的发展史可以追溯到数学、物理学等领域的建模实践。

在当今信息化、数字化的时代,仿真建模已经成为了许多领域的重要工具,为我们认识和解决现实世界中的问题提供了新的途径。

在仿真建模实践与理论科学领域中,科学家们通过数学和计算机技术建立模型,通过对模型的仿真实验来观察和分析系统行为,并从中获取有关系统的信息。

这些信息可以帮助我们更好地理解系统的运行机理,指导我们做出相应的决策,提高系统的效率和性能。

在不同领域中,仿真建模都发挥着重要的作用,比如在工程领域中,仿真建模可以帮助工程师们设计和优化产品,提高产品的质量和性能;在医学领域中,仿真建模可以帮助医生们理解疾病的发生和发展机理,指导他们制定治疗方案等。

除了在实践中发挥着重要作用外,仿真建模实践与理论科学也在理论上不断地得到拓展和深化。

科学家们运用数学模型和计算机技术,探索系统的动力学行为、性质、规律等方面的规律,推动了系统科学和计算科学的发展。

仿真建模的理论也逐渐由简单的数学模型扩展到了包括多尺度、多模态、多组分等多种因素的复杂系统建模,使仿真建模更加贴近实际问题,更具有针对性和预见性。

在仿真建模实践与理论科学的研究中,还存在着一些困难和挑战。

复杂系统的建模和仿真需要大量的计算资源和数据支持,这对仿真建模的算法和技术提出了更高的要求;仿真建模需要在实际系统的基础上建立模型,并进行验证和验证,这对科学家们的理论功底和经验积累提出了更高的要求;不同领域之间的交叉和融合也需要科学家们具备跨学科的知识和思维能力,这为仿真建模的发展带来了更多的机遇和挑战。

Introduction_to_Modeling_and_Simulation[1]

Introduction_to_Modeling_and_Simulation[1]

INTRODUCTION TO MODELING AND SIMULATIONAnu MariaState University of New York at Binghamton Department of Systems Science and Industrial Engineering Binghamton, NY 13902-6000, U.S.A.ABSTRACTThis introductory tutorial is an overview of simulation modeling and analysis. Many critical questions are answered in the paper. What is modeling? What is simulation? What is simulation modeling and analysis? What types of problems are suitable for simulation? How to select simulation software? What are the benefits and pitfalls in modeling and simulation? The intended audience is those unfamiliar with the area of discrete event simulation as well as beginners looking for an overview of the area. This includes anyone who is involved in system design and modification - system analysts, management personnel, engineers, military planners, economists, banking analysts, and computer scientists. Familiarity with probability and statistics is assumed.1WHAT IS MODELING?Modeling is the process of producing a model; a model is a representation of the construction and working of some system of interest. A model is similar to but simpler than the system it represents. One purpose of a model is to enable the analyst to predict the effect of changes to the system. On the one hand, a model should be a close approximation to the real system and incorporate most of its salient features. On the other hand, it should not be so complex that it is impossible to understand and experiment with it. A good model is a judicious tradeoff between realism and simplicity. Simulation practitioners recommend increasing the complexity of a model iteratively. An important issue in modeling is model validity. Model validation techniques include simulating the model under known input conditions and comparing model output with system output.Generally, a model intended for a simulation study is a mathematical model developed with the help of simulation software. Mathematical model classifications include deterministic (input and output variables are fixed values) or stochastic (at least one of the input or output variables is probabilistic); static (time is not taken into account) or dynamic (time-varying interactions among variables are taken into account). Typically, simulation models are stochastic and dynamic.2WHAT IS SIMULATION?A simulation of a system is the operation of a model of the system. The model can be reconfigured and experimented with; usually, this is impossible, too expensive or impractical to do in the system it represents. The operation of the model can be studied, and hence, properties concerning the behavior of the actual system or its subsystem can be inferred. In its broadest sense, simulation is a tool to evaluate the performance of a system, existing or proposed, under different configurations of interest and over long periods of real time.Simulation is used before an existing system is altered or a new system built, to reduce the chances of failure to meet specifications, to eliminate unforeseen bottlenecks, to prevent under or over-utilization of resources, and to optimize system performance. For instance, simulation can be used to answer questions like: What is the best design for a new telecommunications network? What are the associated resource requirements? How will a telecommunication network perform when the traffic load increases by 50%? How will a new routing algorithm affect its performance? Which network protocol optimizes network performance? What will be the impact of a link failure?The subject of this tutorial is discrete event simulation in which the central assumption is that the system changes instantaneously in response to certain discrete events. For instance, in an M/M/1 queue - a single server queuing process in which time between arrivals and service time are exponential - an arrival causes the system to change instantaneously. On the other hand, continuous simulators, like flight simulators and weather simulators, attempt to quantify the changes in a system continuously over time in response toProceedings of the 1997 Winter Simulation Conferenceed. S. Andradóttir, K. J. Healy, D. H. Withers, and B. L. Nelson7controls. Discrete event simulation is less detailed (coarser in its smallest time unit) than continuous simulation but it is much simpler to implement, and hence, is used in a wide variety of situations.Figure 1 is a schematic of a simulation study. The iterative nature of the process is indicated by the system under study becoming the altered system which then becomes the system under study and the cycle repeats. In a simulation study, human decision making is required at all stages, namely, model development, experiment design, output analysis, conclusion formulation, and making decisions to alter the system under study. The only stage where human intervention is not required is the running of the simulations, which most simulation software packages perform efficiently. The important point is that powerful simulation software is merely a hygiene factor - its absence can hurt a simulation study but its presence will not ensure success. Experienced problem formulators and simulation modelers and analysts are indispensable for a successful simulation study.Figure 1: Simulation Study Schematic The steps involved in developing a simulation model, designing a simulation experiment, and performing simulation analysis are:Step 1.Identify the problem.Step 2.Formulate the problem.Step 3.Collect and process real system data.Step 4.Formulate and develop a model.Step 5.Validate the model.Step 6.Document model for future use.Step 7.Select appropriate experimental design.Step 8.Establish experimental conditions for runs.Step 9.Perform simulation runs.Step 10.Interpret and present results.Step 11.Recommend further course of action. Although this is a logical ordering of steps in a simulation study, many iterations at various sub-stages may be required before the objectives of a simulation study are achieved. Not all the steps may be possible and/or required. On the other hand, additional steps may have to be performed. The next three sections describe these steps in detail.3HOW TO DEVELOP A SIMULATION MODEL?Simulation models consist of the following components: system entities, input variables, performance measures, and functional relationships. For instance in a simulation model of an M/M/1 queue, the server and the queue are system entities, arrival rate and service rate are input variables, mean wait time and maximum queue length are performance measures, and 'time in system = wait time + service time' is an example of a functional relationship. Almost all simulation software packages provide constructs to model each of the above components. Modeling is arguably the most important part of a simulation study. Indeed, a simulation study is as good as the simulation model. Simulation modeling comprises the following steps:Step 1.Identify the problem. Enumerate problems with an existing system. Produce requirements for a proposed system.Step 2.Formulate the problem. Select the bounds of the system, the problem or a part thereof, to be studied. Define overall objective of the study and a few specific issues to be addressed. Define performance measures - quantitative criteria on the basis of which different system configurations will be compared and ranked. Identify, briefly at this stage, the configurations of interest and formulate hypotheses about system performance. Decide the time frame of the study, i.e., will the model be used for a one-time decision (e.g., capital expenditure) or over a period of time on a regular basis (e.g., air traffic scheduling). Identify the end user of the simulation model, e.g., corporate management versus a production supervisor. Problems must be formulated as precisely as possible.Step 3.Collect and process real system data. Collect data on system specifications (e.g., bandwidth for a communication network), input variables, as well as8Mariaperformance of the existing system. Identify sources of randomness in the system, i.e., the stochastic input variables. Select an appropriate input probability distribution for each stochastic input variable and estimate corresponding parameter(s).Software packages for distribution fitting and selection include ExpertFit, BestFit, and add-ons in some standard statistical packages. These aids combine goodness-of-fit tests, e.g., χ2 test, Kolmogorov-Smirnov test, and Anderson-Darling test, and parameter estimation in a user friendly format.Standard distributions, e.g., exponential, Poisson, normal, hyperexponential, etc., are easy to model and simulate. Although most simulation software packages include many distributions as a standard feature, issues relating to random number generators and generating random variates from various distributions are pertinent and should be looked into. Empirical distributions are used when standard distributions are not appropriate or do not fit the available system data. Triangular, uniform or normal distribution is used as a first guess when no data are available. For a detailed treatment of probability distributions see Maria and Zhang (1997).Step 4.Formulate and develop a model. Develop schematics and network diagrams of the system (How do entities flow through the system?). Translate these conceptual models to simulation software acceptable form. Verify that the simulation model executes as intended. Verification techniques include traces, varying input parameters over their acceptable range and checking the output, substituting constants for random variables and manually checking results, and animation.Step 5.Validate the model. Compare the model's performance under known conditions with the performance of the real system. Perform statistical inference tests and get the model examined by system experts. Assess the confidence that the end user places on the model and address problems if any. For major simulation studies, experienced consultants advocate a structured presentation of the model by the simulation analyst(s) before an audience of management and system experts. This not only ensures that the model assumptions are correct, complete and consistent, but also enhances confidence in the model.Step 6.Document model for future use. Document objectives, assumptions and input variables in detail.4 HOW TO DESIGN A SIMULATION EXPERIMENT?A simulation experiment is a test or a series of tests in which meaningful changes are made to the input variables of a simulation model so that we may observe and identify the reasons for changes in the performance measures. The number of experiments in a simulation study is greater than or equal to the number of questions being asked about the model (e.g., Is there a significant difference between the mean delay in communication networks A and B?, Which network has the least delay: A, B, or C? How will a new routing algorithm affect the performance of network B?). Design of a simulation experiment involves answering the question: what data need to be obtained, in what form, and how much? The following steps illustrate the process of designing a simulation experiment.Step 7.Select appropriate experimental design. Select a performance measure, a few input variables that are likely to influence it, and the levels of each input variable. When the number of possible configurations (product of the number of input variables and the levels of each input variable) is large and the simulation model is complex, common second-order design classes including central composite, Box-Behnken, and full-factorial should be considered. Document the experimental design.Step 8.Establish experimental conditions for runs. Address the question of obtaining accurate information and the most information from each run. Determine if the system is stationary (performance measure does not change over time) or non-stationary (performance measure changes over time). Generally, in stationary systems, steady-state behavior of the response variable is of interest. Ascertain whether a terminating or a non-terminating simulation run is appropriate. Select the run length. Select appropriate starting conditions (e.g., empty and idle, five customers in queue at time 0). Select the length of the warm-up period, if required. Decide the number of independent runs - each run uses a different random number stream and the same starting conditions -by considering output data sample size. Sample size must be large enough (at least 3-5 runs for each configuration) to provide the required confidence in the performance measure estimates. Alternately, use common random numbers to compare alternative configurations by using a separate random number stream for each sampling process in a configuration. Identify output data most likely to be correlated.Step 9.Perform simulation runs. Perform runs according to steps 7-8 above.5 HOW TO PERFORM SIMULATION ANALYSIS?Introduction to Modeling and Simulation 9Most simulation packages provide run statistics (mean,standard deviation, minimum value, maximum value) on the performance measures, e.g., wait time (non-time persistent statistic), inventory on hand (time persistent statistic). Let the mean wait time in an M/M/1 queue observed from n runs be n 21W ...,,W ,W . It is important to understand that the mean wait time W is a random variable and the objective of output analysis is to estimate the true mean of W and to quantify its variability.Notwithstanding the facts that there are no data collection errors in simulation, the underlying model is fully known, and replications and configurations are user controlled, simulation results are difficult to interpret. An observation may be due to system characteristics or just a random occurrence. Normally, statistical inference can assess the significance of an observed phenomenon, but most statistical inference techniques assume independent, identically distributed (iid) data. Most types of simulation data are autocorrelated, and hence, do not satisfy this assumption. Analysis of simulation output data consists of the following steps.Step 10.Interpret and present results. Compute numerical estimates (e.g., mean, confidence intervals) of the desired performance measure for each configuration of interest. To obtain confidence intervals for the mean of autocorrelated data, the technique of batch means can be used. In batch means, original contiguous data set from a run is replaced with a smaller data set containing the means of contiguous batches of original observations.The assumption that batch means are independent may not always be true; increasing total sample size and increasing the batch length may help.Test hypotheses about system performance.Construct graphical displays (e.g., pie charts, histograms)of the output data. Document results and conclusions.Step 11.Recommend further course of action. This may include further experiments to increase the precision and reduce the bias of estimators, to perform sensitivity analyses, etc.6AN EXAMPLEA machine shop contains two drills, one straightener, and one finishing operator. Figure 2 shows a schematic of the machine shop. Two types of parts enter the machine shop.in sequence. Type 2 parts require only drilling and finishing. The frequency of arrival and the time to be routed to the drilling area are deterministic for both types of parts.Step 1.Identify the problem. The utilization of drills, straightener, and finishing operator needs to be assessed. In addition, the following modification to the original system is of interest: the frequency of arrival of both parts is exponential with the same respective means as in the original system.Step 2.Formulate the problem. The objective is to obtain the utilization of drills, straightener, and finishing operator for the original system and the modification . The assumptions include:♦The two drills are identical♦There is no material handling time between the threeoperations.♦Machine availability implies operator availability.♦Parts are processed on a FIFO basis.♦All times are in minutes.Step 3.Collect and process real system data. At the job shop, a Type 1 part arrives every 30 minutes, and a Type 2 part arrives every 20 minutes. It takes 2 minutes to route a Type 1 part and 10 minutes to route a Type 2 part to the drilling area. Parts wait in a queue till one of the two drilling machines becomes available. After drilling, Type 1parts are routed to the straightener and Type 2 parts are10Mariarouted to the finishing operator. After straightening, Type 1 parts are routed to the finishing operator.The operation times for either part were determined to be as follows. Drilling time is normally distributed with mean 10.0 and standard deviation 1.0. Straightening time is exponentially distributed with a mean of 15.0. Finishing requires 5 minutes per part.Step 4.Formulate and develop a model. A model of the system and the modification was developed using a simulation package. A trace verified that the parts flowed through the job shop as expected.Step 5.Validate the model. The utilization for a sufficiently long run of the original system was judged to be reasonable by the machine shop operators.Step 6.Document model for future use. The models of the original system and the modification were documented as thoroughly as possible.Step 7.Select appropriate experimental design. The original system and the modification described above were studied.Step 8.Establish experimental conditions for runs. Each model was run three times for 4000 minutes and statistical registers were cleared at time 1000, so the statistics below were collected on the time interval [1000, 4000]. At the beginning of a simulation run, there were no parts in the machine shop.Step 9.Perform simulation runs. Runs were performed as specified in Step 8 above.Step 10.Interpret and present results. Table 1 contains the utilization statistics of the three operations for the original system and the modification (in parentheses).Table 1: Utilization StatisticsDrilling Straightening Finishing Mean Run #1 0.83 (0.78) 0.51 (0.58) 0.42 (0.39) Mean Run #2 0.82 (0.90) 0.52 (0.49) 0.41 (0.45) Mean Run #3 0.84 (0.81) 0.42 (0.56) 0.42 (0.40) Std. Dev. Run #1 0.69 (0.75) 0.50 (0.49) 0.49 (0.49) Std. Dev. Run #2 0.68 (0.78) 0.50 (0.50) 0.49 (0.50) Std. Dev. Run #3 0.69 (0.76) 0.49 (0.50) 0.49 (0.49) Mean utilization represents the fraction of time a server is busy, i.e., busy time/total time. Furthermore, the average utilization output for drilling must be divided by the number of drills in order to get the utilization per drill. Each drill is busy about 40% of the time and straightening and finishing operations are busy about half the time. This implies that for the given work load, the system is underutilized. Consequently, the average utilization did not change substantially between the original system and the modification; the standard deviation of the drilling operation seems to have increased because of the increased randomness in the modification. The statistical significance of these observations can be determined by computing confidence intervals on the mean utilization of the original and modified systems.Step 11.Recommend further course of action. Other performance measures of interest may be: throughput of parts for the system, mean time in system for both types of parts, average and maximum queue lengths for each operation. Other modifications of interest may be: the flow of parts to the machine shop doubles, the finishing operation will be repeated for 10% of the products on a probabilistic basis.7 WHAT MAKES A PROBLEM SUITABLE FOR SIMULATION MODELING AND ANALYSIS?In general, whenever there is a need to model and analyze randomness in a system, simulation is the tool of choice. More specifically, situations in which simulation modeling and analysis is used include the following:♦ It is impossible or extremely expensive to observe certain processes in the real world, e.g., next year's cancer statistics, performance of the next space shuttle, and the effect of Internet advertising on a company's sales.♦ Problems in which mathematical model can be formulated but analytic solutions are either impossible (e.g., job shop scheduling problem, high-order difference equations) or too complicated (e.g., complex systems like the stock market, and large scale queuing models).♦ It is impossible or extremely expensive to validate the mathematical model describing the system, e.g., due to insufficient data.Applications of simulation abound in the areas of government, defense, computer and communication systems, manufacturing, transportation (air traffic control), health care, ecology and environment, sociological and behavioral studies, biosciences, epidemiology, services (bank teller scheduling), economics and business analysis.8 HOW TO SELECT SIMULATION SOFTWARE?Although a simulation model can be built using general purpose programming languages which are familiar to the analyst, available over a wide variety of platforms, and less expensive, most simulation studies today are implemented using a simulation package. TheIntroduction to Modeling and Simulation 11advantages are reduced programming requirements; natural framework for simulation modeling; conceptual guidance; automated gathering of statistics; graphic symbolism for communication; animation; and increasingly, flexibility to change the model. There are hundreds of simulation products on the market, many with price tags of $15,000 or more. Naturally, the question of how to select the best simulation software for an application arises. Metrics for evaluation include modeling flexibility, ease of use, modeling structure (hierarchical v/s flat; object-oriented v/s nested), code reusability, graphic user interface, animation, dynamic business graphics, hardware and software requirements, statistical capabilities, output reports and graphical plots, customer support, and documentation.The two types of simulation packages are simulation languages and application-oriented simulators (Table 2). Simulation languages offer more flexibility than the application-oriented simulators. On the other hand, languages require varying amounts of programming expertise. Application-oriented simulators are easier to learn and have modeling constructs closely related to the application. Most simulation packages incorporate animation which is excellent for communication and can be used to debug the simulation program; a "correct looking" animation, however, is not a guarantee of a valid model. More importantly, animation is not a substitute for output analysis.Table 2: Simulation PackagesType OfSimulationPackageExamplesSimulation languages Arena (previously SIMAN), AweSim! (previously SLAM II), Extend, GPSS, Micro Saint,SIMSCRIPT, SLXObject-oriented software: MODSIM III, SIMPLE++ Animation software: Proof AnimationApplication -Oriented Simulators Manufacturing: AutoMod, Extend+MFG,FACTOR/AIM, ManSim/X, MP$IM,ProModel, QUEST, Taylor II, WITNESS Communications/computer: COMNET III,NETWORK II.5, OPNET Modeler, OPNETPlanner, SES/Strategizer, SES/workbench Business: BP$IM, Extend+BPR, ProcessModel, ServiceModel, SIMPROCESS, Time machine Health Care: MedModel9BENEFITS OF SIMULATION MODELING AND ANALYSISAccording to practitioners, simulation modeling and analysis is one of the most frequently used operations research techniques. When used judiciously, simulation modeling and analysis makes it possible to:♦Obtain a better understanding of the system by developing a mathematical model of a system ofinterest, and observing the system's operation in detail over long periods of time.♦Test hypotheses about the system for feasibility.♦Compress time to observe certain phenomena over long periods or expand time to observe a complex phenomenon in detail.♦Study the effects of certain informational, organizational, environmental and policy changes on the operation of a system by altering the system's model; this can be done without disrupting the real system and significantly reduces the risk of experimenting with the real system.♦Experiment with new or unknown situations about which only weak information is available.♦Identify the "driving" variables - ones that performance measures are most sensitive to - and the inter-relationships among them.♦Identify bottlenecks in the flow of entities (material, people, etc.) or information.♦Use multiple performance metrics for analyzing system configurations.♦Employ a systems approach to problem solving.♦Develop well designed and robust systems and reduce system development time.10WHAT ARE SOME PITFALLS TO GUARD AGAINST IN SIMULATION?Simulation can be a time consuming and complex exercise, from modeling through output analysis, that necessitates the involvement of resident experts and decision makers in the entire process. Following is a checklist of pitfalls to guard against.♦Unclear objective.♦Using simulation when an analytic solution is appropriate.♦Invalid model.♦Simulation model too complex or too simple.♦Erroneous assumptions.♦Undocumented assumptions. This is extremely important and it is strongly suggested that assumptions made at each stage of the simulation modeling and analysis exercise be documented thoroughly.♦Using the wrong input probability distribution.♦Replacing a distribution (stochastic) by its mean (deterministic).♦Using the wrong performance measure.♦Bugs in the simulation program.♦Using standard statistical formulas that assume independence in simulation output analysis.♦Initial bias in output data.♦Making one simulation run for a configuration.12MariaIntroduction to Modeling and Simulation 13♦ Poor schedule and budget planning.♦ Poor communication among the personnel involvedin the simulation study.REFERENCESBanks, J., J. S. Carson, II, and B. L. Nelson. 1996.Discrete-Event System Simulation, Second Edition,Prentice Hall.Bratley, P., B. L. Fox, and L. E. Schrage. 1987. A Guideto Simulation, Second Edition, Springer-Verlag.Fishwick, P. A. 1995. Simulation Model Design andExecution: Building Digital Worlds, Prentice-Hall.Freund, J. E. 1992. Mathematical Statistics, Fifth Edition,Prentice-Hall.Hogg, R. V., and A. T. Craig. 1995. Introduction toMathematical Statistics, Fifth Edition, Prentice-Hall.Kleijnen, J. P. C. 1987. Statistical Tools for SimulationPractitioners, Marcel Dekker, New York.Law, A. M., and W. D. Kelton. 1991. SimulationModeling and Analysis, Second Edition,McGraw-Hill.Law, A. M., and M. G. McComas. 1991. Secrets ofSuccessful Simulation Studies, Proceedings of the1991 Winter Simulation Conference, ed. J. M.Charnes, D. M. Morrice, D. T. Brunner, and J. J.Swain, 21-27. Institute of Electrical and ElectronicsEngineers, Piscataway, New Jersey.Maria, A., and L. Zhang. 1997. Probability Distributions,Version 1.0, July 1997, Monograph, Department ofSystems Science and Industrial Engineering, SUNYat Binghamton, Binghamton, NY 13902.Montgomery, D. C. 1997. Design and Analysis ofExperiments, Third Edition, John Wiley.Naylor, T. H., J. L. Balintfy, D. S. Burdick, and K. Chu.1966. Computer Simulation Techniques, John Wiley.Nelson, B. L. 1995. Stochastic Modeling: Analysis andSimulation, McGraw-Hill.AUTHOR BIOGRAPHYANU MARIA is an assistant professor in the departmentof Systems Science & Industrial Engineering at the StateUniversity of New York at Binghamton. She receivedher PhD in Industrial Engineering from the University ofOklahoma. Her research interests include optimizing theperformance of materials used in electronic packaging(including solder paste, conductive adhesives, andunderfills), simulation optimization techniques, geneticsbased algorithms for optimization of problems with alarge number of continuous variables, multi criteriaoptimization, simulation, and interior-point methods.。

ch2.4 Modeling and Simulation using MATLAB-Simulink

ch2.4 Modeling and Simulation using MATLAB-Simulink
Short for ‘Simulation+Link’,is the most important part of MATLAB,and the visual simulation tool with block diagram, which supplies a integrated environment for modeling, simulation and analysis of dynamic system. The complicated control system could be constructed in it only by using mouse and simple information inputs.
Cleve Moler
In the late 1990s, MATLAB had been the standared computation software.
Jack Little
1. MATLAB
Versions MATLAB 1.0 MATALB 2 MATLAB 3 MATLAB 3.5 MATLAB 4 MATLAB 4.2c MATLAB 5.0 R7 R8
2.4.1 Introduction of MATLAB/Simulink
1. MATLAB
Development of MATLAB
In 1970s , Cleve Moler, the dean of department of computer science in University of New Mexico, developed the software MATLAB by FORTRAN language for reducing the burden on the students’ programming. In 1984, Jake Little, Cleve Moler and Steve Bangert cofounded the company of MathWorks.

自行走式缠绕包装机器人运动学建模与仿真

自行走式缠绕包装机器人运动学建模与仿真

2023年第47卷第7期Journal of Mechanical Transmission自行走式缠绕包装机器人运动学建模与仿真陈雨1石亚磊2胡亚凯3王良文2刘旭玲2井笑地2(1 河南开放大学创新创业学院,河南郑州450046)(2 郑州轻工业大学机电工程学院,河南郑州450002)(3 河南中烟工业有限责任公司安阳卷烟厂,河南安阳455000)摘要开发自行走式缠绕包装机器人可以显著推升行业的技术进步。

介绍了一种全新工作模式的自行走式缠绕包装机器人:以自动导向车(Automated Guided Vehicle,AGV)安装6自由度机械臂构建移动机械臂为主体,装载包装膜固定装置、拉膜架等,实现完全的自主化缠绕包装工作。

在介绍缠绕包装机器人整体结构的基础上,对移动机械臂缠绕包装典型物件的工作过程进行了分析与运动学建模;根据移动机械臂的数学模型和缠绕典型物件作业模型开发了仿真分析系统。

实例计算与仿真结果表明,提出的缠绕包装机器人能够完成包装膜的缠绕包装工作,达到了设计要求。

相关工作为自行走式缠绕包装机器人的实用化提供了依据。

关键词包装机器人缠绕包装移动机械臂运动学建模仿真Kinematics Modeling and Simulation of a Self-propelled Wrapping Packaging Robot Chen Yu1Shi Yalei2Hu Yakai3Wang Liangwen2Liu Xuling2Jing Xiaodi2(1 College of Innovation and Entrepreneurship, Henan Open University, Zhengzhou 450046, China)(2 Mechanical and Electrical Engineering Institute, Zhengzhou University of Light Industry, Zhengzhou 450002, China)(3 Zhengzhou Key Laboratory of Intelligent Assembly Manufacturing and Logistics Optimization, Zhengzhou College of Finance andEconomics, Zhengzhou 450049, China)Abstract The development of the self-propelled wrap-around packaging robot can significantly boost the technological progress of the industry. This research introduces a self-propelled wrap-around packaging robot with a new working mode. For this packaging robot, the AGV equipped with a 6-DOFs robot arm to construct a mobile robot arm is used as the main body. The packaging film fixing device and the film drawing frame are load⁃ed on the AGV, to realize the complete autonomous wrapping work. On the basis of introducing the overall struc⁃ture of winding packaging robot, the working process of typical objects winding packaging with a mobile manipu⁃lator is analyzed and kinematics modeling is conducted. A simulation analysis system is developed based on the mathematical model of the mobile robot arm and the model of winding typical objects. The calculation and simu⁃lation results show that the wrap-around packaging robot can complete the wrapping work of packaging film and meet the design requirements. The related work provides a basis for the practical application of the self-pro⁃pelled wrap-around packaging robot.Key words Packaging robot Wrap-around packaging Mobile robot arm Kinematic modeling Sim⁃ulation0 引言货物在运输过程中不仅要满足集装化储存、运输以及机械化装卸等的包装要求,还要保证物品的完整性,防止产品在运输和搬运过程中产生磕碰等。

SESAM Sima 4.0.2 用户指南说明书

SESAM Sima 4.0.2 用户指南说明书

SESAM RELEASE NOTESIMASima is a simulation and analysis tool for marine operations and floating systems — from modelling to post-processing of results.Valid from program version 4.0.2SAFER, SMARTER, GREENERSesam Release NoteSimaDate: 07 Dec 2020Valid from Sima version 4.0.2Prepared by DNV GL – Digital SolutionsE-mail sales: *****************© DNV GL AS. All rights reservedThis publication or parts thereof may not be reproduced or transmitted in any form or by any means, including copying or recording, without the prior written consent of DNV GL AS.DOCUMENTATIONInstallation instructionsRequired:•64 bit Windows 7/8/10•4 GB RAM available for SIMA (e.g. 8 GB RAM total in total on the computer)•1 GB free disk space•Updated drivers for graphics cardNote that Windows Server (all versions), Windows XP, Windows Vista, and any 32-bit Windows are not supported.Recommended:•64-bit Windows 10•16 GB RAM•Fast quad core processor (e.g. Intel i7)•High-resolution screen (1920 × 1200 / 1080p)•Graphics card: DirectX 10.1 or 11.X compatible; 512 MB or higher•Fast SSD disk, as large as possible (capacity requirements depends heavily on simulation settings, e.g. 500 GB is a good start)•3-button mouseHigh disk speed is important if running more than 2 simultaneous simulations in parallel.E xample: If the user has enough SIMO-licenses and has configured SIMA to run 4 SIMO-calculations in parallel, then the simulations will probably be disk-speed-bound, and not CPU bound (with the above recommended hardware). Note that this is heavily dependent on the simulation parameters, so the result may vary. The default license type should now allow for unlimited parallel runs on one PC, workstation of cluster.Updated Drivers for Graphics CardThe driver of the graphics card should be upgraded to the latest version. This is especially important if you experience problems with the 3D graphics. Note that the version provided by Windows update is not necessarily up to date – download directly from your hardware vendors web-site.Installing graphics drivers may require elevated access privileges. Your IT support staff should be able to help you with this.SIMA should work with at least one graphics-mode (OpenGL, OpenGL2, DirectX 9 or DirectX 11) for all graphics cards that can run Windows 7 or 8. However, graphics cards can contain defects in their lower-level drivers, firmware and/or hardware. SIMA use the software “HOOPS” from the vendor “Tech Soft 3D” to draw 3D-graphics. For advanced users that would like more information on what graphics cards and drivers that does not work with SIMA (and an indication on what probably will work), please see the web page /hoops/hoops-visualize/graphics- cards/ .Before reading the compatibility table you may want to figure out which version of HOOPS SIMAis using. To do this open Help > About > Installation Details, locate the Plug-ins tab and look for the plug-in provider TechSoft 3D (click the Provider column title twice for a more suitable sort order). The version number is listed in the Version column. Also remember that all modes (OpenGL, OpenGL2, DirectX 9, DirextX 11) are available in SIMA.Upgrading from Earlier VersionsAfter upgrading to a newer version of SIMA, your workspaces may also require an update. This will be done automatically as soon as you open a workspace not created with the new version. You may not be able to open this workspace again using an older version of SIMA.Preference settings should normally be retained after upgrading, however you may want to open the preference dialog ( Window > Preferences ) in order to verify this.Verify Correct InstallationTo verify a correct installation of SIMA, perform the following steps:1.Start SIMA (by the shortcut created when installing, or by running the SIMA executable)a.If you are prompted for a valid license, specify a license file or license server. (If you needadvanced information on license options, see “License configuration”).b.SIMA auto-validates upon startup: A successful installation should not display any errorsor warnings when SIMA is started.2.Create a new, empty workspace:a.You will be prompted to Open SIMA Workspace: Create a new workspace by clicking New,select a different folder/filename if you wish, and click Finish.3.Import a SIMO example, run a SIMO simulation, and show 3D graphics:a.Click the menu Help > Examples > SIMO > Heavy lifting operationb.Expand the node Condition in the Navigator in the upper left cornerc.Right-click Initial, and select Run dynamic analysis. After a few seconds, you will see themessage Dynamic calculation done. No errors should occur.d.Right-click HeavyLifting in the Navigator in the upper left corner, and select Open 3DView. 3D-graphics should be displayed, showing a platform and a crane.4.If there were no errors when doing the above steps, then SIMA can be assumed to becorrectly installed.Changing Default Workspace Path ConfigurationWhen creating a new workspace SIMA will normally propose a folder named Workspace_xx where xx is an incrementing number; placed in the users home directory under SIMA Workspaces.The proposed root folder can be changed by creating a file named .simarc and place it in the users home directory or in the application installation directory (next to the SIMA executable). The file must contain a property sima.workspace.root and a value. For example:sima.workspace.root=c:/SIMA Workspaces/A special case is when you want the workspace root folder to be sibling of the SIMA executable. This can be achieved by setting the property as follows:sima.workspace.root=.License ConfigurationSIMA will attempt to automatically use the license files it finds in this order:e path specified in the file “.simarc” if present. See details below.e the path specified in the license wizard.e the system property SIMA_LICENSE_FILE.e the environment variable SIMA_LICENSE_FILE.e all “*.lic” files found in C:/flexlm/ if on Windows.e all “*.lic” files found in the user home directory.If any of the above matches, the search for more license files will not continue. If there are no matches, SIMA will present a license configuration dialog.The license path can consist of several segments separated by an ampersand character. Note that a license segment value does not have to point to a particular file – it could also point to a license server. For example:c:/licenses/sima.lic&1234@my.license.server&@another.license.serverIn this case the path is composed on one absolute reference to a file. Followed by the license server at port 1234 and another license server using the default port number.RIFLEX and SIMO LicenseWhen starting SIMO and RIFL E X from SIMA the environment variable MARINTE K_LICE NSE_FILE will be set to the home directory of the user. This means that a license file can be placed in this directory and automatically picked up.Specifying a License pathWhen starting SIMA without a license the dialog below will pop up before the workbench is shown. If you have a license file; you can simply drag an drop it into the dialog and the path to this file will be used. You may also use the browse button if you want to locate the file by means of the file navigator. If you want to use a license server; use the radio button and select License server then continue to fill in the details. The port number is optional. A host must be specified, however. Note that the host name must be in the form of a DNS or IP-address.You can now press Finish or if you want to add more path segments; you can press Next, this will bring up the second page of the license specification wizard. The page will allow you to add and remove licence path segments and rearrange their individual order.Modifying a License PathIf the license path must be modified it can be done using the dialog found in the main menu; Window >Preferences > License. This preference page works the same as the second page of the wizard.Specifying License Path in .simarcThe mechanism described here works much like specifying the environment variable, however it will also lock down the SIMA license configuration pages, thus denying the user the ability to change the license path. This is often the better choice when installing SIMA in an environment where the IT-department handles both installation and license configuration.The license path can be forced by creating a file named .simarc and place it in the users home directory or in the application installation directory (next to sima.exe). The latter is probably the better choice as the file can be owned by the system and the user can be denied write access. The license path must be specified using the sima.license.path key and a path in the FLE Xlm Java format. The license path can consist of several segments separated by an ampersand character. For instance:sima.license.path=c:/licenses/sima.lic&1234@my.license.server&@another.license.serverNote that the version of FLEXlm used in SIMA does not support using Windows registry variables. It also requires the path to be entered in the FLE Xlm Java format which is different from the normal FLE Xlm format. Using this mechanism one can also specify the license path for physics engines such as SIMO and RIFLE X started from SIMA. This is done by specifying the key marintek.license.path followed by the path in normal FLEXlm format. For example:marintek.license.path=c:/licenses/ sima.lic:1234@my.license.server:@another.license.server Viewing License DetailsIf you would like to view license details, such as expiration dates and locations you will find this in the main menu Help > License.NEW FEATURESNew Features - SIMONew Features - RIFLEXNew Features - OtherFixed bugs - SIMOFixed bugs - RIFLEXFixed bugs - OtherUnresolved Issues - SIMOUnresolved Issues - RIFLEXUnresolved Issues - OtherABOUT DNV GLDriven by our purpose of safeguarding life, property and the environment, DNV GL enables organizations to advance the safety and sustainability of their business. We provide classification and technical assurance along with software and independent expert advisory services to the maritime, oil and gas, and energy industries. We also provide certification services to customers across a wide range of industries. Operating in more than 100 countries, our 16,000 professionals are dedicated to helping our customers make the world safer, smarter and greener. DIGITAL SOLUTIONSDNV GL is a world-leading provider of digital solutions for managing risk and improving safety and asset performance for ships, pipelines, processing plants, offshore structures, electric grids, smart cities and more. Our open industry platform Veracity, cyber security and software solutions support business-critical activities across many industries, including maritime, energy and healthcare.。

仿真需求的英语作文

仿真需求的英语作文

仿真需求的英语作文Title: The Importance of Simulation in Meeting Demands。

In today's dynamic and complex world, the need for simulation has become increasingly vital across various sectors. Simulation serves as a powerful tool to replicate real-world scenarios, allowing for analysis, experimentation, and prediction without the associated risks. This essay delves into the significance ofsimulation in meeting demands across different domains.Firstly, in the realm of engineering and manufacturing, simulation plays a pivotal role in product development and testing. By creating virtual prototypes, engineers can assess the performance, durability, and safety of designs before investing in physical prototypes. This not only accelerates the product development cycle but alsominimizes costs associated with rework and iteration. Moreover, simulation enables engineers to optimize processes, such as manufacturing workflows and supply chainlogistics, leading to enhanced efficiency and productivity.Secondly, in healthcare, simulation is instrumental in training medical professionals and improving patient outcomes. Medical simulations allow practitioners to refine their skills in a risk-free environment, practicing complex procedures and emergency scenarios. From surgical simulations to patient care simulations, healthcare professionals can enhance their decision-making abilities and response times, ultimately saving lives. Additionally, simulation-based research facilitates the development of innovative treatments and medical devices, accelerating progress in the field of medicine.Furthermore, in the realm of urban planning and transportation, simulation aids in designing sustainable and efficient cities. Urban simulations enable planners to model traffic flow, assess environmental impacts, and optimize infrastructure development. By simulating various scenarios, such as population growth or changes in transportation systems, urban planners can make informed decisions to alleviate congestion, reduce pollution, andenhance overall livability. Simulation also plays a crucial role in disaster preparedness and response, allowing authorities to simulate emergency scenarios and develop effective evacuation plans.In finance and economics, simulation serves as a valuable tool for risk management and decision-making. Financial simulations enable analysts to model market behavior, assess investment strategies, and stress-test financial systems. By simulating different economic scenarios, policymakers can evaluate the potential impactof policy interventions and make informed decisions to mitigate risks and foster economic stability. Moreover, simulation-based forecasting provides insights into future trends, helping businesses and governments adapt tochanging market conditions.In conclusion, simulation is indispensable in meeting the demands of today's complex and interconnected world. Whether in engineering, healthcare, urban planning, finance, or other domains, simulation enables analysis, experimentation, and prediction in a controlled environment.By harnessing the power of simulation, stakeholders can make informed decisions, optimize processes, and mitigate risks, ultimately driving progress and innovation across various sectors. As technology continues to advance, the role of simulation will only grow in importance, shaping the future of industries and societies alike.。

System Modeling and Simulation

System Modeling and Simulation

System Modeling and Simulation System modeling and simulation are two key concepts in the field of engineering and technology. They are used to design, analyze, and optimize complex systems in various industries such as aerospace, automotive, and manufacturing. In this essay, we will discuss the importance of system modeling and simulation, the benefits they offer, and the challenges associated with their implementation.System modeling is the process of creating a mathematical representation of a system. It involves identifying the inputs, outputs, and components of the system and defining their relationships. Simulation, on the other hand, is the process of using the model to predict how the system will behave under different conditions. By combining these two processes, engineers can create virtual prototypes of complex systems and test them before they are built.One of the main benefits of system modeling and simulation is that they allow engineers to identify and correct design flaws early in the development process. By simulating the behavior of a system, engineers can test various scenarios and evaluate the performance of the system under different conditions. This helps to reduce the risk of costly errors and delays during the manufacturing and testing phases of the project.Another benefit of system modeling and simulation is that they enable engineers to optimize the performance of a system. By analyzing the simulation results, engineers can identify areas where the system can be improved and make the necessary adjustments. This can lead to significant cost savings and improved efficiency in the final product.System modeling and simulation also offer benefits in terms of safety. By simulating the behavior of a system, engineers can identify potential safety hazards and take steps to mitigate them. This is particularly important in industries such as aerospace and automotive, where safety is a critical concern.Despite the many benefits of system modeling and simulation, there are also challenges associated with their implementation. One of the main challenges is the complexity of the systems being modeled. As systems become more complex, the models required to simulate their behavior become more complex as well. This canmake it difficult to create accurate models and can increase the time and resources required to complete the simulation.Another challenge is the availability of data. In order to create an accurate model, engineers need access to data on the behavior of the system under different conditions. This data can be difficult to obtain, particularly in industries where the systems being modeled are new or proprietary.In conclusion, system modeling and simulation are critical tools for engineers and designers in a variety of industries. They offer numerous benefits, including the ability to identify and correct design flaws early in the development process, optimize system performance, and improve safety. However, there are also challenges associated with their implementation, including the complexity of the systems being modeled and the availability of data. Despite these challenges, the benefits of system modeling and simulation make them an essential part of modern engineering and design.。

高层住户防抛物、坠物安全意识演化模型

高层住户防抛物、坠物安全意识演化模型

随着我国城市化进程的快速推进,大量高层楼宇如雨后春笋般拔地而起,各地最高建筑记录不断被刷新,然而在经济快速发展、城镇化水平不断提高的同时,人们也饱受一些“城市病”的困扰。

高空抛物和坠物问题在近年来不断凸显,从2010年至今,与高空抛物、坠物有关的法律纠纷近千起,总体趋势在持续上升[1]。

2019年6月13日,深圳市一5岁男童在母亲面前被高空坠落玻璃砸中头部,后因伤势过重抢救无效而去世,值得反思的是,事发小区在半个月前发生过同样的高空玻璃坠落事件,由于高层居民安全意识的淡薄,在第一起事件发生后仍未及时对相关隐患进行排查和消除,从而导致同类悲剧的再次发生。

该事件经报道后,关于高层住户防抛物、坠物安全意识的讨论迅速上升,并成为了当时网络舆情热点话题[2]。

安全意识问题近年来受到国内外学者的广泛关注。

文献[3]通过电话访谈方式对美国552个农场的高层住户防抛物、坠物安全意识演化模型张悟移,李建国,龚钰雯昆明理工大学管理与经济学院,昆明650093摘要:为深入研究高层住户防抛物、坠物安全意识的演化机理,减少此类安全事故的发生,运用基于多主体的建模与仿真(ABMS)方法,建立高层住户防抛物、坠物安全意识演化模型;利用Netlogo仿真软件,对模型中各主体属性进行分析,研究不同属性对安全意识的影响程度以及在各属性综合作用下安全意识的变化趋势。

研究结果表明:各主体属性对高层住户防抛物、坠物安全意识的影响程度存在差异。

知识文化水平对住户个体安全意识程度影响最大;舆论压力水平存在双向影响;住户群体凝聚力水平较群体接触频率影响力更大;增强法律惩罚力度可以同时提高群体行为安全性水平以及物业安全管理水平。

关键词:防抛物、坠物;安全意识;演化模型;基于多主体的建模与仿真(ABMS)文献标志码:A中图分类号:X913.4;TP39doi:10.3778/j.issn.1002-8331.1910-0436Safety Awareness Evolution Model of High-Altitude Parabolic and Falling Objects Prevention ZHANG Wuyi,LI Jianguo,GONG YuwenFaculty of Management and Economics,Kunming University of Science and Technology,Kunming650093,ChinaAbstract:This paper intends to deeply study the evolution mechanism of the safety awareness of high-altitude parabolic and falling objects prevention,and reduce the occurrence of such safety accidents.Based on the relevant literature researchconclusions and actual investigation results,the Agent-Based Modeling and Simulation(ABMS)method is used to establish a safety awareness evolution model of high-altitude parabolic and falling objects ing the Netlogo simulation platform,the attributes of each subject in the model are analyzed,and the influence of different attributes on safety awareness and the change trend of safety awareness under the combined effect of each attribute are studied.The results show that there are differences in the influence of the main attributes on the safety awareness of high-altitude parabolic and falling objects prevention.The level of knowledge and culture has the greatest influence on the degree of individual households’safety awareness;the level of public opinion pressure has two-way influence;the level of household group cohesion is more influential than the group contact frequency;strengthening legal punishment can simultaneously improve group behavior safety level and property safety management level.Key words:parabolic and falling objects prevention;safety awareness;evolution model;Agent-Based Modeling and Simulation(ABMS)基金项目:国家自然科学基金(71562023);云南省社科规划项目(YB2017108);昆明理工大学管理与经济学院硕博生科研项目预研计划。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

In SIMULATION: Transactions of The Society for Modeling and Simulation International, Special Issue on Modeling and Simulation Applications in Cluster and Grid Computing, SAGE Publications, Vol. 80, No. 4-5, pp. 221-229, 2004.ARMSim: a Modeling and SimulationEnvironment for Agent-based Grid ComputingJUNWEI CAOC&C Research Laboratories, NEC Europe Ltd., Germanycao@ccrl-nece.deAbstract. ARMS is an agent-based resource management system for grid computing, where agents are organized into a hierarchy and cooperate with each other to discover available grid resources using a technique of decentralized resource advertisement and discovery. Since a large-scale application of ARMS is not available, the most straightforward way to investigate the ARMS performance is through a modeling and simulation approach. In this work, an ARMS performance modeling and simulation environment (ARMSim) is presented. The ARMSim kernel is composed of a model composer and a simulation engine, while users can input related information and get simulation outputs from corresponding GUIs.A case study is included using an example model with over 1000 agents and several experiments are carried out each involving nearly 100000 requests. Simulation results are also illustrated and show the impact of the choice of different agent configurations on the overall system performance. ARMSim enables the ARMS agent performance to be investigated quantitatively and simulation results are potential to be utilized at running time for online ARMS performance improvement (e.g. avoiding performance bottleneck and reducing network traffic).Keywords: modeling and simulation, multi-agent systems, grid computing, ARMS, ARMSim1. IntroductionThe grid originated from a high performance computing power delivery system [14] and is now becoming a global infrastructure for large-scale resource sharing and system integration [3]. The grid infrastructure should support both scalability and adaptability in dynamic grid environments. While examples of grid middleware technologies include CORBA [16], JINI [2] and Web Services [12], a multi-agent approach is utilized in our work.In my previous work an agent-based methodology [6] is developed for building large-scale distributed software systems with highly dynamic behaviors. This has been used in the implementation of an agent-based resource management system for grid computing [7, 8], ARMS, where agents are considered to be the main high level abstraction of grid resources. Each agent can be registered with multiple grid resources and agents are organized into a hierarchy. Agents can also cooperate with each other and resource information is advertised and discovered along the agent hierarchy using different configurations.Two applications of ARMS can be found respectively in the work described in [9] and [10]. In the first application, the ARMS implementation is integrated with multiple local grid schedulers. Each scheduler is responsible for load balancing of a PC cluster using a performance prediction driven method and an iterative heuristic algorithm [18]. The ARMS agents perform advertisement and discovery across multiple clusters to achieve overall load balancing at the grid level. In the second implementation, ARMS performs resource discovery for a grid workflow management system according to user QoS requirements. In both cases, the ARMS implementation is limit with up to 30 agents involved, which is far from a grid size. The performance of ARMS agents themselves can not be investigated in details due to the absence of a large-scale implementation.In this work, a modeling and simulation environment for the ARMS agents (ARMSim) is developed, which can be used to evaluate the overall ARMS agent performance in a quantitative way according to some pre-defined metrics. ARMSim has as input all of performance related information of the agent system, it composes them into a performance model, simulates the resource advertisement and discovery processes step by step, and finally outputs all of the statistical data. ARMSim supports multi-view and real-time display of simulation results. Simultaneous simulation of multiple models and comparison of results can also be performed in the ARMSim environment.A case study is included in this work with about 1100 agents involved. 13 experiments are designed, each with a different agent configuration. During each simulation nearly 100000 requests are sent out and in some situations nearly 10000000 communications are involved for resource advertisement and discovery. Simulation results show that agent configurations can have very different impacts on system performance and the simulation approach is the most straightforward way to enable the system performance to be investigated quantitatively.The rest of the paper is organized as follows: In Section 2 an overview introduction of the ARMS system is given. In Section 3, the ARMSim structure is described in detail.A case study with corresponding simulation results is illustrated in Section 4. Related work is summarized in Section 5 and the paper concludes in Section 6.2. ARMSAgents comprise the main components in the ARMS system; the agents are organized into a hierarchy and are designed to be homogenous. Each agent is viewed as a representative of multiple grid resources at a higher level of grid management. The information of each grid resource can be advertised within the agent hierarchy (in any direction) and agents can cooperate with each other to discover available grid resources [8].Each agent utilizes Agent Capability Tables (ACTs) to record grid resource information. An agent can choose to maintain different ACTs corresponding to the different sources of resource information: T_ACT is used to record information of an agent’s own registered grid resources; C_ACT to record resource information cached during discovery processes; L_ACT to record information received from lower agents in the hierarchy; and G_ACT to record information from the upper agent in the hierarchy.There are basically two ways to maintain the contents of L_ACT and G_ACT in an agent: data-pull and data-push, each of which has two approaches: periodic and event-driven. An agent can ask other agents for their resource information either periodically or when a request arrives. An agent can also submit its resource information to other agents periodically or when the resource information is updated. The frequency of the periodical resource information advertisement is also configurable.Another important process among agents is resource discovery which is also a cooperative activity. Within each agent, its own registered grid resources (recorded in the T_ACT) are evaluated first. If the requirement can be met locally, the discovery ends successfully. Otherwise resource information in C_ACT, L_ACT and G_ACT is evaluated in turn and the request dispatched to the agent, which is able to provide the best (or the first) requirement/resource match. If no resource can meet the requirement, the request is submitted to the upper agent. When the head of the hierarchy is reached and the available resource is still not found, the discovery terminates unsuccessfully.The ARMS architecture and mechanisms described above allow possible system scalability. Most requests are processed in a local domain and need not to be submitted to a wider area. Both advertisement and discovery are processed between neighboring agents and the system has no central structure, which otherwise might act as a potential bottleneck. This is further investigated in a quantitative way using the ARMSim environment.Four metrics are defined to evaluate the performance of agent behaviors: discovery speed (v), system efficiency (e), load balancing (b) and success rate (f) [7]. The average agent resource discovery speed (v) during a certain period is calculated via the total number of requests (r) divided by the total number of connections made for the discovery (d). The average efficiency of the system (e) is considered as the ratio of the total number of requests (r) during a certain period to the total number of connections made for both the discovery (d) and the advertisement (a). The workload of each agent (w) is described as the sum of the outgoing (o) and incoming (i) connection times and the mean square deviation of all agent workloads is used to describe the load balancing level of the system (b). The success rate (f) is the ratio of successful resource discovery (r f) to the total number of requests (r) during a certain period.These metrics may conflict at most of the time, that is not all metrics can be high at the same time. For example, a quick discovery speed does not mean high efficiency, as sometimes quick discovery may be achieved through the high workload encountered in resource advertisement and data maintenance, leading to low system efficiency. It is necessary to find the critical factors of a practical system, and then to use the different configurations to reach high performance. This can be carried out efficiently using a modeling and simulation approach.3. ARMSim structurePerformance evaluation of resource discovery in a large-scale multi-agent system like ARMS is a difficult task, especially when thousands of agents and tens of thousands of requests and communications are involved. Different configurations of agent behaviors on resource advertisement and discovery can make the overall system behaviors very complex. In this section, the ARMSim modeling and simulation environment is introduced.radr fvebf RequestsThe main ARMSim structure is illustrated in Figure 1, which includes a kernel and GUIs. The kernel part performs the modeling and simulation functions, while users can input related information and get simulation outputs from the GUIs.3.1. Inputs/outputsThere are four kinds of information that affect the system performance and must be input into the performance model. These include: the agent hierarchy, the resources, the requests, and the configurations for resource advertisement and discovery. ARMSim supports the modeling activity at both the agent level and the system level. The only components that exist in the model are agents, so agent-level modeling can be used to define all the model attributes for the simulation. However, system-level modeling is also necessary to input information on agent mobility, resource and request distribution, and so on. These will be discussed in detail below.•Agent hierarchy. When a new agent is added into the model, its upper agent should be defined. The upper agent is also configured to add a new lower agent. The information is used to organize agents into a hierarchy in the system model. No cycles are permitted in the hierarchy, which may cause deadlock during the resource discovery process.•Requests. Each agent is configured to send different requests periodically. A request item may include several parts of information: the required resource name, the relative required performance value, and the sending frequency (see examples in Table 3). •Resources. Each agent is also configured to provide many grid resources, whose performance may vary over time. A resource item may include several parts of information: the resource name, the relative performance value, and the performance changing frequency (see examples in Table 2). The usage of these attributes will be introduced in the ARMSim kernel section below.•Configurations. Different configurations are defined in each agent to control its behaviors on resource advertisement and discovery. These configurations have been introduced in Section 2 and examples can be found in Table 4.•Agent mobility. The agent mobility can be defined at the system level only. An agent mobility item may include information on: the agent ID, the new agent ID after the movement, the upper agent ID of the new agent, and the step number when the movement will happen during the simulation. •Request distribution. System-level request definitions can ease the modeling process. The same request item does not need to be defined in different agents one by one. ARMSim provides a convenient way to distributea request definition to different agents once it is definedat the system level.•Resource distribution. The same resource with the same attributes can also be provided by different agents.System-level resource definitions allow many agents to be configured with the same resource at one time. •Global configurations. A system-level configuration definition can affect all of the agents in the model and ease the modeling process. Both global configurations and individual configurations can be defined in each agent. However, agent-level configuration definitions have a priority over the system-level ones.The information above is input into the ARMSim. Examples of these information can be found in Section 4. The ARMSim outputs are all of the simulation results on four performance metrics. All of the details on resource advertisement and discovery are also recorded in a simulation log file for further reference. The use of input information to produce outputs during the modeling and simulation processes within the ARMSim kernel is introduced below.3.2. ARMSim kernelThe ARMSim kernel is composed of a model composer and a simulation engine. The kernel will perform the main modeling and simulation functions and transform the raw simulation data to statistical results to support the four performance metrics.The model composer organizes the input information into a performance model before the simulation process begins. During this phase, the system-level information is transferred into an agent-level representation as much as possible. For example, system-level requests and resources will be used to configure a certain percentage of agents. The global configurations are used to define the configurations of each agent, except for agents that have already been defined with agent-level configurations. After these, a performance model is composed ready for evaluation. The information on agent movements can only be stored at the system level and will not be used to configure any agent in the system.The simulation engine will start a simulation process once a performance model and a total number of simulation steps are defined. The whole process is illustrated in Figure 2, which is divided into seven phases, five of which are within the main simulation loop.•Initialize simulation. Once a simulation process is started, an environment will be setup for simulating resource advertisement and discovery. All of the GUIs for performance modeling are locked. The performance model cannot be modified during the simulation. The simulation results are also initialized for recording the outputs.•Set resource changes. This is performed at the beginning of each simulation step. The performance ofa grid resource may change at each step. There is alsothe frequency of change in performance of each grid resource. The performance of each resource may or may not be changed at each step according to this frequency.•Set agent movements. Each agent mobility item contains a step number when a movement will happen during the simulation. An agent movement indicates not only the change of the agent hierarchy, but also the change of related resources. Additional resource advertisement occurs when an agent is moved, for example, old resource information is announced for deletion, and new information should be advertised along the new agent hierarchy.•Advertise resources. Both event-driven and periodic resource advertisement are considered during this phase. Each agent acts on its ACTs according to its configurations. Each connection between agents for resource advertisement will be recorded in the simulation log file and will affect corresponding simulation results.•Send requests and discover resources. A request is decided to be sent according to its frequency. Each agent that receives the request will look up its ACTs in turn according to its configuration for resource discovery. Every detail of a resource discovery processis recorded in the log file and related simulation results, such as agent connection times, are recorded. •Calculate and visualize simulation results. At the end of each simulation step, the raw simulation data should be summarized, and corresponding statistical results on the performance metrics calculated. These results are shown on ARMSim GUIs dynamically to provide the user a view of what is going on during the simulation. •Finalize simulation. After all simulation steps are completed ARMSim returns to the modeling mode. All the modeling GUIs are unlocked. The GUIs for visualizing the simulation results will not be refreshed until the next simulation begins, and can thus be used for further analysis.ARMSim also supports the evaluation of multiple models simultaneously. The user can use different configurations in different models, simulate them, and compare the results.3.3. User interfacesThe ARMSim environment is implemented using Java. It provides graphical user interfaces for the modeling and simulation respectively.The user can add, edit and delete agents from the model via the main GUI window (see an example in Figure 3). In the left column of the main window, all of the agents are listed. A brief description of the selected agent is also shown below the agent list. The text field above the agent list can be used to search an agent by its name. The model can also be saved and reloaded for reuse later.Some other ARMSim GUIs are used to visualize simulation results to the user. Examples can be found in Figures 4 and 5. During each step in the simulation the results will be updated in each of the GUIs. The simulator can provide multiple views of the simulation data, which are all updated in real time. In the step-by-step view of the Figure 4, the simulation data, r, a, d, r f, and the statistic data, v, e, b, f, in each step are shown. In the accumulative view shown in Figure 5, the statistical data on the accumulative steps are shown. In the agent view, the user can view the ACT contents of a selected agent. The log view shows the simulation log file, which records the details of all resource advertisement and discovery processes during simulation.3.4. Main featuresARMSim is developed to provide quantitative information of the performance of resource advertisement and discovery in the ARMS agent system. The main feature of the ARMSim environment can be summarized as follows:•Support for all of the performance metrics andconfigurations described in the ARMS system;•Support two levels of system modeling for easy and convenient performance modeling;•Support modeling of agent mobility and simulation of additional resource advertisement processes; •Support multi-view and real-time display of simulation results;•Support simultaneous simulation of multiple models and comparison of results.The use of the ARMSim environment for a performance study is introduced in the next section through a case study, and simulation results are included to show the impact of the choice of different agent configurations on the system resource discovery performance.4. A case studyIn this section, an example model is given and experiment results are included to show how to steer the ARMS performance optimization using the ARMSim environment.4.1. Example modelA screenshot of the example model built in the ARMSim environment is illustrated in Figure 3.Figure 3. The ARMSim modelingThe attributes of the example model are shown in several tables. This is composed of about 1100 agents, each representing a one or more grid resources that may provide computing capabilities with different performances. These agents are organized in a hierarchy, which has three layers. The identity of the root agent is gem. There are 100 agents registered to gem, ten of which each also have 100 lower agents. The hierarchy is illustrated in Table1.Agents Upper agentgem -coord~0……coord~99 gemagent01~0……agent01~99 coord~5agent02~0……agent02~99 coord~15agent03~0……agent03~99 coord~25agent04~0……agent04~99 coord~35agent05~0……agent05~99 coord~45agent06~0……agent06~99 coord~55agent07~0……agent07~99 coord~65agent08~0……agent08~99 coord~75agent09~0……agent09~99 coord~85agent10~0……agent10~99 coord~95Table 1. Example model: agent hierarchy To simplify the modeling processes, we define the resources and requests in the agents at the system level, which is shown in Table 2 and 3 respectively. The name of the resources and requests are all HPC, but with different relative performance values. The frequency value of the resource, 5, for example, means the resource performance will change between 0 and the performance value once every 5 steps during the simulation. The frequency value of the request, 5, for example, means a request will be sent once every 5 steps during the simulation. The distribution value is used to define how many agents will be configured with the corresponding resource or request.Name RelativeperformanceFrequency Distribution (%) HPC 1000 5 20HPC 800 8 30HPC 600 10 40HPC 400 15 50HPC 200 20 60Table 2. Example model: resourcesName RelativeperformanceFrequency Distribution (%) HPC 100 5 80HPC 200 8 70HPC 300 10 60HPC 400 15 50HPC 500 20 40HPC 650 30 30HPC 800 40 20HPC 900 50 10HPC 1000 60 10Table 3. Example model: requestsFinally, the model must define how each agent uses the ACTs to optimize the performance. In this case study sixexperiments have been considered, each of which has the same configurations as described in Tables 1, 2 and 3, but has different configurations as described in Table 4.Experiment number Configurations1 2 3 4 5 6Using T_ACT X XX X X X Using C_ACT X X X XXL_ACT: event-driven data-push X X X X G_ACT: periodic data-pull* X X X L_ACT: periodic data-pull* X X G_ACT: event-driven data-push XTable 4. Example model: configurationsTo simplify the experiments, we only define the configurations at the system level, which means all of the agents in the model must use the same configurations. A mixture of configurations is possible but is not considered in these experiments. In the simulation results included in the section below, a comparison of the different configurations is given by considering their impact on the agent performance.4.2. Simulation resultsFigure 4. The ARMSim simulation: a step-by-step viewWhen the simulation begins, a thread is created to calculate the statistical data step by step. The phase for request sending and the resource discovery is the key partof the whole simulation process. The ARMSimenvironment can show the results in multiple views. The step-by-step and accumulative views are especially interesting in this case study, which is illustrated in Figures 4 and 5 respectively.Figure 5. The ARMSim simulation: an accumulative viewAs shown in Figure 5, six experiments are carried out simultaneously for 220 steps and results are displayed on all of performance metrics. Note that simulation processes in the first 20 steps are not stable and not included in Figures 4 and 5. We are especially interested in the balance of resource discovery speed and system efficiency in this case study. It is obvious that different configurations designed in these experiments lead to different impact on discovery speed and system efficiency. Detailed simulation data can be found in Table 5 and each of the six situations are also described below.1. Only T_ACTs are used in each agent. Each time therequest arrives, a lot of connections must be made and traversed in order to find the satisfied grid resource. In this situation, the discovery speed and system efficiency are both rather low.2. The cache is used in each agent, which needs no extradata maintenance and improves the discovery speed and system efficiency a little. This is because the dynamics of the resources reduce the effects of the cached information and so becomes unreliable.3. L_ACT is added in each agent. Each time the resourceperformance changes, the corresponding agent will advertise the change upward in the hierarchy. This adds additional data maintenance workload to the system, which decreases the discovery workload extremely. So the discovery speed and the system efficiency are all improved.4. G_ACT is also added. Each agent will get globalresource information from its upper agent once every 10 simulation steps, which will add additional data maintenance workload. From the simulation results, we can see this improves the discovery speed further. But the system efficiency decreases because of the additional data maintenance.5. Another maintenance of the L_ACT is added. Eachagent asks for resource information from its lower agents once every 10 steps. This improves the discovery speed a bit further and adds more data maintenance workload, which also decreases the system efficiency.6. Another maintenance of the G_ACT is added. Thisimproves the discovery speed only a little, but adds further data maintenance workload, which decreases the system efficiency extremely.Performance metrics* No. r a d v=r/d e=r/(a+d)1 91848 0 972118 0.09 0.092 92326 0 849540 0.10 0.103 92206 89916 37583 2.45 0.724 92084110648 34034 2.70 0.63 5 91264 138965 32415 2.81 0.53 6929299065245 32837 2.83 0.01Table 5. Simulation results IThe impact of the choice of the configurations on the discovery speed and the system efficiency is shown clearly in Figure 6.Figure 6. Choice of the configurationsIt can be seen that both third and fourth experiments have a good balance between the discovery speed and the system efficiency for this example model. The fourth situation has a higher discovery speed in comparison to the third, with lower system efficiency. And the third situation has higher system efficiency with lower discovery speed. The difference between configurations of the third and fourth experiments is that G_ACT periodic data pull is additionally configured in the fourth experiment, which was once 10 simulation steps. Changing the G_ACT data pull frequency will also change the performance of the model. Some further experiments are designed where the configurations that are used are all the same as described in the fourth experiment. The only difference is the G_ACTs in the agents are updated with different frequencies, which may lead to differences in the amount of system workload for resource advertisement and discovery. Detailed simulation results are given in Table 6.Performance metrics* Freq. ra d v=r/d e=r/(a+d)1 91618 330256 32530 2.81 0.252 91537 210336 33346 2.74 0.37 5 91355 134910 33492 2.72 0.54 10 92084 110648 34034 2.70 0.63 20 90713 98893 33734 2.68 0.68 30 91641 95154 34935 2.620.70 80 92997 91803 35944 2.58 0.72 120 92540 88539 37016 2.50 0.73 never 9220689916 37583 2.45 0.72Table 6. Simulation results IIIn Table 6, when the frequency value is once 10 simulation steps, the situation is the same as that in the fourth experiment. And when G_ACTs are never maintained, the situation is the same as that in the third experiment. The impact of the choice of the G_ACT periodic data pull frequency on the discovery speed and the system efficiency is shown clearly in Figure 7.Figure 7. Choice of the G_ACT periodic data pull frequencyAs shown in Figure 7, the best trade-off between discovery speed and system efficiency is once every 20。

相关文档
最新文档