Simulation time on Simulink

Hi people... For exemplo, if my simulation time in simulink is 10, this represents 10 realy seconds?

 채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 10월 3일

0 개 추천

You set the start and stop time of your simulation model. If you set the start time to be 0, and the stop time to be 10 and then click the "Start Simulation" button. It might take just 0.1 second to finish the simulation, or it might take 1 hour. It depends on how complex the model is, what is your simulation solver setting and what is your computer CPU power, etc. The Simulink software just generates the clock from 0 to 10 seconds and calculates every bit of data needed at every time step that you set up.

댓글 수: 6

Nuno
Nuno 2011년 10월 3일
Yes, this i know...
But imagine, that in realy life i have a machine and i like to simulate this charger on Simulink battery per day... This is possible? What the simulation time that represents one day?
Fangjun Jiang
Fangjun Jiang 2011년 10월 3일
I am not clear what do you mean. If you have a mathematical model of your battery which changes as time goes, then a day has 24*3600 seconds.
Nuno
Nuno 2011년 10월 3일
I have a photovoltaic module... The module produce current per day... To simulate a day i need simulate 24*3600?
Fangjun Jiang
Fangjun Jiang 2011년 10월 3일
It depends on your model in Simulink. If the model is constructed to describe the behavior per hour, then you just need to set the stop time to be 24. It is simulating a discrete event, one per hour. If the model is based on minute, then 24*60. You have to have the understanding of your model.
Nuno
Nuno 2011년 10월 3일
The model is constructed to describe the behavior per day... The baterry is charged by the solar radiation... The solar radiation are constant... Soo, is 86400 sure? 24*3600?
Fangjun Jiang
Fangjun Jiang 2011년 10월 3일
I don't know the details but I can't imagine the model is described "per day". If you are talking about charging a battery using solar power, I would think it needs to be modeled per hour at least. The radiation is different in the morning, noon, afternoon and night, right? Unless you are analyzing the solar energy year-around and you are only interested in the solar energy in summer days or winter days. Again, you need to dig deep in your model. This question is better to ask yourself or seek help from whoever knows your model.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Solar Power에 대해 자세히 알아보기

제품

태그

질문:

2011년 10월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by