pub struct LinkAccount {
pub room: f64,
/* private fields */
}Expand description
The DC link’s running account of resistor_excess, kept as the stretches come (Tally, where the motor’s room is
known at the run: Controller::dc_link_room). Only the stretches until the link’s fill no longer depends on how full
it entered the cycle are kept: until the pass entered empty and the one entered full meet, which they do the first
time the link empties or fills whatever it held (a hanging axis at rest draws, so empties it at once). After that one
fill stands for every entry, and what it spills and the most it holds are summed as they come. At most the stretches
up to that point, so on a run at rest with noisy power the list stays at the few stretches before the link first
emptied, where before it grew by one per sign change of the power (about 90 per cycle). Same figures as the two passes
over the whole list, to rounding (the spills are summed in another order).
A link that neither empties nor fills (what is fed back and drawn stays within less than its room for the whole run)
never lets the passes meet. Past LINK_PREFIX_CAP stretches the account keeps, instead of them, LINK_GRID passes
entered at fills spread evenly over the voltage window, 0 to the room, and reads the cycle’s figures between the two
next to its entry: fill, spill and most are each at most 1:1 in the entry fill (what one enters with more is spilled,
drawn less or held), so the figures are off by at most half the grid’s step, room / (2 (LINK_GRID − 1)).
Fields§
§room: f64The room it was kept for, J.
Implementations§
Trait Implementations§
Source§impl Clone for LinkAccount
impl Clone for LinkAccount
Source§fn clone(&self) -> LinkAccount
fn clone(&self) -> LinkAccount
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LinkAccount
impl Debug for LinkAccount
Source§impl Default for LinkAccount
impl Default for LinkAccount
Source§fn default() -> LinkAccount
fn default() -> LinkAccount
Source§impl PartialEq for LinkAccount
impl PartialEq for LinkAccount
Source§fn eq(&self, other: &LinkAccount) -> bool
fn eq(&self, other: &LinkAccount) -> bool
self and other values to be equal, and is used by ==.