☢️ WIA-SPACE-009 Simulator

📊 Data Format
🔢 Algorithms
📡 Protocol
🔗 Integration
🧪 Test

📊 Data Format - JSON Schema

Radiation Measurement Schema

{
  "measurement": {
    "timestamp": "2025-01-26T12:00:00Z",
    "location": {
      "orbit": "LEO",
      "altitude_km": 408,
      "latitude": 51.6,
      "longitude": -0.1
    },
    "radiation": {
      "dose_rate_mSv_day": 0.45,
      "accumulated_dose_mSv": 127.5,
      "sources": {
        "GCR": 0.15,
        "SAA": 0.25,
        "SPE": 0.05
      },
      "particle_types": {
        "protons": 85,
        "helium": 12,
        "HZE": 3
      }
    },
    "alerts": {
      "level": "GREEN",
      "spe_risk": "LOW",
      "eva_permitted": true
    }
  }
}

SPE Alert Schema

{
  "alert": {
    "id": "SPE-2025-001",
    "timestamp": "2025-01-26T09:15:00Z",
    "level": "ORANGE",
    "source": {
      "flare_class": "X2.5",
      "location": "N15W45",
      "peak_time": "2025-01-26T08:47:00Z"
    },
    "prediction": {
      "arrival_time": "2025-01-26T20:00:00Z",
      "duration_hours": 18,
      "peak_flux": ">10000 pfu",
      "energy_range_MeV": "10-100"
    },
    "recommended_actions": [
      "Abort all EVA activities",
      "Prepare storm shelter",
      "Increase dosimetry frequency",
      "Monitor continuously"
    ]
  }
}

🔢 Radiation Dose Calculator

Mission Dose Calculator

Career Limit Calculator

📡 Protocol - API Testing

Get Current Radiation Data

GET /api/v1/radiation/current
Authorization: Bearer {token}

Response:
{
  "status": "success",
  "data": {
    "dose_rate": 0.45,
    "unit": "mSv/day",
    "location": "ISS",
    "timestamp": "2025-01-26T12:00:00Z"
  }
}

Get SPE Alerts

GET /api/v1/alerts/spe
Authorization: Bearer {token}

Response:
{
  "status": "success",
  "alerts": [
    {
      "id": "SPE-2025-001",
      "level": "ORANGE",
      "timestamp": "2025-01-26T09:15:00Z"
    }
  ],
  "count": 1
}

Post Dosimetry Reading

POST /api/v1/dosimetry/reading
Authorization: Bearer {token}
Content-Type: application/json

{
  "crew_id": "ISS-67-001",
  "dose_mSv": 0.45,
  "timestamp": "2025-01-26T12:00:00Z",
  "device_id": "TLD-12345"
}

Response:
{
  "status": "success",
  "message": "Reading recorded",
  "accumulated_dose": 127.5
}

🔗 Integration Scenarios

Scenario 1: ISS Radiation Monitoring

Integration with ISS systems for real-time radiation monitoring

Component Interface Status
Personal Dosimeters Bluetooth LE → Gateway ✅ Active
Area Monitors RS-485 → Data Hub ✅ Active
NOAA Space Weather REST API → WIA Bridge ✅ Active
Alert System WebSocket → Crew Devices ✅ Active

Scenario 2: Lunar Base Protection

Integration for lunar surface radiation protection system

System Function Status
Regolith Shield Monitor Shielding effectiveness ✅ Online
Storm Shelter SPE rapid response ✅ Ready
EVA Suit Dosimeter Real-time crew dose ✅ Active
Solar Weather Prediction 18-36h SPE warning ✅ Monitoring

🧪 Test & Validation

QR Code Generator

Data Validation Test

Test Case Input Expected Result
Dose Range 0.45 mSv/day Valid (0-2 range) -
Alert Level "ORANGE" Valid enum -
Timestamp ISO 8601 Valid format -
Career Limit Age 35, Male 1000 mSv -