pub struct Eval {Show 27 fields
pub r: [f64; 2],
pub w: [f64; 2],
pub v: [f64; 2],
pub j: [f64; 2],
pub y: f64,
pub vy: f64,
pub wd: f64,
pub t: [f64; 2],
pub spring: [f64; 2],
pub strain: [f64; 2],
pub length: [f64; 2],
pub material: [f64; 2],
pub material_rate: [f64; 2],
pub flow: [f64; 3],
pub acc: [f64; 2],
pub ydd: f64,
pub wdd: f64,
pub shaft: [f64; 2],
pub drag: [f64; 2],
pub brake_rate: [f64; 2],
pub factor: [f64; 2],
pub gear_input: [f64; 2],
pub slide: f64,
pub roller: f64,
pub stop: [f64; 3],
pub cylinder: f64,
pub load: f64,
}Expand description
What Winder::eval works out of a state: kinematics, the web’s tensions, the rates and the forces.
Fields§
§r: [f64; 2]Radii, roll speeds (rad/s), surface speeds and inertias at the rolls (web, core, rotor through the ratio), unwind first.
w: [f64; 2]§v: [f64; 2]§j: [f64; 2]§y: f64The dancer’s travel down from the middle, its speed, and its roller’s speed (rad/s).
vy: f64§wd: f64§t: [f64; 2]The spans’ tensions (unwind to dancer, dancer to rewind), the spring’s share of them, their strains, their lengths, the web they hold and its rate (the elastic model; the rigid one has the tensions alone).
spring: [f64; 2]§strain: [f64; 2]§length: [f64; 2]§material: [f64; 2]§material_rate: [f64; 2]§flow: [f64; 3]The web crossing into span 1 from the unwind, from span 1 to span 2 over the roller, and out of span 2 onto the rewind, m/s unstretched (the elastic model).
acc: [f64; 2]The rolls’ angular accelerations, the dancer’s and its roller’s.
ydd: f64§wdd: f64§shaft: [f64; 2]Shaft friction, holding brake and the gearbox’s drag at each motor (N m, opposing its speed), the drag alone, the rate of each brake’s deflection, the dancer slide’s friction (N) and its roller’s (N m).
drag: [f64; 2]§brake_rate: [f64; 2]§factor: [f64; 2]Each gearbox’s factor on what it passes (Winder::loss_factor) and the torque at its input, N m.
gear_input: [f64; 2]§slide: f64§roller: f64§stop: [f64; 3]The stops’ force on the dancer (N, along y), their stored energy and their loss.
cylinder: f64The cylinder’s force setpoint and its force at the dancer’s travel (less the air spring’s k y).
load: f64