Friday, 15 February 2013

The development of the Modeling stage 1



Today, we used the Matlab-Simulink Gui Environment to build the first part of the model. The first modeling stage is used to simulate the output voltage and current of one single solar cell. This part is masked as one of subsystems of the last stage. The first stage was built successfully and the Simulink circuit is shown below.





For the Equation1 block and the Effect of Temperature & Solar Irradiation block, we also had two methods to build this part: One is to use Matlab Fun block to build this part and the other method is to use the math operation model in the Simulink to build the output voltage equation and the equation for the effect of the temperature and solar irradiation.

The code by using the first method is shown below:





The connection by using the second method is displayed:







Then this afternoon, we met with our supervisor Dr Tang to discuss about these two methods. We want to find which method is better. Mr. Tang advised us to use the Matlab function block to build this part because there is less component used in the method and this will occupy less CPU space and thus the processing speed can be improved. After the meeting, we tested these two circuits and it was observed that the first design circuit has high performance and faster processing speed. Thus we adopted the first method to develop this part.

No comments:

Post a Comment