AI Integration

Overview for Iron Ore Analysis

Note:

All values shown in the video are dummy data used to demonstrate functionality. They do not represent actual operational data.

TIOPS integrates local AI models to analyze iron ore chemical composition data securely. Compare resources across mining sites using AI-powered insights while keeping all processing local to your computer.

Key Features

  • 🔒 Secure Local Processing: All analysis runs on your computer
  • 🤖 Intelligent Analysis: Compare chemical compositions and identify patterns
  • 📊 Comprehensive Data: Fe, SiO2, Al2O3, P, S, LOI, moisture, trace elements
  • 📈 Export Reports: PDF and Excel export capabilities

Quick Setup

1. Install Ollama

# Windows/macOS: Download from https://ollama.ai/download
# Linux: curl -fsSL https://ollama.ai/install.sh | sh

2. Download AI Model

ollama pull deepseek-r1

3. Configure Environment

Create .env.local:

NEXT_PUBLIC_OLLAMA_URL=http://localhost:11434
NEXT_PUBLIC_DEFAULT_MODEL=deepseek-r1

Usage

Access AI Analysis

  1. Navigate to mining sites map/list
  2. Select 2+ sites for comparison
  3. Click "Ask AI" button
  4. Enter your analysis question

Sample Queries

Compare Fe content between samples and identify best quality for sintering
Analyze SiO2 and Al2O3 content for pellet production suitability
Identify patterns and suggest optimal blending strategies
Check compliance with industry standards for P and S content

AI Response Structure

  • Chemical Composition Summary
  • Quality Assessment
  • Recommendations
  • Risk Analysis
  • Technical Insights

Export Features

  • PDF Reports: Professional formatted analysis
  • Excel Export: Comprehensive data tables
  • Batch Analysis: Process multiple sites simultaneously

Security

  • Local Processing: No data sent to external servers
  • Offline Capability: Works without internet
  • Encrypted Storage: Sensitive data protected

Troubleshooting

Common Issues

# Check if Ollama is running
ollama list

# Restart service
ollama serve

# Use smaller model for speed
ollama pull mistral:7b

Example Analysis

Query: "Compare Fe content and SiO2 levels for pellet production"

AI Response:

Site A: Fe 65.2%, SiO2 3.1% - Excellent for pellets
Site B: Fe 62.8%, SiO2 4.2% - Good quality
Site C: Fe 58.9%, SiO2 6.8% - Not recommended

Recommendation: Use Site A for optimal Fe content and low SiO2.

Note:

Requires Ollama installed and running locally. Ensure 8GB+ RAM for optimal performance.