PV simulation of solar system

4 次查看(过去 30 天)
John
John 2014-2-26
Hi everyone! I am writing a Matlab program for simulation of PV. My aim to plot I-V and P-V characteristics of the curve.
When I run the simulation in a matlab script file. I keep encountering an error and it says
msx60(Va, Suns, TaC) * Undefined function or variable 'Va' *
The following program is part of the code I used.
function Ia = msx60( Va, Suns, TaC )
% msx60.m model for the MSX-60 solar array
% current given voltage, illumination and temperature % Ia= msx60(Va,G,T) = array voltage
% Ia,Va = array current voltage % G = num of Suns (1 Sun = 1000 W/m^2)
% T = Temp in Deg C
k = 1.38e-23; %Boltzman's Constant
q = 1.60e-19; %Charge on an electron

回答(1 个)

shrik kader
shrik kader 2017-6-5
ok, where is the rest of the code first of all?. and yes , it seems that the variable Va is undefined .

类别

Help CenterFile Exchange 中查找有关 Solar Power 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by