Sim Events

March 22, 2018 | Author: Aryo Daniel | Category: Signal (Electrical Engineering), Simulation, System, Computer Network, Network Packet


Comments



Description

SimEventsModel and simulate discrete-event systems SimEvents® provides a discrete-event simulation engine and component library for Simulink®. You can model event-driven communication between components to analyze and optimize end-to-end latencies, throughput, packet loss, and other performance characteristics. Libraries of predefined blocks, such as queues, servers, and switches, enable you to accurately represent your system and customize routing, processing delays, prioritization, and other operations. With SimEvents you can design distributed control systems, hardware architectures, and sensor and communication networks for aerospace, automotive, and electronics applications. You can also simulate event-driven processes, such as the execution of a mission plan or the stages of a manufacturing process, to determine resource requirements and identify bottlenecks. Key Features ▪ Discrete-event simulation engine for multidomain modeling of complex systems in Simulink ▪ Predefined block libraries, including queues, servers, generators, routing, and entity combiner/splitter blocks ▪ Entities with custom data attributes for flexible representation of packets, tasks, and parts ▪ Built-in statistics aggregation for obtaining delay, throughput, average queue length, and other metrics ▪ Library blocks for defining domain-specific constructs, such as communication channels, messaging protocols, and conveyor belts ▪ In-model animation for visualizing model operation and debugging Discrete Event Simulation with SimEvents 2:27 Get an introduction to discrete-event simulation and the applications of SimEvents ® and explore online product resources. Discrete-Event Simulation in Simulink SimEvents provides a discrete-event simulation engine that manages and processes sequences of asynchronous events. These events can help model mode changes and trigger state transitions within time-based systems in Simulink. Entities and Events With SimEvents you can create entities to represent discrete items of interest, such as packets in a communication system or airplanes in an airport taxiway. The generation, movement, and processing of entities in the system causes events, such as the arrival of a packet or the departure of an airplane. In turn, these events modify the states in the system to affect system behavior. You can characterize your entity with attributes, such as a destination address, processing time, or server delay. SimEvents distinguishes between entity lines, which represent entity movement between blocks, and event-signal lines, which denote corresponding event-based computations, via unique port styles. 1 Integrating SimEvents with Simulink and Stateflow SimEvents lets you integrate event-based modeling into time-based Simulink models by using blocks from the Gateway library. including Math Operations. conversely. You can also encapsulate any Simulink calculation that needs to operate on an event-based signal using the Atomic Subsystem block.Production Simulation Software for Manufacturing 4:57 Identify bottlenecks in a production process and identify optimized inventory and logistics management techniques. Model of an antilock braking system (ABS) using CAN communications and supporting plots showing how network utilization (above right). the Event-to-Timed Signal block converts events back to time-based signals. message delivery delay (below right). The Timed-to-Event Signal block converts time-based signals to event-based signals. you can model discrete mode-switching in time-based components as well as communication between time-based components. Using this bidirectional conversion. and Logical Operator. 2 . and vehicle and wheel speeds (bottom left) are affected by overall CAN traffic. MATLAB Function. Stateflow Charts. You can operate directly on event-based signals using Simulink and Stateflow® library blocks. Predefined and Domain-Specific Libraries SimEvents provides a block library that enables you to create. and move entities in a system. Many parameters within SimEvents can be statistically determined to model probabilistic variations in the system. process. and adding special SimEvents signal ports to Simulink subsystems that produce and consume events. an atomic subsystem.Model of a CAN node that uses a MATLAB Function block. You can model both simple and complex networks of queues and servers. You can also build your own domain-specific library blocks by using key Simulink capabilities. These paths can include delays and selective switching criteria. and a math operation (Gain block) to alter SimEvents signals. store. 3 . By connecting gate and switching blocks. such as masking subsystems and creating libraries. you can establish paths on which entities travel in response to events. such as the Entity Combiner block. The Queues library includes blocks to handle incoming entities. For event-based signals. The Routing and Gates libraries include blocks that use switches that operate either statistically or deterministically.SimEvents block libraries for building discrete-event simulations. You can observe both entity movement and the production and use of events in event-based blocks. animation illustrates the execution sequence of computation blocks in response to events. such as the Event-Based Entity Generation block. 4 . such as the FIFO Queue block. The Entity Management library includes blocks for packaging entities or separating those packages. such as the Infinite Server block. The Generators library includes blocks for creating entities based on time or signals. such as the Set Attribute and Get Attribute blocks. Analysis and Visualization of Results You can gain insight into the behavior of your model by: ▪ Animating ▪ Using statistics and scopes ▪ Debugging Animation SimEvents support of animation lets you examine the execution behavior of a SimEvents model. The Attributes library includes blocks for setting and reading attributes on an entity. such as the Input Switch block. The Servers library includes blocks to process incoming entities. such as average service times. Statistics and Scopes Most SimEvents blocks can output statistics that let you monitor aggregate measures. and server utilization. Custom scopes enable you to visualize these signals using familiar staircase and stem plots.Animation of a SimEvents model showing the flow of entities. 5 . queue lengths. as well as the number of entities in the queue and server during a simulation. SimEvents Debugger Tutorial Part 1 9:44 Use the SimEvents debugger for basic simulation stepping and debugging. The debugger also creates a simulation log for further inspection of detailed information. 6 . SimEvents Debugger The SimEvents debugger lets you use MATLAB® functions to suspend a simulation at each step or breakpoint to query simulation behavior.Model of an Ethernet local area network using statistics and scopes to analyze the throughput (bottom left) and channel utilization (bottom right) of the MAC Controller (B) subsystem. SimEvents Debugger Tutorial Part 2 7:20 Use the SimEvents debugger for breakpoints and advanced querying. You can debug both discrete-event and hybrid simulations by closely inspecting the events and blocks that process them. Resources Product Details.mathworks.com/trademarks for a list of additional trademarks.mathworks. MATLAB and Simulink are registered trademarks of The MathWorks.com/connections Worldwide Contacts www. Other product or brand names may be trademarks or registered trademarks of their respective holders.mathworks.com/training Third-Party Products and Services www.com/products/simevents Trial Software www.mathworks.mathworks. and System Requirements www.mathworks.com/support Online User Community www. Inc.mathworks. 7 . See www.com/contact © 2012 The MathWorks.com/contactsales Technical Support www.com/trialrequest Sales www.mathworks.mathworks. Inc. Examples.com/matlabcentral Training Services www.
Copyright © 2024 DOKUMEN.SITE Inc.