Can Voltage dependent capacitance be modeled in Simscape?
4 views (last 30 days)
Show older comments
Can a voltage dependent capacitance be represented directly using capacitor or any other in built block in Simscape model? Or it has to be modelled in terms of equations using Simulink ?
0 Comments
Answers (1)
Vasco Lenzi
on 3 Aug 2020
Edited: Vasco Lenzi
on 5 Dec 2022
Hi Amruta
If you have Simscape Electrical, you can use the Variable Capacitor that accepts C as a Simscape Physical Signal.
You can measure voltage over the capacitor and apply some transformation/lookup table to feed in into the C signal:
edit: changed image with one that would simulate. Please remember to adjust the Units in the PS Look-up table block!
Please stay within "Simscape World" and use Simscape Physical Signals (brown Simulink-like blocks) to deal with Physical Signals insad of going into Simulink. This will make the simulation more stable.
If you don't have Simscape Electrical, you can build your own Simscape based component block using Simscape Language:
5 Comments
Ali Zahid
on 5 Dec 2022
I figured out that i need to add an electrical reference and then a solver configuration to the block diagram and then it works.
Thank you for the help
Vasco Lenzi
on 5 Dec 2022
Edited: Vasco Lenzi
on 5 Dec 2022
you are right, the first screenshot was just a sketch to illustrate the concept but would not simulate. I'm editing and adding a better model image for context.
See Also
Categories
Find more on Choose and Parameterize Blocks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!