Plecs State Space
plecs_state_spaceExtract A/B/C/D/I state-space matrices for a selected switch combination by setting the switch vector and retrieving PLECS topology.
Instructions
Extract A/B/C/D/I for one switch combination.
switches may be a list in StateSpaceOrder.Switches order, or a mapping keyed by
component name ("FET") or full path ("model/FET"). Missing keys default to 0.
Two RPC calls are made for you: set SwitchVector then get Topology.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model_name": "<model_name>"
},
"name": "plecs_state_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| switches | No | ||
| model_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||