PV simulation of solar system
3 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
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 .
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!