Legacy Code Translation for Automated SysML Model Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems engineering processes for generating SysML models from legacy code are slow, costly, and reliant on skilled practitioners, limiting scalability and efficiency due to human intervention and limited availability of trained personnel.

Innovation Solution

A system and method utilizing a Large Language Model (LLM) to identify, translate, and generate text-based model assembly documents from code repositories, enabling automated generation of SysML architectural models without requiring extensive domain knowledge.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If skilled practitioners use GUI to manually create SysML models from legacy code, then model accuracy and domain knowledge requirements are satisfied, but development time and cost increase significantly

Engineering Contradiction:
Improvemodel accuracyVSAvoiddevelopment time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent introduces an intermediary system consisting of code analysis tools and natural language generation components that automatically translate legacy code into SysML model representations. This intermediary layer processes the code repository, extracts relevant information, and generates model assembly documents, eliminating the need for practitioners to manually analyze each component while preserving model accuracy.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system enables the legacy codebase to essentially document itself by automatically generating SysML models from the existing code structure, comments, and documentation. The code repository serves its own documentation needs through automated analysis and model generation, reducing dependency on external expert intervention.

Inventive Principle:
Principle #25Self-service

2Reliability

If skilled practitioners manually analyze and model complex legacy code repositories, then comprehensive system understanding is achieved, but resource availability and scalability are limited

Engineering Contradiction:
Improvesystem understandingVSAvoidscalability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent replaces the mechanical process of manual code analysis and model creation with an automated computational system. Instead of practitioners manually examining code and creating models through GUI interfaces, the system uses automated code parsing, analysis algorithms, and template-based model generation to achieve comprehensive system understanding at scale.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system is designed to handle multiple types of code repositories, programming languages, and legacy systems through a universal framework. The code analysis component can process various code structures and formats, making the solution scalable across different projects and organizations without requiring specialized manual analysis for each case.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Manufacturing precision

If extensive domain knowledge is required for manual SysML model creation, then model quality is maintained, but practitioner availability and training requirements increase

Engineering Contradiction:
Improvemodel qualityVSAvoidpractitioner expertise requirement
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The system incorporates pre-configured knowledge bases, templates, and best practices embedded within the automated generation process. These preliminary resources contain domain knowledge and modeling standards that guide the automatic model creation, ensuring high model quality without requiring practitioners to possess extensive domain expertise.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses templates and patterns that replicate proven modeling approaches and best practices. By copying established model structures and relationships from existing successful models, the system maintains high model quality standards while eliminating the need for practitioners to recreate these patterns manually with deep domain knowledge.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20260023559A1System and method for modeling software from external systems
Publication Date: 2026.01.22 LEIDOS INC
  • US20260023559A1 patent drawing
  • US20260023559A1 patent drawing
  • US20260023559A1 patent drawing

AI summary

A framework for generating a systems engineering model for a legacy system includes identifying and extracting code from a specific legacy system or repository and/or codebase; translating the learned code by feeding it to a LLM that specializes in code understanding to elicit natural language descriptions of the functionality of each segment of code and generate a text based output useable by a SysML generator to generate a SysML model of the legacy system from the LLM output.