Expand description
Common types and traits for device simulation components.
Structs§
- Device
Context - Contextual information passed to devices during power calculations. Includes the current timestep and optional setpoints for controllable devices.
Traits§
- Device
- Trait defining a device that can produce or consume electricity.
Functions§
- gaussian_
noise - Utility function to generate Gaussian noise using Box-Muller transform.