Skip to content
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

Problems while running the feedin function #72

Open
goncasado6 opened this issue May 5, 2022 · 7 comments
Open

Problems while running the feedin function #72

goncasado6 opened this issue May 5, 2022 · 7 comments

Comments

@goncasado6
Copy link

Hello, after I have done correctly all the previous steps of the weather and setting up the photovoltaic object(which work correctly), when I do the calculate the feedin part it doesnt work, it appears two errors and I dont know why.
Please reply me if you know the error and what I have to do,
Thank you

CapturaA
CapturaB
CapturaC

@GregorBecker
Copy link

I think the error described results from the issue #62 opened by @uvchik.

It is possible using the deprecated standard of pvlib version 0.0.9 if the module_type is set to "glass_glass" and the racking_model is set to "open_rack" while initiating the poweplants.Photovoltaic class. The other possible types can be found in the temperature.py of pvlib-python (https://github.com/pvlib/pvlib-python/blob/master/pvlib/temperature.py).

@jesuspolo
Copy link

I have the same problem, I think that it refers to the King temperature model in pvlib that needs a, b and deltaT parameters, but I'm not able to input these parameters properly to feedinlib

@uvchik
Copy link
Member

uvchik commented Jun 15, 2022

Did you try to use pvlib v0.8.x instead of v0.9.x or higher?

@Ludee
Copy link

Ludee commented Jun 16, 2022

Downgrading pvlib to v0.8.1 is an option, but not a good one.

I am currently trying to update an existing pv model to 0.9.1 but I'm having a hard time with different errors.
The documentation and release notes are only helping a bit.
I will post what I found out here.
I also opened a discussion on the pvlib GitHub

- temperature model

from pvlib.temperature import TEMPERATURE_MODEL_PARAMETERS
tm_gg = TEMPERATURE_MODEL_PARAMETERS['sapm']['open_rack_glass_glass']
tm_gp = TEMPERATURE_MODEL_PARAMETERS['sapm']['open_rack_glass_polymer'] 

-> see https://pvlib-python.readthedocs.io/en/stable/_modules/pvlib/temperature.html
gg={'a': -3.47, 'b': -.0594, 'deltaT': 3}
gp={'a': -3.56, 'b': -0.075, 'deltaT': 3}

- PVSystem

module_type='glass_glass', # 'glass_polymer'
racking_model='open_rack',

@uvchik
Copy link
Member

uvchik commented Jun 16, 2022

Downgrading pvlib to 0.8.x is meant as a workaround not as a solution.

@Ludee Did you take a look at PR #73

@Ludee
Copy link

Ludee commented Jun 16, 2022

Yes, I already had a look at the PR.
Not sure if the temperature_module_parameters is required or only additional?

@GregorBecker
Copy link

GregorBecker commented Jun 16, 2022

If you set module type and racking model when initializing the PV plant, the temperature model parameters are obtained from the dictionary in pvlib's temperature.py. To set these values (a, b, delta T) from the feedinlib is difficult at first sight.

Without setting the parameters the pv plant cannot be initialized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants