Understanding Phasors by HadeedAhmedSher on Scribd
The following circuit is used to plot the power vs the load resistance curve.
The PSPICE script is as follows.
The PSPICE script is as follows.
MPTT grapghThe resultant plot as a function of RL is shown below.
V1 1 0 DC 10
Rt 1 2 20
Vx 2 3 DC 0
RL 3 0 RMOD 1
.MODEL RMOD RES(R=1)
.STEP RES RMOD(R) 1, 100, 1
.DC V1 20 20 1
.PRINT DC V(1,2) I(RL)
.probe
.end
Week6 by HadeedAhmedSher on Scribd
Week4 by HadeedAhmedSher on Scribd
Week2 by
EE-211| Week1- FEE GIKI
Solar PV cells are the smallest unit in a PV panel. These are low power output units and hence in order to produce a reasonable output from them, several cells are connected in series and parallel configurations. In a series and parallel configuration, we use to add a bypass diode that prevents the sinking of a group of cells in case of shading. This blocking diode is always connected across a group of cells because of two reasons. First, no ideal diode exists which means that diodes need to overcome a potential difference to work. Secondly, in a single cell, it is very difficult to forward bias the diode because of very low output voltage levels.
In this blog, i simulated the lectures of Prof. L Umanand about the design of PV systems. This is to facilitate the fellows who are not working on Linux.
Figure 1 shows the schematic. Figure 2 shows the results under uniform irradiation conditions and figure 3 shows the results for partial shading across module 1.
Figure 1 : Schematic. PV module consists of 5 X 2 cells |
Figure 2: Under uniform irradiance condition |
Figure 3 : Partial shading on three cells of module 1. |
Figure 4. Code for PSPICE |
***************************************************************************
cell to module
Ip11 0 1 DC 1 ;Cell 1 module 1
Rsh11 0 1 100000
Rs11 1 2 0.1
D11 1 0 Def
Ip12 2 3 DC 1 ;Cell 2 Module 1
Rsh12 2 3 100000
Rs12 3 4 0.1
D12 3 2 Def
Ip13 4 5 DC 0.7 ;Cell 3 Module 1
Rsh13 4 5 100000
Rs13 5 6 0.1
D13 5 4 Def
Ip14 6 7 DC 0.7 ;Cell 4 Module 1
Rsh14 6 7 100000
Rs14 7 8 0.1
D14 7 6 Def
Ip15 8 9 DC 0.7 ;Cell 5 Module 1
Rsh15 8 9 100000
Rs15 9 20 0.1
D15 9 8 Def
Ip21 20 10 DC 1 ;Cell 1 Module 2
Rsh21 20 10 100000
Rs21 10 11 0.1
D21 10 20 Def
Ip22 11 12 DC 1 ;Cell 2 Module 2
Rsh22 11 12 100000
Rs22 12 13 0.1
D22 12 11 Def
Ip23 13 14 DC 1 ;Cell 3 Module 2
Rsh23 13 14 100000
Rs23 14 15 0.1
D23 14 13 Def
Ip24 15 16 DC 1 ;Cell 4 Module 2
Rsh24 15 16 100000
Rs24 16 17 0.1
D24 16 15 Def
Ip25 17 18 DC 1 ;Cell 5 Module 2
Rsh25 17 18 100000
Rs25 18 19 0.1
D25 18 17 Def
Vx 19 21 DC 0 ; Combined output current measurement
Vo 21 0 SIN(0 8.5 50 0 0 0) ;To sweep the output
Dbp 0 20 Def ; bypass didoe
.model Def D
.tran 0.01m 4.5m
.Probe
.end
*****************************************************************************
In PSPICE plotting is not based on programming like that in MATLAB. In fact, the plotting is based on the set of variables that can be selected for x and y axis. The problem, however, is that if you want to plot two curves with different ranges of x axis variables. I spent quite a time on solving this issue. Although I did not reach where I wanted to land, however, i found one solution but first, let me introduce you to the circuit i wanted to simulate.
The figure above shows two PV cells connected in series with each other. The combined output is taken from the node 3 and 5. I want to draw the I-V curves of both the cells as well as their combined output. However, in order to do so if I select the x axis as the voltage V3 the I-V curve for the individual cells is compromised and if I select the x axis as V3-V1 then the I-V curve of combined cells is compromised. To solve this I selected two plots and unsynchronized their x axis as shown in the figure below. To unsyncronize the x axis click on plot > unsynchronize x axis.
The next challenge is to plot them on one plot.
The figure above shows two PV cells connected in series with each other. The combined output is taken from the node 3 and 5. I want to draw the I-V curves of both the cells as well as their combined output. However, in order to do so if I select the x axis as the voltage V3 the I-V curve for the individual cells is compromised and if I select the x axis as V3-V1 then the I-V curve of combined cells is compromised. To solve this I selected two plots and unsynchronized their x axis as shown in the figure below. To unsyncronize the x axis click on plot > unsynchronize x axis.
The next challenge is to plot them on one plot.
PSPICE probe window works with a black background as a default colour and it does not allow the user to choose the background colour. However, in order to change these colours, one has to edit the file name "PSPICEEV". This file is not located in PSPICE folder rather it is located in the windows folder. So here is how you can change the background colour in PSPICE probe window.
- Search for PSPICEEV.ini file in windows folder. [Save a backup]
- Right click on it and open it in PSPICE. [I tried editing it in notepad but saving it gave me errors.
- Search for background and foreground and swap their values. (Black to white and white to black]
- Save the file.
- Run the simulation
Shunt and series resistance are important to model a realistic PV module. These resistances demonstrate the non-idealities in a PV module. The series resistance Rs defines the resistance of the material that collects the charge from the PV module. This resistance is small and ideal value is zero. The shunt resistance Rsh defines the defects in the semiconductor and the electron-hole recombination before it reaches the output. The value of this resistance is very high and ideally, it is infinity.
On a current-voltage curve, the shunt resistance lies on a slope near Isc and series resistance on the slope near Voc. To elaborate this further, consider that the series resistance is zero and therefore, the voltage V=Vsh.
On a current-voltage curve, the shunt resistance lies on a slope near Isc and series resistance on the slope near Voc. To elaborate this further, consider that the series resistance is zero and therefore, the voltage V=Vsh.
As the voltage increases the current through the shunt resistance increases and output current decreases until the Voc is reached. This is governed using the equation
I=Ip-(V/Rsh)
The value of Rsh is located near the Isc and Rs is near the Voc and can be calculated as follows
Rsh=1/slope
Rs=1/slope
The slope is based on few samples from the curve. For example, consider three arbitrary values of Voc and corresponding current
0A 51.8V, 1.2A 50V, 1.75A 49 V
Enter these two values in two columns in MS EXCEL and use =SLOPE(G12:G14, H12:H14)
The G12, G14 and H12 and H14 correspond to the cell address where the values are entered. The result for the above mentioned arbitrary value is 0.6299 and hence Rs=1.58 ohm. Similarly, the value of Rsh can be calculated.
Every PV module has a datasheet that provides important information about its performance under various conditions. The datasheet is a detailed and comprehensive version of the nameplate which is usually affixed on the back side of the module. In this blog, a datasheet is annotated for a detailed explanation of the datasheet.
Well, if you have seen Ohm's Law in form j=(sigma) E, where sigma is conductivity, try setting it infinite (for an ideal inductor). You will see that for finite j, E=0. Why doesn't j go to infinity? Well, j is proportional to drift velocity. That can't really go to infinity now, can it? There's a theoretical to limit even if you get into deep waters of real superconductors. You may think it may become still fairly large because lower resistance actually should strike as less number of collisions. It turns out that even then the velocities are much smaller than c.
Answer by Manish K. as a reply to a comment on https://www.youtube.com/watch?v=PMTOVRyPLOI
Answer by Manish K. as a reply to a comment on https://www.youtube.com/watch?v=PMTOVRyPLOI
Lecture # 12 ELEN by PhD EE on Scribd
A good presentation is essential to grab the audience's attention. These are some simple tips to enhance the impact of your presentation.
- Do not use logo under every slide. Make it reserve only for the title.
- Do not repeat/ emphasis on theoretical knowledge because your listeners are from your community and have prior knowledge of the subject.
- Maximum 10-12 lines in one slide.
- Don't put too much information in one slide.
- Presentation outline should be used only at the start.
- Limit to one big picture and a maximum of 8 lines.
- Limit the discussion to a maximum of 2 slides.
- A large font and 9 lines at maximum for the summary.
- Make the template clear and avoid using gaudy colours.
- Figures must have clear labelling and large enough fonts so that the audience can read and understand the concept.
Lecture # 4 by PhD EE on Scribd
Solution Assignment # 3 by PhD EE on Scribd
The following code can be used to edit plots in old Simulink 2009.
Code used.
++++++++++++++++++++++++++++++
set(0,'ShowHiddenHandles','on')
set(gcf,'menubar','figure')
++++++++++++++++++++++++++++++
Code used.
++++++++++++++++++++++++++++++
set(0,'ShowHiddenHandles','on')
set(gcf,'menubar','figure')
++++++++++++++++++++++++++++++
Introduction to spice by PhD EE on Scribd