Skip to content
cccskills
FreePublished on GitHub

state-space-linearization

Linearizing nonlinear dynamics around operating points for control design.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1018 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Redact text from PDF documents for blind review anonymization

The English summary is being prepared. Showing the original description.

agentscope-ai/PawBench118Updated Aug 3, 2026

Use this skill when reading sensor data from CSV files, writing simulation results to CSV, processing time-series data with pandas, or handling missing values in datasets.

The English summary is being prepared. Showing the original description.

agentscope-ai/PawBench118Updated Aug 3, 2026

DC power flow analysis for power systems. Use when computing power flows using DC approximation, building susceptance matrices, calculating line flows and loading percentages, or performing sensitivity analysis on transmission networks.

The English summary is being prepared. Showing the original description.

agentscope-ai/PawBench118Updated Aug 3, 2026

A library for building, validating, visualizing, and serializing dialogue graphs. Use this when parsing scripts or creating branching narrative structures.

The English summary is being prepared. Showing the original description.

agentscope-ai/PawBench118Updated Aug 3, 2026

docx

Free

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of "Word doc", "word document", ".docx", or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a "report", "memo", "letter", "template", or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

The English summary is being prepared. Showing the original description.

agentscope-ai/PawBench118Updated Aug 3, 2026

Generator economic dispatch and cost optimization for power systems. Use when minimizing generation costs, computing optimal generator setpoints, calculating operating margins, or working with generator cost functions.

The English summary is being prepared. Showing the original description.

agentscope-ai/PawBench118Updated Aug 3, 2026

See all skills by agentscope-ai

Report a problem with this skill