fmdtools.define.block
The block subpackage provides a representation of behavioral blocks, which are simulable models which may contain containers and other properties.
These variants of block are provided in the following modules:
fmdtools.define.block.base
fmdtools.define.block.action
fmdtools.define.block.component
fmdtools.define.block.function
Functions are used to represent overall system functionality and behaviors (i.e., what a system does).
Functions are defined by extending the Function class, which may then be instantiated, as shown below:
Example of a Function class and its corresponding instantiation.
To define a function class, it can be helpful to use this code template:
Code template for Function used to define high-level system functions and their behavior.