MATLAB Answers

What are Ts_Control and Ts_Power variables?

19 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?

  0 Comments

Sign in to comment.

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 .

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.