What are Ts_Control and Ts_Power variables?
10 views (last 30 days)
Show older comments
Parth Kharade
on 18 Sep 2018
Answered: Sambit Senapati
on 21 Sep 2018
I was looking at a MATLAB code for an MPPT boost converter and encountered these two variables. They have not been used anywhere the main code but are listed in the workspace. The code doesn't work without these two variables. What exactly are these variables and what is their use/significance?
0 Comments
Accepted Answer
Sambit Senapati
on 21 Sep 2018
From the variable names, Ts_Control would be the sampling time of the MPPT control block and Ts_Power would be the sampling time for other electrical blocks like MOSFET and PWM generator. To see all the sampling time in a given model, go to Display>SampleTime>Colors. This will display different sample time in the model and categorise all the blocks having same sampling time with unique color. For more information to view sample time refer to this link. And to know more on how to specify sample time in a model refer to this link .
0 Comments
More Answers (0)
Communities
More Answers in the Power Electronics Control
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!