You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keys described in snlinverter are not what is used in code #976
The docstring for pvlib.pvystem.snlinverter lists the required key names for parameters in input inverter. Some key names are different from what is used in the code, e.g., Pac0 in docstring vs. `Paco' in code.
First step is to correct the docstring to describe the current function accurately.
A possible second step is to change some of the key names, Paco is not what I would expect for the nameplate AC power.
Hi, beginner here trying to help. When I look at the slninverter function defined in pvlib.pvsystem I don't see any list of parameters in the docstring. Actually there is a comment that says inverter now specified by self.inverter_parameters.
It seems like the implementation has changed and the issue no longer exists, am I right ?
@gcaria I think you are looking at the method pvlib.PVSystem.snlinverter rather than the underlying function, which has moved from pvlib.pvsystem.snlinverter to pvlib.inverter.sandia. In pvlib, there is a base layer of functions that implement individual models. The base layer functions are "wrapped" by methods attached to the PVSystem or ModelChain classes to aid in simulating a system.
The issue relates to the documentation for the base function pvlib.inverter.sandia. I think some of the discrepancies have been addressed by #1011 but I have not checked if more edits are needed.
@cwhanse Thanks for the introduction ! Looking at pvlib.inverter.sandia I don't see any mismatch between the names of docstring variables and code variables
Activity
gcaria commentedon Aug 20, 2020
Hi, beginner here trying to help. When I look at the
slninverterfunction defined inpvlib.pvsystemI don't see any list of parameters in the docstring. Actually there is a comment that saysinverter now specified by self.inverter_parameters.It seems like the implementation has changed and the issue no longer exists, am I right ?
cwhanse commentedon Aug 20, 2020
@gcaria I think you are looking at the method
pvlib.PVSystem.snlinverterrather than the underlying function, which has moved frompvlib.pvsystem.snlinvertertopvlib.inverter.sandia. In pvlib, there is a base layer of functions that implement individual models. The base layer functions are "wrapped" by methods attached to the PVSystem or ModelChain classes to aid in simulating a system.The issue relates to the documentation for the base function
pvlib.inverter.sandia. I think some of the discrepancies have been addressed by #1011 but I have not checked if more edits are needed.gcaria commentedon Aug 22, 2020
@cwhanse Thanks for the introduction ! Looking at
pvlib.inverter.sandiaI don't see any mismatch between the names of docstring variables and code variablescwhanse commentedon Aug 24, 2020
Thanks for checking. I agree that this issue is closed by #1011