Back to list
benchflow-ai

state-space-linearization

by benchflow-ai

SkillsBench evaluates how well skills work and how effective agents are at using them

251🍴 170📅 Jan 23, 2026

SKILL.md


name: state-space-linearization description: Linearizing nonlinear dynamics around operating points for control design.

State-Space Linearization

Jacobian Computation

For nonlinear dynamics dx/dt = f(x, u), linearize around (x_ref, u_ref):

A = ∂f/∂x |_{x_ref}  (n×n matrix)
B = ∂f/∂u |_{x_ref}  (n×m matrix)

Discretization

For discrete-time control with timestep dt:

Euler method (simple, first-order accurate):

A_d = I + dt * A_c
B_d = dt * B_c

Matrix exponential (exact for LTI):

A_d = expm(A_c * dt)
B_d = inv(A_c) @ (A_d - I) @ B_c

For R2R Systems

The Jacobian depends on current tensions and velocities. Key partial derivatives:

∂(dT_i/dt)/∂T_i = -v_i / L
∂(dT_i/dt)/∂v_i = EA/L - T_i/L
∂(dv_i/dt)/∂T_i = -R²/J
∂(dv_i/dt)/∂u_i = R/J

Tips

  • Linearize around the reference operating point
  • Update linearization if operating point changes significantly
  • Check stability via eigenvalue analysis

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

+5
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

0/5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon