-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CEC modules not accessible through database and local csv-file #1632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The
Based on the error message ( |
Thanks for the explanation. I tried it with the filepath of a the CEC modules file which I downloaded which unfortunately gave me this error. How can I feed the github URL to Yes I figured this as well, but even when I download the csv file again and run the code it still gives me the error. I also tried to convert all the parameters which did not help. The best solution which is not very nice looking was to add this to the script:
|
|
Thank you very much for explaining how to access it via the link @cwhanse . Unfortunately, this also does not work, I really do not know where the problem is. If I use the function like this
|
@kimcholi I was mistaken. Leave the 'name' argument out. cecmods = pvlib.pvsystem.retrieve_sam(path='https://raw.githubusercontent.com/NREL/SAM/patch/deploy/libraries/CEC%20Modules.csv') then cecmods['Trina_Solar_TSM_400DE09_08'] exists. @pvlib/pvlib-core this is not optimal behavior. If |
Great, it worked @cwhanse. Thank you for your very quick work and help! |
I am currently working with PVlib to do a solar energy estimation of an actual setup. This will be done by comparing the modelled power outputs with the measured power outputs of the system. The module implemented in this PV system are stored in the CEC database and are: Trina Solar TSM-400DE09.08, Trina Solar TSM-395DE09.08. Unfortunately they are not available to access via
pvlib.pvsystem.retrieve_sam('CECMod‘)
but are listed in the csv-file which I downloaded from https://github.com/NREL/SAM/blob/develop/deploy/libraries/CEC%20Modules.csvFirst of all, I am wondering if someone knows why they are available on the local csv-file of CEC module library for Fall 2022 release but not accessible when
pvlib.pvsystem.retrieve_sam('CECMod‘)
is used. Secondly, I have tried to access the information of the PV modules viacec_modules_local.iloc[14224]
. But this also gives me an error as soon as I try to plot the power output of the model, see below. I tried to convert the data frame in order to get the correct type of parameters and data but it did not work. I solved the problem in the end by creating a dataframe with all the parameters from the csv-file via copy & paste basically, which is not the nicest solution.Is someone familiar with this problem and can maybe help me out? Thank you very much, I would appreciate it.
The text was updated successfully, but these errors were encountered: