Skip to content

Conversation

@Pedroobraga
Copy link

Added Slew Rate Limiter example to the Custom Function for Controlled Sources page.
If anyone has any feedback on how to improve the custom function syntax, I'd appreciate it.
Here is the current iteration: (abs(((a-lastoutput)/timestep))<b) ? a : (lastoutput+timestepbselect(a,-1,1))
A being the supply voltage, and B being max rate.
It is quite hard to read, and because of that I'm not even sure it belongs on this page, but I want to see what you guys have to say about it.

Added Slew Rate Limiter example.
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