Skip to content

AI4REALNET/T3.3-3.4-HMI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AI4REALNET Augmented Decision-Making HMI

This HMI is developed for augmented human decision making, considering two interaction types:

  1. Human-AI Co-Learning: The co-learning interaction mode aims to achieve mutually beneficial interaction between the human and AI agent.
  2. Autonomous AI: In the autonomous interaction mode, the human agent acts as a director, providing high-level directives through the HMI to the AI agent, which then executes the directive autonomously.

HMI Overview

Quick start

Run the main application: python app_new.py

app.py is an older version and may not work with newer Flatland versions.

Installation & Setup

The HMI is programmed with python 3.10.11 using the PyQt package. The app_new.py script can be run directly, and allows for the following simulation setup options:

  • Agent model: load an agent model which performs actions in the environment Scenario file: load a specific, pre-defined scenario. Scenarios contain specific network topologies, lines and schedules (see the drawing board)
  • Environment settings
    • width and height
    • number of agents
    • Malfunction rate
    • Minimum/maximum malfunction duration

Simulation setup

Human-AI Co-Learning

Currently, the HMI focuses on human learning and decision support. The functions are divided into Operative and Post-Operative, meaning whether they are used during the operation to actively solve and/or prevent issues, or whether they are used after operations to analyse and reflect on behaviour.

Operative Functions

The HMI allows for the operator to interact with the environment and displays train information on request (click on the train) and highlights malfunctioning trains. For malfunctions, two solution options are given - solution formulation or solution generation.

Train information window Train information window

The solution generation function displays solution suggestions by an artificial agent, whereas the solution formulation allows the human agent to formulate their own solution. Currently, the idea is to have this be in text form, then translated into actions using a RAG (@reno) - WIP.

Solution generation window Solution formulation window

Each solution can then either be directly executed or first analysed. The analysis window presents general risk assessment, the number of sub-actions required for the solution and the number of trains impacted by the solution. Additionally, the predicted impact of this solution on the trains is presented.

Solution analysis window

Post-Operative Functions

After operations, the co-learning system supports human learning with the ability to analyse and reflect on incidents and the decisions made. At the end of the simulation, the operator is presented with a list of the incidents which occurred, and can double-click on an incident to further analyse the decisions taken.

Solution analysis window

Upon choosing an incident to review, a similar window is opened as when solutions are analysed. The key difference in the post-operative case is that the impacted trains and the delays are no longer predicted, but actual delays.

Solution analysis window Solution analysis window

The operator is also given the opportunity to reflect on the incident and is prompted to answer a series of questions that support active learning. WIP: log and summarise this reflection to support knowledge-sharing across incidents and operators.

Simulation setup

Autonomous AI & Human Director

The "director mode" of the HMI is currently WIP, but will support the following interaction modes:

  1. Directive Input: the human agent can formulate a high-level input which is executed autonomously by the autonomous agent
  2. Negotiation: should conflicts occur during execution of the directives or as a result of disruptions in the network, the agents autonomously negotiate the best course of action, which is then reported to the human agent.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors