What are Ts_Control and Ts_Power variables?

17 views (last 30 days)
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?

Accepted Answer

Sambit Senapati
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 .

More Answers (0)

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Electrical Block Libraries in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!