Using a Metadata Approach to Extend the Functional Resonance Analysis Method to Model Quantitatively, Emergent Behaviours in Complex Systems
Abstract
:1. Introduction
The Problem
“All models are wrong, but some are useful”(Box and Draper (1987))
2. Current Modelling Approaches
2.1. The Formal Basis of a Model
“The general purpose of a model is to represent a selected set of characteristics or interdependencies of something, which we can call the target or object system. The basic defining characteristics of all models is the representation of some aspects of the world by a more abstract system. In applying a model, the investigator identifies objects and relations in the world with some elements and relations in the formal system”.
Business System Management
“Model-based systems engineering is the formalized application of modelling to support system requirements, design, analysis, verification and validation activities beginning in the conceptual design phase and continuing throughout development and later life cycle phases”.2
2.2. Safety Management
2.3. Real World Systems
3. The Functional Resonance Analysis Method
3.1. A Solution?
The FRAM Model Visualiser
3.2. Current Applications of the Method
3.3. The Further Development of the Methodology
3.3.1. Variability
- MyFRAM was developed by Patriarca [21] and used as a powerful pre- and post- processor by various researchers, where an FMV data file could be read into the application and the data could be viewed and edited in spreadsheet views, including calculations and other qualitative or quantitative analysis of variabilities to predict resonances. The resulting model could be output as an FMV data file to be displayed again in the FMV software (for example, Patriarca’s Monte Carlo application).
- Early on in the FMV development, a successful integration was made (Slater [22]) to pass data to an external Bayesian Belief Network (BBN) processor, using the open-source i-Depend software, returning results to the FMV for visualisation.
- Another example of quantitative post-processing employed a Fuzzy Logic approach (Takayuki [23]), which manipulated FMV Functional properties in an external program, creating an output that could be displayed and visualised in the FMV application. Variability was represented by a Degree of Variability (DoV) property of a Function, modified by couplings with other Functions.
3.3.2. Validation
A production system (or production rule system) is a computer program typically used to provide some form of artificial intelligence, which consists primarily of a set of rules about behaviour, but it also includes the mechanism necessary to follow those rules as the system responds to states of the world.
3.3.3. Purposes of the FMI
- One purpose of the FMI is to check whether the model was syntactically correct.
- -
- An important part of that is the identification of “orphans” (i.e., unconnected aspects), which the FMV already provides as a visual check. To begin the FMI interpretation, all defined aspects must connect to other functions as potential couplings.
- -
- Other problems that the FMI flags as invalid are potential auto-loops, where the Output from a Function is used directly by the Function itself. The FMV, however, will not make this type of connection and flags it as an orphan.
- -
- Finally, there is a check on the Inputs and Outputs by FMI Function Type. If a Function has aspects apart from Inputs and Outputs, then it is, by definition, a foreground Function and it must have at least one Input and one Output.
- A second purpose of the FMI was to understand the difference between potential and actual couplings among Functions. A FRAM model describes the potential couplings among Functions, i.e., all the possible ways Functions are related as specified by their aspects. In contrast to that, the actual couplings are the upstream–downstream relations that occur when an activity is carried out, which means when the FRAM model is realised for a set of specified conditions (a so-called instantiation).
- A third purpose was to determine whether the activity described by the model will, in fact, develop in practice. In a FRAM model, each foreground Function defines a set of upstream–downstream relations through its aspects. The question is whether these relations are mutually consistent and whether they will, in fact, allow an event to develop as intended.
- It is all too easy in a complicated model to have Functions that mutually depend on each other, which in practice may lead to conditions where Functions wait forever for an aspect to become fulfilled. The FMI can identify these cases by interpreting the model step-by-step while keeping track of the status of all the aspects and activation conditions.
- A further purpose is to investigate the consequences of variability of Functions. In the Basic FMI this is carried out indirectly, by specifying the conditions under which a Function may become activated, rather than by considering the variability of outputs directly.
3.3.4. Metadata
3.3.5. Dynamics
- The activation of the Entry Function(s) on the initial Cycle 0 of the FMI can be repeated at a set cycle interval, effectively pulsing the model.
- The FMI interpretation can be extended beyond the default stop conditions (when all Exit Function(s) have activated) for a set number of cycles, or continuously until manually stopped.
- An equation can be added to the FMI Profile to consider the aspects and their metadata in more detail, before an Output is produced, potentially putting a Function on ‘Hold’ until conditions are met on a subsequent cycle.
- A table of lookup values can be referenced by the equations.
4. How It Works
4.1. Detailed Description of Metadata in FRAM
- Fixed constants that represent properties of a specific Function, like a name, description, or other properties.
- Variable properties of a specific Function that can be modified using equations based on other metadata available from upstream Functions.
- Global constants that are set by the starting Function and passed on through the couplings.
- Global variables that are passed on through the couplings but can be modified by Functions using equations as they pass through.
4.2. Examples of Metadata
4.2.1. Boil Water
- TEMP_Start_C is the starting temperature of the water in degrees Celsius (°C);
- POWER_W is the power rating of the electric kettle in Watts (W), which is the same as Joules per second (J·s−1);
- TIME_s is the time that the water is allowed to heat, in seconds (s);
- QUANTITY_g is the quantity of the water that is being heated, in grams (g);
- Capacity_J_gC is the specific heat capacity of water, at 4.184 Joules per gram, per degree Celsius (J·g−1·°C−1).
- For the Metadata key TEMP_Start_C on the Function <To fill with a quantity of water>, the value can be changed to 0 to set the starting point for the first instantiation, and then an equation added, where TEMP_Start_C = TEMP_Start_C + 1. This will start with 0 °C and increase the temperature by one degree every instantiation.
- The equation can be set to a pseudo-random number within a given range. For example, to start an instantiation with a random integer between 10 and 30 (inclusive), the equation would be TEMP_Start_C = rndi(10,31). Double-precision floating-point numbers can also be generated using rnd().
- The equation can be set to return a pseudo-random number which, on repetition, approximates a normal distribution. For example, a normal distribution with a mean of 20 and a standard deviation of 10 would be TEMP_Start_C = rnorm(20,10).
- A table of values can be imported into the model, and an equation used to return a value from the table, such as lookup (row number, column number). In our example, the row number can be set from the available system variable that contains the current Cycle number, Cycle, and the first column of the data table, such that TEMP_Start_C = lookup(Cycle/3,0).
- Similar to the previous case, a value can be referenced from a data table, but using a cross reference between a row name contained in the first column, and returning data from another column referenced by a column-header name, such as TEMP_Start_C = xref(Cycle,”Temp”). In this case, the data table does not need to be sorted or sequential.
4.2.2. Plan A or Plan B
4.2.3. Resilience Potentials
4.3. Current Applications of the Metadata
4.3.1. Formula 1 Pit Stop
4.3.2. Patient Management/Safety
5. Discussion
5.1. The Current Utility of the Approach
5.2. Further Possibilities Made Feasible
- Human—Human systems (Iino [29])There have been interesting papers paper on human–human interactions and FRAM modelling which allowed the pinpointing of the crucial success factors they provided in the cooperative operations in space manned missions, particularly those that were crucial factors in Apollo missions.
- Human robot systems (warehouses, robotic surgery (Adriaensen [30])FRAM models of human–robot interactions have been studied in the interactions of robots and human workers in warehouse situations and the interaction of surgeons with robotic surgery systems.
- Self-driving cars , or auto autos (Grabbe [31])Just the ability to process sensor data on the physical surroundings to predict and operate in real-world environments is not sufficient to design and program safe (fail-safe) behaviours for fully self-driving vehicles. These systems have to have the resilience to adapt to humans in the environments, who operate with a real-time, adaptive behaviour which, as we all know, is not necessarily commensurate with the highway code (often for legitimate circumstantial reasons). FRAM is being used to explore these interactions, in order to better incorporate them into control algorithms.
- Machine Learning (Nomoto [32])Nomoto has used this metadata facility for FRAM to build a model of how the USD/CNY exchange rate depends on other Functions in the international economies. Using historical data, the model can learn and calibrate its metadata and equations to be able to predict forward movements of the currencies.
- Software system safety and security—AI? (Thurlby [33])There is growing concern that the safety assurance of software systems is based on just assuring the individual components or subsystems (SAFETY I). Perhaps this is because they lack a methodology that can simulate the behaviour of a fully integrated system. This is becoming urgent as the pressures to include more and more AI controllers and autonomous agents are becoming increasingly irresistible.
5.3. The Future
5.3.1. Process Simulation
5.3.2. Digital Twins
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
1 | https://en.wikiquote.org/wiki/William_Thomson (accessed on 7 March 2024). |
2 | INCOSE SE Vision 2020 (INCOSE-TP-2004-004-02, Sep 2007) OMG/). |
3 | The GitHub URL is https://github.com/functionalresonance (accessed on 7 March 2024). |
4 | Each stage of FMV software development was reviewed with Erik Hollnagel to ensure that the software always supported the original method and helped lead to its wide use and acceptance in teaching the FRAM method and visualising FRAM models. |
5 | https://www.york.ac.uk/assuring-autonomy/training/films/ (accessed on 7 March 2024). |
References
- Coombs, C.H.; Dawes, R.M.; Tversky, A. Mathematical Psychology: An Elementary Introduction; Prentice-Hall: Upper Saddle River, NJ, USA, 1970; Psychology; p. 2. [Google Scholar]
- Goldberg, B.E.; Everhart, K.; Stevens, R.; Babbitt, N.; Clemens, P.; Stout, L. System Engineering Toolbox for Design-Oriented Engineers; Marshall Space Flight Centre: Huntsville, AL, USA, 1994. [Google Scholar]
- Association of Business Process Management Professionals ABPMP (Publisher): Guide to the Business Process Management Common Body of Knowledge—BPM CBOK® in the Translated and Edited German Edition of → European Association of Business Process Management EABPM (Publisher): Business Process Management Common Body of Knowledge—BPM CBOK®, 2nd version, Verlag Dr. Götz Schmidt, Gießen 2009. Available online: https://www.abpmp.org/page/guide_BPM_CBOK (accessed on 7 March 2024).
- Booch, G. Object-Oriented Analysis and Design with Applications, 2nd ed.; Benjamin Cummings: Redwood City, CA, USA, 1993; ISBN 0-8053-5340-2. [Google Scholar]
- Marca, D.; McGowan, C. SADT, Structured Analysis and Design Technique; McGraw-Hill: New York, NY, USA, 1987; ISBN 0-07-040235-3. [Google Scholar]
- Rausand, M.; Høyland, A. System Reliability Theory: Models, Statistical Methods, and Applications, 2nd ed.; Wiley: Hoboken, NJ, USA, 2004; p. 88. [Google Scholar]
- Abubakar, A.; Bagheri, Z.P.; Janicke, H.; Howley, R. Root cause analysis (RCA) as a preliminary tool into the investigation of identity theft. In Proceedings of the 2016 International Conference on Cyber Security and Protection of Digital Services (Cyber Security), London, UK, 13–14 June 2016. [Google Scholar]
- Reason, J. The Contribution of Latent Human Failures to the Breakdown of Complex Systems. Philos. Trans. R. Soc. Lond. Ser. B Biol. Sci. 1990, 327, 475–484. [Google Scholar] [CrossRef]
- IEC 31010; Risk Management—Risk Assessment Techniques. International Electrotechnical Commission: Geneva, Switzerland, 2019; ISBN 978-2-8322-6989-3.
- Ackoff, R. General Systems Theory and Systems Research Contrasting Conceptions of Systems Science. In Views on a General Systems Theory: Proceedings from the Second System Symposium; Mesarovic, M.D., Ed.; John Wiley & Sons: New York, NY, USA, 1964. [Google Scholar]
- Rasmussen, J. Risk management in a dynamic society: A modelling problem. Saf. Sci. 1997, 27, 183–213. [Google Scholar] [CrossRef]
- Perrow, C. Normal Accidents: Living with High-Risk Technologies; Basic Books: New York, NY, USA, 1984; p. 5. [Google Scholar]
- Hopkins, A. Lessons from Longford: The Esso Gas Plant Explosion; CCH: Riverwoods, IL, USA, 2000. [Google Scholar]
- Leveson, N. Engineering a Safer World: Systems Thinking Applied to Safety; The MIT Press: Cambridge, MA, USA, 2012; ISBN 9780262298247. [Google Scholar] [CrossRef]
- Hollnagel, E. FRAM: The Functional Resonance Analysis Method, Modelling Complex Socio-Technical Systems; CRC Press: London, UK, 2012. [Google Scholar] [CrossRef]
- Hill, R.; Hollnagel, E. The Way ahead: FRAM Extensions and Add-Ons, FRAMily 2016 Lisbon. 2016. Available online: https://functionalresonance.com/onewebmedia/FRAMtid_2.pdf (accessed on 1 November 2023).
- Patriarca, R.; Di Gravio, G.; Woltjer, R.; Costantino, F.; Praetorius, G.; Ferreira, P.; Hollnagel, E. Framing the FRAM: A literature review on the functional resonance analysis method. Saf. Sci. 2020, 129, 104827. [Google Scholar] [CrossRef]
- Salehi, V.; Veitch, B.; Smith, D. Modeling Complex Socio-Technical Systems Using the FRAM: A Literature Review, Human Factors and Ergonomics in Manufacturing and Service Industries; Wiley: Hoboken, NJ, USA, 2020. [Google Scholar] [CrossRef]
- Slater, D.; Hill, R.; Hollnagel, E. The FRAM Model Visualiser with Interpreter (FMV/FMI). 2020. Available online: https://www.researchgate.net/publication/344270704_The_FRAM_Model_Visualiser_with_Interpreter_FMVFMI (accessed on 7 March 2024). [CrossRef]
- Franca, J.; Hollnagel, E. Safety-II Approach in the O&G Industry: Human Factors and Non-Technical Skills Building Safety. In Proceedings of the Rio Oil & Gas Expo and Conference 2020, Online, 1–3 December 2020; Available online: https://biblioteca.ibp.org.br/riooilegas/en/ (accessed on 7 March 2024).
- Patriarca, R.; Di Gravio, G.; Costantino, F. myFRAM: An open tool support for the functional resonance analysis method. In Proceedings of the Conference: 2017 2nd International Conference on System Reliability and Safety (ICSRS), Milan, Italy, 20–22 December 2017. [Google Scholar] [CrossRef]
- Slater, D. Open Group Standard Dependency Modelling (O-DM). 2016. Available online: https://www.researchgate.net/publication/305884742_Open_Group_Standard_Dependency_Modeling_O-DM (accessed on 7 March 2024). [CrossRef]
- Treating Variability Formally in FRAM. 2020. Available online: https://www.researchgate.net/publication/342639227_TREATING_VARIABILITY_FORMALLY_IN_FRAM (accessed on 7 March 2024). [CrossRef]
- Hollnagel, E. The FRAM Model Interpreter, FMI. 2021. Available online: https://safetysynthesis.com/onewebmedia/FMI_Plus_V2-1.pdf (accessed on 7 March 2024).
- Selfridge, O.G. Pandemonium: A paradigm for learning. In Neurocomputing: Foundations of Research; MIT Press: Cambridge, MA, USA, 1958; pp. 513–526. [Google Scholar]
- Hollnagel, E. Systemic Potentials for Resilient Performance. In Resilience in a Digital Age; Springer: Cham, Switzerland, 2022. [Google Scholar] [CrossRef]
- Slater, D.; Hill, R.; Kumar, M.; Ale, B. Optimising the Performance of Complex Sociotechnical Systems in High-Stress, High-Speed Environments: The Formula 1 Pit Stop Test Case. Appl. Sci. 2021, 11, 11873. [Google Scholar] [CrossRef]
- MacKinnon, R.; Barnaby, J.; Hideki, N.; Hill, R.; Slater, D. Adding Resilience to Hospital Bed Allocation, using FRAM. Med. Res. Arch. 2023, 11, 1–13. [Google Scholar] [CrossRef]
- Iino, S.; Nomoto, H.; Hirose, T.; Michiura, Y.; Ohama, Y.; Harigae, M. Revealing Success Factors of Cooperative Operations in Space Manned Missions: Crucial Factors in Apollo Missions, Conference Proceedings FRAMily 2023, Copenhagen. Available online: https://functionalresonance.com/framily-meetings/FRAMily2023/Presentations/MLforFRAM.pdf (accessed on 7 March 2024).
- Adriaensen, A. Development of a Systemic Safety Assessment Method for Human-Robot Interdependencies. Ph.D. Thesis, Mechanical Engineering, KU Leven, Leuven, Belgium, 2023. [Google Scholar]
- Grabbe, N. Assessing the Reliability and Validity of an FRAM Model: The Case of Driving in an Overtaking Scenario, FRAMily 2023, Copenhagen. 2023. Available online: https://functionalresonance.com/framily-meetings/FRAMily2023/Presentations/FRAMily_Copenhagen_2023_Grabbe.pdf (accessed on 7 March 2024).
- Nomoto, H.; Slater, D.; Hill, R.; Hollnagel, E. Machine Learning in FRAM, FRAMily 2023, Copenhagen. 2023. Available online: https://functionalresonance.com/framily-meetings/FRAMily2023/Presentations/MLforFRAM.pdf (accessed on 7 March 2024).
- Thurlby, J. The Illusion of Safety: Avoiding Safety Theatre in Automotive Software Development. 2023. Available online: https://www.linkedin.com/pulse/illusion-safety-avoiding-theater-automotive-software-joel-thurlby/ (accessed on 7 March 2024).
- Nomoto, H.; Slater, D.; Hirose, T.; Iino, S. Bayesian FRAM, FRAMily 2022, Kyoto. 2022. Available online: https://functionalresonance.com/framily-meetings/FRAMily2022/Files/Presentations/3_2_2_BaysianFRAM_Nomoto.pdf (accessed on 7 March 2024).
- Slater, D.; Hollnagel, E.; Hill, R.; Nomoto, H.; Patriarca, R.; Smith, D.; Adriaensen, A.; Mackinnon, R.; Hirose, T. FRAM: The Development of the Complex System Analysis Methodology. 2023. Available online: https://www.researchgate.net/publication/372079036_FRAM_The_Development_of_the_Complex_System_Analysis_Methodology (accessed on 7 March 2024).
Function | Key | Value |
---|---|---|
<To fill with a quantity of water> | TEMP_Start_C | 20 |
QUANTITY_g | 1000 | |
Capacity_J_gC | 4.184 | |
<To supply kettle> | POWER_W | 1000 |
<To control the heating time> | TIME_s | 300 |
Cycle | Function | TEMPERATURE | QUALITY | TIME_stew_m | POWER_W | QUANTITY_g | TEMP_Start_C | Capacity_J_gC | TIME_s |
---|---|---|---|---|---|---|---|---|---|
0 | To make a cup of tea | ||||||||
0 | To control the time it is allowed to stew | 3 | |||||||
0 | To supply kettle | 1000 | |||||||
0 | To fill with a quantity of water | 1000 | 20 | 4.184 | |||||
0 | To control the heating time | 300 | |||||||
0 | To set the target temperature | ||||||||
0 | To supply teapot | ||||||||
1 | To boil water | 91.70 | |||||||
2 | To pour onto tea leaves | Good | |||||||
3 | To drink tea |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Hill, R.; Slater, D. Using a Metadata Approach to Extend the Functional Resonance Analysis Method to Model Quantitatively, Emergent Behaviours in Complex Systems. Systems 2024, 12, 90. https://doi.org/10.3390/systems12030090
Hill R, Slater D. Using a Metadata Approach to Extend the Functional Resonance Analysis Method to Model Quantitatively, Emergent Behaviours in Complex Systems. Systems. 2024; 12(3):90. https://doi.org/10.3390/systems12030090
Chicago/Turabian StyleHill, Rees, and David Slater. 2024. "Using a Metadata Approach to Extend the Functional Resonance Analysis Method to Model Quantitatively, Emergent Behaviours in Complex Systems" Systems 12, no. 3: 90. https://doi.org/10.3390/systems12030090
APA StyleHill, R., & Slater, D. (2024). Using a Metadata Approach to Extend the Functional Resonance Analysis Method to Model Quantitatively, Emergent Behaviours in Complex Systems. Systems, 12(3), 90. https://doi.org/10.3390/systems12030090