Plecs Analyze
plecs_analyzeRun a named PLECS analysis on a model to obtain AC, impulse, or steady-state response data. Enable summary to get magnitude/phase ranges, gain crossover, and phase margin.
Instructions
Run an analysis (blocking).
analysis_name is the analysis NAME property (e.g. "Loop Gain (AC Sweep)"), not the
tree node label ("AC Sweep"). AC/Impulse/Multitone return {F, Gr, Gi};
Steady-State returns {Time, Values}. summary=true replaces raw arrays with
magnitude/phase ranges plus gain crossover and phase margin.
SolverOpts.Timeout is injected (verified: AnalysisOpts.Timeout is rejected).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| save_to | No | ||
| summary | No | ||
| timeout | No | ||
| overwrite | No | ||
| max_points | No | ||
| model_name | Yes | ||
| analysis_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||