Skip to content

BESSER-PEARL/ModelObsolescence

Repository files navigation

Modeling and evaluation of model obsolescence

This repository hosts a DSL (grammar) and an obsolescence evaluator (implemented in Python) to identify model obsolescence.

Our model-based approach is described in the following figure: at design-time, you can specify how sensitive to obsolescence are the models (using our grammar) and periodically validate (in the lifespan model monitoring stage) the obsolescence of that models and their internal elements.

Approach Overview

You can consult our mobility case example, including:

Running the Mobility Example

To get started with the mobility example, make sure you're using Python 3.9 or higher. Here's a quick guide to set things up:

  1. Create a virtual environment: It's a good idea to use a virtual environment like venv or conda to keep things tidy.
  2. Clone or download this repo: Grab the code from this repository.
  3. Install the requirements: Run pip install -r requirements.txt to get all the dependencies.
  4. Run the example: Navigate to the mobility case directory cd mobility_case and run the example script python mobility.py
  5. Check the report: You should find the obsolescence report as a PDF file in the report folder.

Publication

License

This project is licensed under the MIT license.