State Space Linearization
Linearizing nonlinear dynamics around operating points for control design.
Install
npx skills add UCSB-NLP-Chang/Skill-Usage --skill state-space-linearizationgit clone --depth 1 https://github.com/UCSB-NLP-Chang/Skill-Usage.git /tmp/Skill-Usage
mkdir -p ~/.claude/skills
cp -r /tmp/Skill-Usage/tasks/r2r-mpc-control/environment/skills/state-space-linearization ~/.claude/skills/state-space-linearizationPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 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):
```python
A_d = I + dt * A_c
B_d = dt * B_c
```
**Matrix exponential** (exact for LTI):
```python
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:
```python
∂(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 analysisDetails
- Skill name
state-space-linearization- Repository
- UCSB-NLP-Chang/Skill-Usage
- Path
tasks/r2r-mpc-control/environment/skills/state-space-linearization/SKILL.md- Repo updated
- 8 April 2026
FAQ
What does the State Space Linearization skill do?
Linearizing nonlinear dynamics around operating points for control design.
How do I install the State Space Linearization skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add UCSB-NLP-Chang/Skill-Usage --skill state-space-linearization. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is State Space Linearization popular?
It lives in UCSB-NLP-Chang/Skill-Usage, which has 49 GitHub stars and 5 forks.
Related skills
Pubchem Database
49UCSB-NLP-Chang/Skill-Usage
Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). Search by name/CID/SMILES, retrieve properties, similarity/substructure searches, bioactivity, for cheminformatics.
Pymatgen
49UCSB-NLP-Chang/Skill-Usage
Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.
Rdkit
49UCSB-NLP-Chang/Skill-Usage
Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom sanitization, specialized algorithms.
Suricata Offline Evejson
49UCSB-NLP-Chang/Skill-Usage
Running Suricata against PCAPs offline and validating results via eve.json
Simulation Metrics
49UCSB-NLP-Chang/Skill-Usage
Use this skill when calculating control system performance metrics such as rise time, overshoot percentage, steady-state error, or settling time for evaluating simulation results.
Suricata Rules Basics
49UCSB-NLP-Chang/Skill-Usage
Core building blocks of Suricata signatures and multi-condition DPI logic
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.