1. why its showing "Error using pvcurve (line 15) Not enough input arguments,Error in thesis (line 15) x= fsolve(pvcurve,Ipv0);"?????
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Shawon Zaman
am 27 Mär. 2018
Kommentiert: Shawon Zaman
am 27 Mär. 2018
FUNCTION CODE IS:
function F = pvcurve(Ipv)
Vpv=0.9;
global Np Ns Isc q T k Io n
Np = 1;
Ns=72;
Isc =1.82;
q= 1.6e-19;
T=298;
k=1.38e-23;
Io= 1.2987e-4;
n=1.8405;
F = -(Ipv)+ (Np*Isc)- Np*Io*((exp((q*Vpv)/(n*k*T*Ns))-1));
AND MAIN CODE IS :
clc
clear all
Vpv=0.9;
Ipv0 = 1;
global Np Ns Isc q T k Io n
Np = 1;
Ns=72;
Isc =1.82;
q= 1.6e-19;
T=298;
k=1.38e-23;
Io= 1.2987e-4;
n=1.8405;
x= fsolve(pvcurve,Ipv0);
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!