PendulumRodBeta

PendulumRodBeta(m, L, damping=0.0, forcing=None)

Properties of one rod in a :class:MultiPendulumBeta chain.

Parameters

m : float

Bob mass (kg or dimensionless). Must be > 0.

L : float

Rod length (m or dimensionless). Must be > 0.

damping : float = 0.0

Linear joint-damping coefficient applied to this rod. Must be >= 0.

forcing : object = None

Optional external torque term for this rod. May be a constant, callable, or cc.Forcing-like object with get_forcing.

Notes

forcing is resolved at runtime using the same contract as :class:CCModel parameters, so constants, lambda t: ... callables, lambda t, state: ... callables, and forcing objects are all accepted.