Function Flow Block Diagram (FFBD)

 

Function flow block diagrams (FFBDs) have the classic features of logic structures and control flow. Part of the behavioral (logical architecture) representation set, they unambiguously represent the flow of control through sequencing of functions and constructs, focusing exclusively on structural control and ignoring the sequencing and synchronization aspects of the corresponding data flow. The FFBD is often used in conjunction with an N2 diagram to provide a more complete representation of behavior.

 

The FFBD is available for entities in the Function class (as well as any other subclasses of ProcessingUnit).

 

 

When drawn horizontally, the flow of control is left to right. When drawn vertically, the flow of control is top to bottom.

 

Rectangular nodes represent functions. Circular nodes and branching structures represent control constructs - the building blocks of behavior. As a function completes execution, flow of control proceeds along the branch lines to the next function or control construct. Each construct has a precise definition that prescribes how control will be passed within the construct and when the construct itself will end. This combination is fully executable (not just animated) by the simulator.

 

GENESYS supports the standard hierarchical features of logical architectures. When the decomposition of an entity has been specified, the icon representing that entity has a black box in the upper left corner as a visual cue.

 

A special aspect of GENESYS' FFBD and EFFBD representations are reference nodes. Reference nodes reflect the context immediately surrounding this behavior. The function shown in a gray box with a broken frame on the left edge represents the last function to complete before this decomposition begins (the source of control flow). The function shown in a gray box with a broken frame on the right edge represents the next function to enable when this decomposition completes (the sink of control flow). When there is no previous or next function, the boxes are simply labeled "Ref." When a function appears multiple times in a system model or when the previous / next construct is complex, reference nodes can begin to branch, showing all of the paths into and out of a given function's decomposition. These reference nodes are automatically computed and updated by GENESYS. In this way, the reference nodes provide very valuable context information.

 

     

 NOTE:

When reference nodes branch, there are always an equal number of branches on the source and sink of the diagram. These branches correspond - if you enter the decomposition by the first branch on the left, you will exit by the first branch on the right, and so on.

Toolbox Properties

In addition to the classic diagram options, the FFBD settings include:

Diagram Toolbox

The constructs and key entities tabs allow you to quickly develop your FFBD diagram, while the all entities tab enables you to relate your functions to the remainder of your system definition.

 

Constructs

Utilities

Key Entities

All Entities - all classes and entities in the system model, allowing you to drag any entity on top of a diagram node to establish relationships with the balance of your system model

Context Menu Commands

 

Depending on what is selected on the diagram, the following options may be available:

 

Tips and Tricks