A method for executing hierarchical virtual-models of any complex-system in a computer-system comprising processor means, memory means, storage means, display means, input means, output means, and program means, comprising the steps of:
- loading into said memory means it least one stored persistent data set comprising instances of building-blocks representing the components of said complex-system, wherein:
- certain of said prototypes are simple building-blocks;
- certain of said types of building-blocks are composite, each instance comprising any number of instances of building-blocks representing its components;
- said simple or composite building-blocks;
- said building-blocks may comprise any number of attributes with any type of values, including but not limited to:
- character string, integer or real numbers, logical values, fuzzy values, instances of parameters, variables, lists, arrays, or any other object or data structure, images, or pointers to instances of any of said building-blocks, external files, Uniform Resource Locators (URLs), database records, or any other objects, in said computer system or in a network accessible by said computer system;
- executing by said program means for any selected instances of said building-blocks methods providing one or more functions associated with said building-blocks, including show methods defined for composite building-blocks to display the components of the selected instances.