The systems engineering tutorial starts with a SysML project
containing artifacts for an outdoor spa pool temperature controller.
Instructions and demonstrations help you to complete the simple architecture
and hand it off to software engineers.
Using Rhapsody®,
you open a basic sample SysML project with requirements and some use
cases and add representations of these elements to describe the architecture
building blocks:
- Sensor to gather temperature data
- Actuator to change the pool temperature
- Controller to read the data and operate the actuator to control
the outdoor spa pool temperature
- Algorithm for the temperature controller
You create a block definition diagram, internal block diagram,
and other standard diagrams.
Use this tutorial to learn how to:
- Create a simple system architecture using the SysML profile
- Simulate the model to verify the design
- Hand the project off to software engineers
Learning objectives
In this tutorial,
you learn the following:
- The relationship between use cases and requirements
- The differences between functional and non-functional requirements
- The Dimensions, Units, and ValueTypes supplied in the SysML profile
- Adding Dimensions, Units, and ValueTypes
- Specifying an architectural design using block definition and
internal block diagrams
- Defining a structural design
- Adding attributes to characterize the system under control
- Generating code and simulating the model at all stages of development
- Using block definition and parametric diagrams to define constraints
- Defining a behavioral design
- Creating simple statecharts as internal block diagram elements
- Using activity diagrams to explore functionality
- Creating statecharts to specify behavior
- The relationships of required behavior to system architecture
and validation approaches
- Techniques for handing off system artifacts to software engineers
Time required
Required time to complete:
4 hours
Note: This tutorial takes approximately four hours to finish
after downloading the starting point project. If you explore other
concepts related to this tutorial or perform some of the bonus exercises,
it could take longer to complete.
Skill level
Advanced
Note: To create the
tutorial project successfully, you need systems engineering experience
and a basic understanding of systems design and modeling techniques.
Audience
This tutorial is intended
for experienced systems engineers with a knowledge of SysML, who want
to use their skills to create designs in Rational® Rhapsody.
System requirements
Use this Rational Rhapsody environment for this tutorial:
- Cygwin compiler (Use version 4.0 or higher.) Available at http://www.cygwin.com/.
- Rational Rhapsody 7.5.1 or greater with the Systems
Engineering Add-on
- Windows operating system
Prerequisites
The starting point project
contains the following elements:
- A SysML project created in Rhapsody 7.5.1
- Use-case diagrams with the main use cases and use cases traced
to requirements
- Specification of the Operate System use case as an activity
- Specification of the physical constraints affecting the temperature
of the SystemUnderControl as a parametric diagram
- The basic structure of the system
- Basic statecharts for the SystemUnderControl and the ControlSystem
- Configuration of a runnable component to simulate the behavior