Skip to content

.MEAS + documentation update#177

Merged
marcin-golebiowski merged 9 commits intomainfrom
new_feature
Mar 7, 2026
Merged

.MEAS + documentation update#177
marcin-golebiowski merged 9 commits intomainfrom
new_feature

Conversation

@marcin-golebiowski
Copy link
Member

No description provided.

- Introduced articles for various SPICE statements including:
  - .NOISE: Noise analysis syntax and examples
  - .OP: DC operating point analysis details
  - .OPTIONS: Simulator options for accuracy and behavior
  - .PARAM: Definition of named parameters for expressions
  - .PLOT: Capturing signals for XY plots during simulation
  - .PRINT: Specifying signals to print as tabular data
  - .SAVE: Saving signals during simulation
  - .SPARAM: Defining scalar parameters with immediate evaluation
  - .ST: Parameter sweep statement for PSpice compatibility
  - .STEP: Parameter sweep statement with various sweep types
  - .SUBCKT: Definition of reusable subcircuit blocks
  - .TEMP: Specifying simulation temperatures
  - .TRAN: Transient analysis statement
  - .V: Independent voltage source with various waveform types
  - .S: Voltage switch with model parameters
  - .G: Voltage-controlled current source (VCCS)
  - .E: Voltage-controlled voltage source (VCVS)
  - .T: Lossless transmission line model

- Updated table of contents to include new articles
- Enhanced index page with links to articles and categories
- Introduced `SimulationExtensions` class with an `Execute` method to streamline simulation execution and event invocation.
- Updated documentation in `intro.md` and `meas.md` to utilize the new `Execute` method, simplifying the simulation workflow.
- Enhanced integration tests for subcircuits, voltage-controlled sources, and VSwitch components by adding measurement assertions for current and voltage.
- Updated DC, transient, and parameter tests to include measurement assertions for maximum values.
- Improved waveform tests for AM and SFFM by incorporating measurement assertions for maximum voltage.
- Ensured consistency across all test cases by implementing the same measurement assertion pattern.
- Improved simulation filtering in MeasControl to handle unknown analysis types and added error handling for missing signals.
- Updated DC measurement to return zero if no sweep values are available.
- Changed measurement result retrieval to prioritize the latest result for simulations.
- Added validation for missing parameters in measurement definitions.
- Refactored MeasurementEvaluator to handle TrigTarg measurements inline and improved derivative calculations for better accuracy.
- Ensured that edge qualifiers are parsed correctly and added checks for missing parameters in various measurement types.
@marcin-golebiowski marcin-golebiowski merged commit 4546d13 into main Mar 7, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant