Check the output is less than a limit for a period of time

2 views (last 30 days)
Hello everybody.
I am simulating the operating state of a grid connected solar inverter. I have the output of a solar cell as shown, how can I check that output is less than a limit for a period of time? This can help me simulate the switching of the solar inverter's operating state. Please help me, thank you very much!

Answers (1)

Constantino Carlos Reyes-Aldasoro
This is a simple case of a comparision function < threshold
  2 Comments
Constantino Carlos Reyes-Aldasoro
this depends on your settings, the yellow line that you are showing must be saved in a variable, and the "less than a limit" will be set up by you, then you can compare and then measure how long (how many time points) it is below the level.
For more help, you need to try something, and then post the code of what you have done and what you are not able to solve.

Sign in to comment.

Categories

Find more on Solar Power in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!