-
Notifications
You must be signed in to change notification settings - Fork 0
Crate Index en
EnerOS Bot edited this page Jul 5, 2026
·
1 revision
中文 | English
Maintained version: v0.51.2 | Last updated: 2026-07-06
EnerOS workspace consists of 79 members: 56 library crates + 23 binary crates + 3 SDK/macros/bindings. This page is the complete index, one line of responsibility per entry. For detailed API and module docs see docs/developer-guide.md §3 and each crate's src/lib.rs top-level doc comment.
| crate | path | one-line responsibility | key types |
|---|---|---|---|
| eneros-core | crates/eneros-core | Domain types / config / errors / events / commands |
Config, EnerosError, Command, Event
|
| eneros-linalg | crates/eneros-linalg | Linear algebra (LU/QR/Cholesky decomposition + sparse solve) |
Matrix, SparseMatrix, Solver
|
| eneros-powerflow | crates/eneros-powerflow | Powerflow (Newton-Raphson / Fast-Decoupled / Backward-Forward Sweep / DC) |
PowerflowSolver, PowerflowResult
|
| eneros-topology | crates/eneros-topology | Grid topology graph / search / connectivity analysis |
TopologyGraph, Bus, Branch
|
| eneros-equipment | crates/eneros-equipment | Device model library (transformers / lines / switches / loads / sources) |
Transformer, Line, Switch
|
| eneros-cnpower | crates/eneros-cnpower | Chinese distribution primary device parameters + static compliance checker (17 JSON compile-time embedded) |
CnPowerDataset, ComplianceChecker
|
| eneros-tenant | crates/eneros-tenant | Multi-tenant core (namespace isolation + quotas + SQLite persistence) |
TenantManager, TenantId, Quota
|
| eneros-timeseries | crates/eneros-timeseries | Time-series storage / aggregation / downsampling / anomaly detection |
TimeseriesStore, Aggregation, Anomaly
|
| crate / binary | path | one-line responsibility | key types / binary |
|---|---|---|---|
| eneros-os | crates/eneros-os | OS kernel (agentos / ha / init / security / syslog / timesync / update / devmgr / hal / rt) |
Kernel, Hal, RtSubsystem
|
| eneros-eventbus | crates/eneros-eventbus | Event bus (broker / bus / client / priority_bus) |
EventBus, EventBusClient, PriorityBus
|
| broker | crates/eneros-eventbus/bins/broker | Event bus broker binary | — |
| eneros-init | crates/eneros-os/bins/eneros-init | System init daemon | — |
| eneros-ha | crates/eneros-os/bins/eneros-ha | High availability daemon | — |
| eneros-timesync | crates/eneros-os/bins/eneros-timesync | Time sync daemon (PTP / NTP) | — |
| enerosctl | crates/eneros-os/bins/enerosctl | Management CLI | — |
| eneros-installer | crates/eneros-os/bins/eneros-installer | Installer | — |
| eneros-autoscaler | crates/eneros-os/bins/eneros-autoscaler | Auto-scaler daemon (v0.40.0+) | — |
| eneros-backup | crates/eneros-os/bins/eneros-backup | Backup daemon (v0.40.0+) | — |
| eneros-oncall | crates/eneros-os/bins/eneros-oncall | On-call notification daemon (v0.40.0+) | — |
| eneros-dr-orchestrator | crates/eneros-os/bins/eneros-dr-orchestrator | DR orchestration daemon (v0.41.0+) | — |
| eneros-upgrader | crates/eneros-os/bins/eneros-upgrader | Rolling upgrade daemon (v0.41.0+) | — |
| crate / binary | path | one-line responsibility | key types |
|---|---|---|---|
| eneros-reasoning | crates/eneros-reasoning | Reasoning engine (LLM integration / strategy / feedback) |
LlmClient, ReasoningEngine
|
| eneros-tool | crates/eneros-tool | Tool registry and invocation |
ToolRegistry, Tool
|
| eneros-memory | crates/eneros-memory | Agent memory (file storage / vector retrieval) |
MemoryStore, VectorIndex
|
| eneros-scada | crates/eneros-scada | SCADA data acquisition (IEC 104 / dual scan / snapshot) |
ScadaPipeline, ScanGroup
|
| eneros-device | crates/eneros-device | Device protocol adapters (IEC 104/61850/Modbus/DNP3/GOOSE/SV/OPC UA/MQTT) |
DeviceAdapter, DeviceManager
|
| eneros-constraint | crates/eneros-constraint | Safety constraint engine (N-1 / thermal / voltage limits) |
ConstraintEngine, Violation
|
| eneros-analysis | crates/eneros-analysis | Power analysis (OPF / state estimation / short circuit / transient stability) |
OpfSolver, StateEstimator
|
| eneros-network | crates/eneros-network | Grid network model and simulation pipeline |
NetworkModel, SimulationPipeline
|
| eneros-bridge | crates/eneros-bridge | Python bridge (pandapower / cnpower) | PythonBridge |
| eneros-plugin | crates/eneros-plugin | Plugin framework (manifest / lifecycle / loader / signing / sandbox / IPC) |
Plugin, PluginLoader, PluginSandbox
|
| eneros-simulator | crates/eneros-simulator | Grid simulator (scenario scripts / fault injection) |
Simulator, Scenario
|
| eneros-test-utils | crates/eneros-test-utils | Test utilities (IEEE-14 fixture / mock) |
Ieee14Fixture, MockLlmClient
|
| eneros-twin | crates/eneros-twin | Digital twin (v0.43.0+) | DigitalTwin |
| eneros-graphql | crates/eneros-graphql | GraphQL interface layer | GraphQLSchema |
| eneros-ai | crates/eneros-ai | AI integration layer (OpenAI / Anthropic / Ollama clients + LlmAgent decorator) |
LlmAgent<T>, OllamaClient
|
| eneros-aiops | crates/eneros-aiops | AIOps (alert dedup / topology correlation / SLA escalation) |
AIOpsEngine, AlertCorrelator
|
| eneros-edge | crates/eneros-edge | Edge computing and cloud-edge collaboration (v0.34.0+) |
EdgeNode, CloudEdgeSync
|
| eneros-protocol-iec103 | crates/eneros-protocol-iec103 | IEC 60870-5-103 protocol (v0.35.0+) | Iec103Client |
| eneros-protocol-cdt | crates/eneros-protocol-cdt | CDT cyclic telecontrol protocol (v0.35.0+) | CdtClient |
| eneros-protocol-pmu | crates/eneros-protocol-pmu | PMU C37.118 protocol (v0.35.0+) | PmuClient |
| eneros-protocol-iccp | crates/eneros-protocol-iccp | ICCP / TASE.2 protocol (v0.35.0+) | IccpClient |
| eneros-protocol-mqtt | crates/eneros-protocol-mqtt | MQTT access (v0.45.0+) | MqttClient |
| eneros-protocol-coap | crates/eneros-protocol-coap | CoAP access (v0.45.0+) | CoapClient |
| eneros-protocol-lwm2m | crates/eneros-protocol-lwm2m | LwM2M access (v0.45.0+) | Lwm2mClient |
| eneros-protocol-dlt698 | crates/eneros-protocol-dlt698 | DL/T 698.45 energy meter protocol (v0.47.0+) | Dlt698Client |
| eneros-iot-hub | crates/eneros-iot-hub | IoT Hub (v0.45.0+) | IoTHub |
| eneros-perf | crates/eneros-perf | Performance benchmarking framework | BenchmarkSuite |
| eneros-audit | crates/eneros-audit | WORM audit log + HMAC chain |
RepositoryAuditSink, HmacChain
|
| eneros-slo | crates/eneros-slo | SLO definition and SLI calculation (v0.40.0+) |
Slo, Sli
|
| eneros-ops | crates/eneros-ops | Operations automation (25 endpoints + 3 daemon coordination) |
OpsManager, Runbook
|
| eneros-multiregion | crates/eneros-multiregion | Multi-region high availability (v0.41.0+) |
RegionAwareRouter, CrossRegionReplicator
|
| eneros-emtp | crates/eneros-emtp | Electromagnetic transient EMT solver (v0.51.0+) | EmtpSolver |
| eneros-market | crates/eneros-market | Power market trading |
MarketClient, OrderBook
|
| eneros-market / market-server | crates/eneros-market/bins/market-server | Market matching service | — |
| eneros-ids | crates/eneros-ids | Intrusion detection (behavior baseline / IOC / lockout) (v0.39.0+) |
IdsEngine, ThreatIntel
|
| eneros-compliance | crates/eneros-compliance | Compliance framework (NERC CIP / IEC 62443 / GDPR / PIPL / CCPA) (v0.39.0+) |
ComplianceReport, Control
|
| eneros-trust | crates/eneros-trust | Zero trust (internal CA / mTLS / cert rotation) (v0.39.0+) |
CaManager, MtlsConfig
|
| eneros-3d | crates/eneros-3d | 3D visualization (glTF asset generation) (v0.46.0+) | GltfAsset |
| eneros-report | crates/eneros-report | Report generation (PDF / Excel / Word) (v0.46.0+) | ReportGenerator |
| eneros-nl | crates/eneros-nl | Natural language intent recognition (8 intents) (v0.46.0+) | IntentRecognizer |
| eneros-i18n | crates/eneros-i18n | Internationalization (Fluent i18n) (v0.47.0+) |
I18n, LocaleBundle
|
| plugin-daemon | crates/eneros-plugin/bins/plugin-daemon | Plugin daemon (v0.28.0+) | — |
| crate / binary | path | one-line responsibility | key types / binary |
|---|---|---|---|
| eneros-agent | crates/eneros-agent | Agent orchestration (7 Agent types + scheduling + collaboration + conflict resolution) |
Agent, AgentOrchestrator, ConflictResolver
|
| eneros-gateway | crates/eneros-gateway | Real-time safety gateway (7-stage decision pipeline + executor) |
SafetyGateway, DecisionPipeline
|
| gateway | crates/eneros-gateway/bins/gateway | Real-time safety gateway binary | — |
| dispatch-agent | crates/eneros-agent/bins/dispatch-agent | Dispatch decision Agent | — |
| forecast-agent | crates/eneros-agent/bins/forecast-agent | Load/generation forecast Agent | — |
| operation-agent | crates/eneros-agent/bins/operation-agent | Operation execution Agent | — |
| planning-agent | crates/eneros-agent/bins/planning-agent | Operations planning Agent | — |
| trading-agent | crates/eneros-agent/bins/trading-agent | Power trading Agent | — |
| self-healing-agent | crates/eneros-agent/bins/self-healing-agent | Fault self-healing Agent | — |
| crate | path | one-line responsibility | key types |
|---|---|---|---|
| eneros-api | crates/eneros-api | HTTP/WS API service (REST + WebSocket + static resources) |
ApiServer, Router
|
| eneros-dashboard | crates/eneros-dashboard | Web Dashboard asset generation | DashboardDef |
| crate | path | one-line responsibility |
|---|---|---|
| eneros-sdk | crates/eneros-sdk | Third-party developer SDK, wrapping common types for Agent/protocol/plugin development |
| eneros-plugin-macros | crates/eneros-plugin-macros |
#[eneros_plugin] proc macro, auto-generates C ABI entry functions |
| eneros-sdk/bindings/c | crates/eneros-sdk/bindings/c | C bindings |
| eneros-sdk/bindings/python | crates/eneros-sdk/bindings/python | Python bindings |
| crate | path | one-line responsibility |
|---|---|---|
| eneros-runtime | crates/eneros-runtime | Runtime orchestration (startup order / component assembly) |
- Architecture Overview — 11-layer architecture diagram and per-layer responsibilities
- Layered Dependencies — L0→L3 dependency direction and circular dependency avoidance rules
- Development Workflow — Adding new Agent / protocol / plugin flows
- Main repo docs/developer-guide.md — Full developer guide
EnerOS Wiki | v0.51.2