1. why its showing "Error using pvcurve (line 15) Not enough input arguments,Error in thesis (line 15) x= fsolve(pvc​urve,Ipv0)​;"?????

1 回表示 (過去 30 日間)
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);

採用された回答

Torsten
Torsten 2018 年 3 月 27 日
x= fsolve(@pvcurve,Ipv0);
Best wishes
Torsten.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSensors and Transducers についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by