LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

photovoltaic current

Actually that would be really simple to do. Just leave the Power calculation in there, and instead of writing it to an indicator write it to a new graph the same way you did originally. 

 

You'll need to right click on the node  leaving the while loop and select "Enable Indexing," Then add a "bundle" block, and run voltage to the upper input and the output of that new index node into the lower input. Finally add in a new XY graph and attach the bundle to the graph.

 

Try that on your own, if you have trouble I can write another example for you

 

Here is how that code should look:

 

pic.png

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 11 of 86
(1,359 Views)

Hi zach, i tried to do it, see attachment. See if its good. By the way, the graph is not looking too good. Can u pls scale both X-axis & Y-axis for both graphs according like it should be usually. This is a photovoltaic system model. 

0 Kudos
Message 12 of 86
(1,352 Views)

It looks like you got it right. 

 

I'm not sure how you want the graphs to be scaled. Formatting those graphs is pretty straight forward. Just right click on the graph and select properties. It's like excel. You'll want to play around with the scale tab. You may also want to shrink the legend on the second graph because there is no second function being graphed. Just resize it and it should make the second label go away. You can also change any labels you want.  

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 13 of 86
(1,335 Views)

🙂 Thanks dear. & What if we want to calculate the fill factor and efficieny from the vi and display the values on the front panel ? ? ?
The equations are: [see attachments]

Download All
0 Kudos
Message 14 of 86
(1,330 Views)

Well, so far in the program we've got an array of power. We can find the max power from that array, but I'm not sure where the other variables are going to come from.

 

For the fill factor, we'll need to find the open circuit voltage or the short circuit current. Are those parameter that you know? or do those also need to be dynamically calculated?

 

For the effciency, I'm not sure what power is being put in. Any thoughts?  

 

 

 

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 15 of 86
(1,324 Views)

can u give me your example concerning the power vs voltage.  I mean can u upload the vi.

0 Kudos
Message 16 of 86
(1,322 Views)

This is the last one I made changes too. It looks pretty much the same as what you posted.

 

Actually that pic I posted can be drug into LabVIEW and work as a VI too. It's a .png file. 

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 17 of 86
(1,317 Views)

for the power vs voltage graph, how can we remove the negative axis ?

0 Kudos
Message 18 of 86
(1,310 Views)

Just set the minimun of the scale to be zero in the graph properties. Go back to the scale tab and un-check the autoscale box. Then set the min & max manually to what you want. 

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 19 of 86
(1,302 Views)

Hello Zach, how u doing. If we want to draw the block diagram of this equation, how will it be done?  [see image]. Can we add it to the original vi [see attachment]

0 Kudos
Message 20 of 86
(1,282 Views)