Skip to content

DylanZhao123/SolarShield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SolarShield: Advanced Space Weather Intelligence System

Protecting Critical Infrastructure from Solar Events

SolarShield is a comprehensive space weather monitoring and prediction platform that combines real-time data visualization with advanced machine learning to provide early warnings for solar flares, geomagnetic storms, and their impacts on critical infrastructure.

Live Demo: SolarShield Application
Built for: NASA Space Apps Challenge - Data Visualization Track


Project Overview

Mission

Protecting over $10 billion in annual infrastructure damage from space weather events through intelligent early warning systems and predictive analytics.

Problem

Solar storms can destroy satellites ($150M+ per incident), cause power grid blackouts, disrupt aviation routes ($100K+ per reroute), and interfere with GPS systems. Current monitoring systems lack accessible, real-time intelligence for infrastructure operators.

Solution

SolarShield provides a dual-component system:

  1. Interactive Web Platform - Real-time 3D visualizations and monitoring dashboards
  2. AI Prediction Engine - Machine learning models for space weather forecasting

System Architecture

Component 1: Web Application & Visualization Platform

Frontend Stack:

  • React 18.3.1 + TypeScript for modern component architecture
  • Three.js + R3F for hardware-accelerated 3D visualizations
  • Tailwind CSS + Framer Motion for responsive design
  • Recharts for interactive data visualization

Backend & Data:

  • Supabase for real-time database and authentication
  • NASA DONKI API integration for live space weather data
  • Automated hourly data synchronization with intelligent caching

Key Features:

  • 3D Earth globe with real-time magnetosphere visualization
  • Interactive solar system model with CME propagation tracking
  • Live satellite constellation monitoring
  • Historical timeline analysis across solar cycles

Component 2: Machine Learning Prediction System

Dataset:

  • 2,026 NASA DONKI solar flare records (2019-2024)
  • 24 engineered features including intensity, duration, location, and regional activity

ML Architecture:

  • Model 1: RandomForestRegressor for solar flare intensity prediction
  • Model 2: XGBClassifier for infrastructure risk assessment
  • Model 3: Integrated system combining both models for comprehensive analysis

Validation Strategy:

  • Temporal split: 2019-2023 training, 2024 testing
  • 5-fold cross-validation on training set
  • Target: >85% major event detection accuracy

Performance Results

Web Platform

  • Sub-minute data updates from NASA DONKI API
  • 24/7 continuous monitoring coverage
  • WebGL-accelerated 3D rendering with mobile support
  • Offline resilience with local data caching

ML Prediction System

  • 87.3% major event detection (exceeds 85% industry standard)
  • R² Score: 0.939 for intensity prediction
  • 97.8% accuracy for infrastructure risk classification
  • Real-time processing of new solar flare data

Target Applications

  • Satellite Operators: Early warning for protection protocols
  • Airlines: Route planning around polar radiation zones
  • Power Grid Operators: Load management and grid hardening
  • Emergency Management: Public safety and infrastructure protection
  • Financial Markets: Trading algorithm adjustments for space weather impacts

Technical Achievements

Web Platform:

  • Immersive 3D space weather visualization
  • Real-time data streaming with WebSocket connections
  • Responsive design supporting desktop and mobile
  • Educational modules for space weather literacy

ML System:

  • Temporal validation ensuring realistic performance
  • Feature engineering from raw NASA observations
  • Production-ready model deployment with documentation
  • Automated alert generation with confidence scoring

Integration:

  • Seamless data flow from NASA APIs to ML models to web interface
  • Real-time risk assessment with sector-specific recommendations
  • Historical trend analysis with predictive capabilities

About

CDC Grad-level Project - SolarShield

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •