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
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.
The text was updated successfully, but these errors were encountered:
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
The docstring for
pvlib.pvystem.snlinverter
lists the required key names for parameters in inputinverter
. 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.The text was updated successfully, but these errors were encountered: