1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Grid Operations Simulator.
//!
//! This module provides two simulation paradigms for grid operations:
//!
//! 1. **Legacy discrete-event operator-focused simulator** (`GridOpsSimulator`) —
//! models operator skill, automation level, contingency rates, and workload
//! metrics over multi-hour/year horizons.
//!
//! 2. **Event-driven quasi-dynamic simulator** (`GridOperationsSimulator`) —
//! physics-based, timestep-accurate simulation with swing-equation frequency
//! dynamics, AGC, UFLS, DC branch flows, and storage SoC tracking.
//!
//! # Quick Start (legacy)
//!
//! ```rust
//! use oxigrid::simulation::grid_ops::{GridOpsConfig, GridOpsSimulator};
//!
//! let config = GridOpsConfig {
//! simulation_hours: 24,
//! dt_minutes: 5.0,
//! operator_skill: 0.85,
//! automation_level: 0.7,
//! contingency_probability: 0.02,
//! weather_events: false,
//! };
//! let sim = GridOpsSimulator::new(config, 1000.0, 800.0);
//! let result = sim.simulate().expect("simulation failed");
//! assert!(result.system_reliability_pct > 90.0);
//! ```
// Re-export all types
pub use *;
pub use *;