Module types

Module types 

Source
Expand description

Common types and traits for device simulation components.

Structs§

DeviceContext
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.