Simulation Overview
The access911 simulation engine generates realistic emergency scenarios to test system performance, train operators, and validate response procedures. The engine supports multiple disaster types and can generate thousands of emergency calls with realistic metadata.Supported Scenarios
Los Angeles Wildfire
Simulates wildfire emergency conditions in Los Angeles County:- Areas: Pacific Palisades, Malibu, Topanga, Brentwood, Santa Monica Mountains
- Emergency Types: Structure fires, evacuation assistance, trapped persons, medical emergencies, shelter information
- Severity Levels: Critical, High, Moderate
Nashville Tornado Outbreak
Simulates tornado emergency conditions in Nashville:- Areas: Downtown Nashville, East Nashville, Germantown, The Gulch, Music Row
- Emergency Types: Building damage, trapped persons, debris injuries, power lines down, gas leaks, vehicle accidents, shelter needed
- Severity Levels: Critical, High, Moderate
San Francisco Earthquake
Simulates earthquake emergency conditions in San Francisco:- Areas: Marina District, Mission District, Financial District
- Emergency Types: Building collapse, gas leaks, trapped persons, medical injuries
- Severity Levels: Critical, High, Moderate
Florida Hurricane
Simulates hurricane emergency conditions in Florida:- Areas: Miami Beach, Fort Lauderdale, West Palm Beach
- Emergency Types: Flooding, wind damage, power outages, evacuation needed
- Severity Levels: Critical, High, Moderate
Simulation Features
AI-Powered Generation
For small batches (≤20 calls), the simulation uses AWS Bedrock AI to generate human-like call summaries:Template-Based Generation
For large batches (>20 calls), the simulation uses templates for high throughput:Unique Location Generation
The simulation ensures each call has a unique location to avoid duplicates:API Usage
Generate Emergency Calls
Response Format
Available Scenarios
| Scenario ID | Name | Description |
|---|---|---|
la_wildfire | Los Angeles Wildfire | Wildfire emergency simulation |
nashville_tornado | Nashville Tornado | Tornado outbreak simulation |
earthquake_sf | San Francisco Earthquake | Earthquake emergency simulation |
hurricane_florida | Florida Hurricane | Hurricane emergency simulation |
Load Balancing and Performance
Automatic Scaling
The simulation engine automatically adjusts generation methods based on call volume:- ≤20 calls: Uses AWS Bedrock AI for high-quality, varied summaries
- >20 calls: Uses templates for fast, high-throughput generation
Performance Metrics
| Call Volume | Generation Method | Approximate Time | Quality |
|---|---|---|---|
| 1-20 calls | AI-powered | 2-5 seconds | High |
| 21-100 calls | Template-based | 1-3 seconds | Good |
| 100+ calls | Template-based | 3-10 seconds | Good |
Concurrency Handling
The simulation engine handles concurrent requests efficiently:Call Data Structure
Each generated emergency call includes:Dashboard Integration
The simulation engine integrates seamlessly with the dashboard:- Real-time Updates: Generated calls appear immediately on the map
- Live Visualization: Watch calls appear with animated pins
- Status Tracking: Monitor call processing in real-time
- History Storage: All simulated calls are stored for analysis
Best Practices
Testing Scenarios
Start Small
Start Small
Begin with 10-20 calls to test system responsiveness before scaling up.
Monitor Performance
Monitor Performance
Watch system performance metrics during large simulations.
Data Management
Data Management
Regularly clean up old simulation data to maintain performance.
Training Use Cases
- Operator Training: Use simulations to train new emergency operators
- System Testing: Validate system performance under load
- Procedure Validation: Test emergency response procedures
- Capacity Planning: Understand system limits and scaling needs
Error Handling
The simulation engine includes comprehensive error handling:Monitoring and Analytics
Track simulation performance with built-in metrics:- Success Rate: Percentage of successfully generated calls
- Generation Time: Time taken to generate all calls
- Error Rate: Number of failed call generations
- System Load: Resource utilization during simulation
Production Use: The simulation engine is designed for testing and training. For production emergency response, ensure proper integration with your existing 911 systems.