How gmlc-tdc/helics works
Main Components
a. Core Layer:
• Core Federation Management (/src/helics/core)
• Time Coordination System
• Message Routing Infrastructure
• Broker System
b. Network Layer (/src/helics/network):
• Multiple Transport Protocols:
• ZMQ
• TCP
• UDP
• MPI
• IPC
• Inproc
c. Application API Layer (/src/helics/application_api):
• Value Federate Interface
• Message Federate Interface
• Filter Interface
• Translator Interface
d. Language Bindings Layer:
• C/C++ Core
• Python
• Java
• Julia
• MATLAB/Octave
• Others (C#, nim)
Key Relationships
a. Hierarchical Structure:
Core Broker
• Sub-brokers
• Federates
b. Data Flow Paths:
• Publication/Subscription channels
• Message endpoints
• Filter chains
• Translation paths
┌─────────────────────────────────────────────┐
• Applications Layer │
• (External Simulators/Tools using HELICS) │
• ┤
• Language Bindings Layer │
• (Python, Java, Julia, MATLAB, etc.) │
• ┤
• Application API Layer │
• (Value/Message Federates, Filters, etc.) │
• ┤
• Core Layer │
• (Broker, Time Coordination, Messaging) │
• ┤
• Network Layer │
• (ZMQ, TCP, UDP, MPI, IPC, Inproc) │
• ┘
Important Details
a. Time Management:
• Synchronization paths
• Timing coordinators
• Dependency relationships
b. Message Routing:
• Publication/subscription paths
• Direct endpoint connections
• Filter chains
c. Configuration:
• JSON/TOML configuration inputs
• Command line interfaces
• Environment variable settings
Specific HELICS Features to Highlight
• Broker hierarchies
• Time synchronization mechanisms
• Value and message interfaces
• Filter and translator operations
• Core types and federates
• Logging and query systems