Trouble translating solar energy calculations to Excel 365

pete1229

New Member
Joined
Nov 6, 2020
Messages
21
Office Version
  1. 365
Platform
  1. Windows
I'm learning about solar PV following this paper ((PDF) Building-integrated photovoltaic and thermal applications in a subtropical hotel building) and trying to translate the equations for "Electrical performance of PV module" into Excel. I've inserted the constants into cells and tried to calculate Equations 1-6 but having trouble trying to translate Eq. 4 (I'm not sure if the other equations have been translated correctly as it involves using natural logs and exponents which I haven't used in Excel before. Any advice would be greatly appreciated.

PV_model_v2.xlsm
ABCDEFGHIJKLMN
1Electric charge on an electron (C) Boltzmann Constant (J/K mol)Reference temperature (K)Voltage at maximum power point at reference values (V)Open circuit voltage at reference values (V)Number of series connected cellsShort circuit current at reference values (A)Current at maximum power point (A)Cell temperature (K)Empirical constant relating to the impact of cell temperature on outputNumber of parallel connected cellsTotal annual Solar insolation (W/m2)Reference insolation (W/m2)Number of panels in surface
2e kTrefVmpVocn IscImpTcCtmQQrefN
31.60E-191.38E-232981221.6166.135.782981016122246810001
4
5
6Eq. 1Eq. 2Eq. 3Eq. 4Eq. 5Eq. 6
7diode factordiode current (A)Light generated current (A)Voltage at the knee of I–V curvePanel power output (kWh/m2)Electricity generating efficiency (%)
8DFIoILVmppP Ne
910.870.00468.360.000.00
Sheet1
Cell Formulas
RangeFormula
A9A9=(A3/(B3*C3))*((D3-E3)/D3)*(1/LN((G3-H3)/G3))
B9B9=(2^((I3-C3)/J3))*(G3/K3)*(1/((1-EXP(A3^(E3/F3))/(B3*C3*A9))))
C9C9=(L3/M3)*(G3/K3)
E9E9=((D9*C9)-(D9*B9)*EXP(((A3*D9)/(B3*I3*A9))-1))*F3*K3*N3
F9F9=(E9/L3)*100


example.png
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hello,

Equation 4 has to be solved by iterations, in order to help you achieve that, you can use the Solver add-in in excel.
 
Upvote 0
Hello,

Equation 4 has to be solved by iterations, in order to help you achieve that, you can use the Solver add-in in excel.
Thanks for the advice, any ideas on how to translate Equation 4 into the solver?
 
Upvote 0

Forum statistics

Threads
1,223,636
Messages
6,173,485
Members
452,516
Latest member
archcalx

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top