pub struct Overload {
pub rated_current: f64,
pub base_current: f64,
pub max_current: f64,
pub time_constant: f64,
pub trip: f64,
pub chip_share: f64,
pub chip_time_constant: f64,
}Expand description
effects.drive_overload: the drive’s thermal image (i^2 t) of its power unit in two nodes, as the SINAMICS power units
model a slow heat sink and the fast chips on it: x = x_s + x_c with x_s’ = ((1 - w) q - x_s) / tau and
x_c’ = (w q - x_c) / tau_c, q = (i / I_rated)^2, w the chips’ share of the rise (chip_share). x is 1 at the rated
current held. At the trip level the drive lowers its current limit to the base load current, and holds it there until
the image is back at 1. The trip level follows from the time the drive gives its maximum current from the rated load:
trip = r^2 - (r^2 - 1) ((1 - w) exp(-t_max / tau) + w exp(-t_max / tau_c)) for r = I_max / I_rated. With w = 0 the
one node of 14 November 2026.
Fields§
§rated_current: f64§base_current: f64§max_current: f64§time_constant: f64§trip: f64§chip_time_constant: f64Implementations§
Source§impl Overload
impl Overload
Sourcepub fn from_config(cfg: &Config) -> Result<Option<Self>, ConfigError>
pub fn from_config(cfg: &Config) -> Result<Option<Self>, ConfigError>
With effects.drive_overload on (off where the config has no switch), from the [ratings].
Sourcepub fn nodes_after(
&self,
[slow, chip]: [f64; 2],
current: f64,
dt: f64,
) -> [f64; 2]
pub fn nodes_after( &self, [slow, chip]: [f64; 2], current: f64, dt: f64, ) -> [f64; 2]
The nodes [slow, chips] after dt at a constant current, exactly.
Sourcepub fn node_time_constant(&self, node: usize) -> f64
pub fn node_time_constant(&self, node: usize) -> f64
The time constant of node 0 (the slow one) or 1 (the chips).