Check the output is less than a limit for a period of time
1 回表示 (過去 30 日間)
古いコメントを表示
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1399044/image.jpeg)
0 件のコメント
回答 (1 件)
Constantino Carlos Reyes-Aldasoro
2023 年 5 月 31 日
This is a simple case of a comparision function < threshold
2 件のコメント
Constantino Carlos Reyes-Aldasoro
2023 年 5 月 31 日
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.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!