Model-oriented design with Engee
Introduction
Modeling is the creation of a virtual representation of a real system.
Simulation is the calculation of the behavior of a system over a certain period of time, that is, its state at each moment of this segment.
Simulation and simulation are valuable for testing a system under conditions that are difficult to reproduce with hardware prototypes alone. This is especially true at an early stage of the design process, when the equipment is not yet available.
Short iterations of modeling and simulation improve the quality of system development at an early stage by reducing the number of errors that would otherwise be detected at later stages.
The C code can also be automatically generated from the model. If the requirements for the implementation of software for a specific hardware platform are formalized and specified, then it is possible to create automated test benches on its basis. Code generation saves time and prevents manual coding errors.
The functionality of model-oriented design
In model-oriented design (MBD), the system model is at the center of the workflow. The MBD enables fast and cost-effective development of dynamic systems, including control systems, signal processing systems, and communication systems.
The MBD allows you to:
-
Use a common design environment for project teams.
-
Link projects directly to requirements.
-
Constantly identify and correct errors, combining testing with design.
-
Perform algorithm refinement using multi-domain modeling.
-
Automatically generate embedded program code and documentation.
-
Develop and reuse test suites.
System Specifications | High-level design | Low-level design |
---|---|---|
Requirements |
Completion of integration and testing |
System-level design |
System integration and testing |
Subsystem design |
Integration and testing of the subsystem |
An example of a model-based design workflow in Engee
To get started with the task of designing based on models, consider this workflow.
The workflow in this article focuses on the fundamental tasks of Engee as they relate to model-based design.
-
System definition and layout — define the goals of modeling, components, and structure of the model.
-
System Modeling and verification — simulate and test components, integrate components, test the system.
-
System Design in Engee — design and test new components.