Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

possible typo in modelchain.ModelChain input naming

Aberta
#2,748 6 comentários 2 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
35/100
Tipo de issue
Documentação
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
python
Domínio
api, documentation

Direção de pesquisa

Start with the ModelChain docstring that documents the aoi_model parameter, then compare it with the parameter name in the constructor to see whether docs and code disagree. The open question is whether to rename the parameter to iam_model or fix the docs, and that rename would affect the public API, so confirm the maintainers' choice before editing. Done when the name is consistent and the maintainers have agreed on the direction.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

api

Describe the bug
Was discussing modelchain.ModelChain with @cbcrespo and noticed that in the documentation of modelchain.ModelChain the input for defining the IAM model is named aoi_model. Find below the description:

aoi_model (str, or function, optional) – If not specified, the model will be inferred from the parameters that are common to all of system.arrays[i].module_parameters. Valid strings are ‘physical’, ‘ashrae’, ‘sapm’, ‘martin_ruiz’, ‘interp’ and ‘no_loss’. The ModelChain instance will be passed as the first argument to a user-defined function.

Expected behavior
Is this naming intended or should it be iam_model?

Linguagem predominante
Python
Estrelas
1.7k
Forks
1.2k
Merge médio
3d 18h
PRs com merge (30d)
13

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de pvlib/pvlib-python

Todas as issues de pvlib/pvlib-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.