Kon-41 4011 Modeling Requirements

32
Systems Thinking and Systems Engineering Systems Engineering: Requirements model 07 February 2013 François Christophe Galina Medyna Eric Coatanéa

description

swistemas

Transcript of Kon-41 4011 Modeling Requirements

Page 1: Kon-41 4011 Modeling Requirements

Systems Thinking and Systems Engineering

Systems Engineering: Requirements model

07 February 2013

François Christophe

Galina Medyna

Eric Coatanéa

Page 2: Kon-41 4011 Modeling Requirements

Objectives of the lecture

1. Know different types of representations for requirements

2. Understand the importance of modeling requirements

3. Apply techniques for refining requirements

Page 3: Kon-41 4011 Modeling Requirements

Definition of requirement structure

Page 4: Kon-41 4011 Modeling Requirements

Structure of requirement

1- Identified: Qualitatively defined, this is a need,

2- Specified: Quantitatively defined, this is a specified requirement,

3- Allocated: Assigned to a product, process, subsystem or a combination,

4- Covered: Satisfied by the element to which it has been allocated

A requirement is:

Page 5: Kon-41 4011 Modeling Requirements

Structure of requirement

Page 6: Kon-41 4011 Modeling Requirements

Structure of requirement

Page 7: Kon-41 4011 Modeling Requirements

Types of representations of requirements

Page 8: Kon-41 4011 Modeling Requirements

Representation types

• Document• Classification of requirements under categories• List of requirements• Tree of Requirements• Detailed requirements with performance values

Page 10: Kon-41 4011 Modeling Requirements

Classification of requirements

Page 11: Kon-41 4011 Modeling Requirements

Classification of requirements

User requirements

Technical requirements

Adapted from: Hull, E., Jackson, K., Dick, Jeremy., 2005, Requirement Engineering, 2nd ed., Springer, London.

Page 12: Kon-41 4011 Modeling Requirements

Classification of requirements• Business requirements:

– High level requirements related to company organisation

• User (stakeholder) requirements– Requirements related to user wishes or needs from a project

• Functional requirements– Functionalities required from a system derived from analysis of user

requirements

• Non-functional requirements– Requirements related to constraints such as cost, performance,

dimension, maintenance...

Page 13: Kon-41 4011 Modeling Requirements

List of requirements

Page 14: Kon-41 4011 Modeling Requirements

Tree of requirements

Page 15: Kon-41 4011 Modeling Requirements

Detailed requirements

Page 16: Kon-41 4011 Modeling Requirements

Detailed requirements

Page 17: Kon-41 4011 Modeling Requirements

Detailed requirements

• A detailed requirement should be quantitatively defined (specified)– Can be defined with its utility

Page 18: Kon-41 4011 Modeling Requirements

Detailed requirements:Trade-offs between requirements• Example:

– Power source should provide enough energy for playing 2 matches consecutively: (2*90s.)

BUT– Constraints for the robot dimensions

Page 19: Kon-41 4011 Modeling Requirements

Allocated requirements

• Requirements should be allocated to specific parts of the system

• Examples of allocation:

Page 20: Kon-41 4011 Modeling Requirements

Why is it important to model requirements?

Page 21: Kon-41 4011 Modeling Requirements

Model of requirements? Why?

• Siemens PLM requirements• Dassault RFLP• Providia• IBM Rational Doors

Why so many vendors give importance to requirement modeling?

Page 22: Kon-41 4011 Modeling Requirements

Because...

• Requirements descriptions are similar to a contract between customers and suppliers

• It is important to capture the interactions and possible contradictions between requirements (contradictions can lead to design constraints)

• It is important to keep track of initial objectives– Allocation and satisfaction mechanisms used for traceability

Page 23: Kon-41 4011 Modeling Requirements

Refinement techniques

Page 24: Kon-41 4011 Modeling Requirements

Functional or non-functional?

• Analysis of types of verbs and objects used in requirements sentences

• Helps classifying requirements into different categories

Page 25: Kon-41 4011 Modeling Requirements

Functional or non-functional?

A requirement is a sentence in natural language.

A function is always related to transitive and intransitive verbs.

Examples:

The seat must prevent injury (seat=subject, prevent= transitive verb, injury=object)

The airplane seat must float. (seat =subject, float =intransitive verb)

Page 26: Kon-41 4011 Modeling Requirements

Functional or non-functional?Third type of requirement sentences exist: sentences

where the verb is a linking verb

Example:

The seat must be easy to adjust.

(seat=subject, be=linking verb, easy to adjust=subject compliment)

In this type of sentence, the verb is not representing an action, this structure of sentence is representing

a non-functional requirement.

Page 27: Kon-41 4011 Modeling Requirements

Classifying rules from grammatical structures

Page 28: Kon-41 4011 Modeling Requirements

Tool example

• This tool defines specific grammatical structures for expressing requirements:

http://freespace.virgin.net/gbjedi/books/re/boilerplates/repository.htm

Page 29: Kon-41 4011 Modeling Requirements

Common keywords

• Finding common keywords in different requirements sentences

• Helps finding links/interactions/contradictions between 2 requirements from different categories

• Example: file:///C:/Users/Francois/Desktop/MadeByGraph/simAnalysis.htm

Page 30: Kon-41 4011 Modeling Requirements

Searching for required performance

From Qualitative to Quantitative requirements:• For requirements containing comparative or superlative

such as: easier, better, simpler, faster

• Ask about:– What does the comparative or superlative refer to?

– How to measure?

– Which unit?

Page 31: Kon-41 4011 Modeling Requirements

Searching for required performance

• Words like never, always, ever, everybody, nobody, all: – often generalize a fact

• Ask about:– Really always?– Really everybody?– Really never?

Page 32: Kon-41 4011 Modeling Requirements

Thank for your attention

Exercises:

- Analyse EU-robot rules document.

- Extract requirements related to the objectives of your own project