the application of black box theory to system development · the top level black box is composed of...

18
The Application of Black Box Theory to System Development Mike Green Copyright © 2014 by John M. Green. Permission granted to INCOSE to publish and use

Upload: others

Post on 09-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

The Application of Black

Box Theory to System

DevelopmentMike Green

Copyright © 2014 by John M. Green. Permission granted to INCOSE to publish and use

Page 2: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Abstract

• The concept of black boxes has been around since the early days of systems theory though some attribute the first use to the field of electrical engineering.

• It is a simple concept and has a straightforward definition: we know the inputs and subsequent outputs to a system but the internal workings of the system are not visible to us.

• In the realm of systems engineering the application of black boxes facilitates discussing a system at an abstract level with a focus on input and output rather than the details of how inputs are transformed into outputs.

• Despite this frequent usage in practice, there is little written about black box application beyond usage as an abstraction or simple system representation.

• It is reasonable to say that it is not well understood that black box theory can be extended beyond the basic definition.

• This presentation is an expanded view of black box theory and how it can be used, especially in model-based systems engineering.

• It addresses the following questions: how extensible and scalable is black box theory? In what domains and under what conditions is black box theory valid? When is it not valid? What are its limitations? How can it be improved and how is it used with other theories in a complementary way?

2

Page 3: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Building The Case For Black

Boxes• The concept of the black

box is one of the foundations of systems theory yet black boxes are seldom discussed in the current systems engineering literature.

• The use of black box concepts in systems engineering is generally limited to abstracting out elements of the system design that will be dealt with at a later time.

3

Black Box OutputInput

Page 4: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Key Systems Concepts

• Hierarchy of systems

• Behavior of systems

• System structure

• System boundaries

4

Page 5: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Hierarchy of Systems

5

System

System

System

Sibling Systems

ContainingSystem

System-in-Focus

Subsystems

Hitchins’ Systems Hierarchy Model (Hitchins 1992)

Page 6: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Behavior Of Systems

• Checkland notes that an observer can describe system behavior in one of two ways: (1) by focusing solely on inputs and outputs or (2) by describing the system’s initial state where the as a black box that contains the requisite transform processes (Checkland 1999). • The description of behavior may be either deterministic or stochastic. In

addition, the description may reflect the state(s) of the system. • This idea plays an important role in the use of black boxes as a tool to describe

complex systems and will be discussed further in the section on black box theory.

• Oliver provides two requirements to rigorously describe behavior: (1) the ordering of functions and (2) the inputs and outputs to each function (Oliver 1997). • He argues that once the model of desired behavior is developed then it can be

mapped to the structural elements.

6

Page 7: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

System Structure

7

InternalRelationship

System· Physical Properties· Capacity· Order· Structure· Information

Environment

Inflow· Energy· Resources· Information

Outflow· Residue· Waste· Product· Dissipation· Information

Contained Systems

Hitchins’ General Systems Model (Hitchins 1992)

Result:· Product· Service· Information

Activitiesor

Steps and Decisions

Triggering Event:· Action or Decision· Time (Temporal Event)· Condition

The Process Model

The Relationship between Process, Function and Objects (Langford 2012)

System

Information Energy

Resources

Dissipation

Residues

System

Information

Energy

Resources

Dissipation

Residues

System

Information

Energy

Resources

Dissipation

Residues

Information

Information Information

System

. Hitchins’ Complementary Set of Systems (Hitchins 1992)

Page 8: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

System Boundaries

8

Mechanism

Control

Functional Boundary(After Mechanism is Enabled)

Behavioral Boundary(After Mechanism is Enabled)

Input

Losses

Output

Physical Boundary(Before Mechanism is Enabled)

Langford’s Model of Boundaries

Page 9: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Summary of Characteristics

• The four characteristics are what make the black box so useful in analysis and design.

1. The top level black box is composed of black boxes which in turn are composed of black boxes.

2. The black box captures behavior through the transformation of inputs into outputs.

3. This, in turn, gives rise to structure through the allocation of behavior to objects.

4. Finally, black boxes clearly define system boundaries and, by extension, system interfaces.

9

Page 10: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Black Boxes And System

Design

10

Characteristics of a System Tools for Analysis

Extreme complexity Black Box

Probabilism Information theory

Self-regulation Feedback principle

Stafford Beer’s System Characteristics versus Analysis Tools.

Page 11: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Black Boxes In Design

• Page-Jones provided four guidelines as to how black boxes can be used in the system design process. 1. Each black box should solve one well-defined piece of

the problem2. Partitioning is done such that each black box is easy to

understand; i.e., a function3. Partitioning is done only to connect related elements of

the problem. 4. Partitioning should assume that the connections are as

simple as possible to ensure the independence of the black box.

11

Page 12: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Box-structured Methods

12

Black Box

Stimulus Response

Clear Box

Stimulus

Black Box

State

Black Box

Response

State Box

Stimulus Response

Black Box

State

Introduce State

Introduce Procedure

Eliminate State

Eliminate Procedure

Concurrent Control Structure Clear Box

Iteration Control Structure Clear Box

Alternation Control Structure Clear Box

Sequential Control Structure Clear Box

Page 13: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Addressing The Posed

Questions

• The preceding slides laid the foundation for accepting black boxes as one of the basic building blocks of systems theory.

• Therefore black boxes are applicable to all systems.

13

Page 14: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

How Extensible And Scalable Is

Black Box Theory? What Are Its

Limitations?

• Formal Methods

• Object-Oriented Paradigm

14

System

Stimulus Response

f: S*→R

A Mathematical Definition of a Black Box

Because the black box abstracts out the "how" it can be used at the highest level to represent the system as well as at the lowest level to represent the smallest object contained in the system.

Page 15: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

In What Domains And Under What

Conditions Is Black Box Theory

Valid? When Is It Not Valid?

• Performance Analysis

• Functional Analysis (FFBD)

15

Process A Process B Process CStart Outcome

Process A

Process B

Start Outcome

Process A

Process B

Process CStart Outcome

Predecessor Successor

And

Function C

Function A

Function B

Function A Function BIT IT

Always Valid!

Page 16: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

How Can It Be Improved And How

Is It Used With Other Theories In

A Complementary Way?

• Integration

• Product Lines

• Hatley - Pirbhai

16

User Interface Processing

Main Processing(Core Functions)

Support Functions

Output ProcessingInput Processing

The Architecture Template

Reusable

Product-line

Assets

Product 1 Product 2

Product n

Application Level

Architecture Components

Domain Level

Page 17: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Summary

• It is clear that black box theory is extensible and scalable and is valid in all domains and under all conditions.

• If there are limitations, it is because black boxes are viewed too simplistically.

• Examples were given that illustrate how black box theory fits with other important concepts in systems theory.

• How can it be improved? Through application. The more black-box methods are used, the better the nuances will be understood. Which, in turn, will help to realize the potential of a simple, but powerful paradigm.

17

Page 18: The Application of Black Box Theory to System Development · The top level black box is composed of black boxes which in turn are composed of black boxes. 2. The black box captures

Future work

• Two opportunities for future work are the development of a formal systems specification language based on the work of Mills and Hevner and the development of computer-based, black-box tools.

• Mill’s and Hevner’s papers and book focused on the application of the BDL to information systems. • It is a simple but formal language that may well have great

value in specifying systems.

• The area of black-box tools is of interest because black boxes are an excellent way to communicate concepts.

18