Check the output is less than a limit for a period of time
2 次查看(过去 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!
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!