Feature request: Built-in simulation type indicator
Could you add a built-in variable or function indicating the current simulation type?
For example, SiTp (Simulation Type), with short values identifying .tran, .ac, .noise, .dc, .op, etc.
This would allow conditional expressions such as:
if(SiTp==1, value1, value2)
A short identifier is preferable, as it would frequently appear in behavioral expressions and conditionals.
The simulator already knows which analysis is being performed, so exposing this information should be straightforward and virtually cost-free, while offering significant benefits to users.
Thank you!
Best regards
Robert
By the way, I couldn't find a "feature-request" tag. Would it be useful to have one?
Edit Notes
Again, added feature request tag, but succeeded[edited by: MStokowski at 6:49 PM (GMT -4) on 12 Oct 2026]