Voltage measurement for simscape model

3 views (last 30 days)
Ibrahim Ben Mrad
Ibrahim Ben Mrad on 15 May 2022
Edited: Ibrahim Ben Mrad on 23 May 2022
solved

Answers (1)

David John
David John on 23 May 2022
If I understand correctly, you want to know the voltage at port 2 on each of these subsystems wth respect to ground. You can use the variable v inside each of the capacitors to ground. Consider using the simlog (https://www.mathworks.com/help/physmod/simscape/ug/log-and-plot-simulation-data.html) to store the data, and then get v for those capacitors from the simlog.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!