Skip to content

nmis-group/plantsimulation_agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌿 Plant Simulation AI Agent

Python 3.10+ License: Professional AI: OpenRouter

An intelligent embedded agent that automates the generation of Siemens Plant Simulation models using LLMs.

🚀 Overview

This tool bridges the gap between natural language and discrete event simulation. By simply describing your layout, the AI agent handles object creation and routing within your model.


📋 Prerequisites

Before you start, ensure your environment meets these requirements:

Important

  • Python 3.10+ (System-level installation)
  • Tecnomatix Plant Simulation (Professional License required)
  • OpenRouter API Key for LLM access
  • Dependencies: Run pip install -r requirements.txt

🛠️ Getting Started

  1. Prepare Model: Open a new blank .Models.Model part.
  2. AI Agent setup:
    • Drag and drop the Agent.pslib file into your model.
    • Create a empty Model under Agent folder
    • Drag AI_Agent dialog, OpenAI python model, FileSelect Python model, AI_ErrorHandler Method, AIMethod Method and FileList into the empty model
    • Then invoke the dialog by 'Show Dialog' popup menu
  3. Configure: Open the AI_Agent dialog and paste your OpenRouter API Key.
  4. Select Model: Choose your preferred AI model (e.g., GPT-4 or Claude 3) from the dropdown.
  5. Prompt & Run: Enter your simulation requirements and click Run.

💡 Example Showcases

1. Basic Assembly Line

Prompt: "Create two sources, two stations, one assembly station, and a drain. Connect them in sequence at .Models.Model."

View Example 1 Demo


2. Image-to-Model (Vision)

Prompt: "Replicate the assembly line in the attached image, but add one extra pre-process station to each branch."

Input Reference Resulting Animation
factory.jpg Example 2 Demo

3. XML Data Integration

Prompt: "Generate the assembly line architecture based on the uploaded XML configuration."

Example 3 Demo


📽️ Video Demos

If the GIFs above do not load, you can find high-resolution MP4 recordings in the Example Folder.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors