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
참고 항목
카테고리
Help Center 및 File Exchange에서 Solar Power에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!