Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

generator_only_runs_during_grid_outage=True forces size_kw=0

Abierto
#249 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
julia, python
Área
backend

Línea de trabajo

Comienza reproduciendo el caso con un existing_kw o min_kw distinto de cero, generator_only_runs_during_grid_outage=True y un inicio y final del apagón nulos. Sigue la lógica de dimensionamiento del generador y verifica que size_kw pase a ser existing_kw+min_kw, mientras los costes y el posprocesamiento siguen siendo coherentes.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

  • I'm submitting a ...

    • bug report
    • feature request
    • support request => Please do not submit support request here, see note at the top of this template.
  • Do you want to request a feature or report a bug?
    bug

  • What is the current behavior?
    If generator_only_runs_during_grid_outage=True, then the generator size output is zero, even if non-zero existing generator or minimum size is given. In addition to the size being incorrect, this will affect costs (O&M and, if gen not existing, capX) and cause issues in postprocessing (e.g. outage simulator script).

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
    https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

  • specify a non-zero existing_kw or min_kw for Generator
  • set generator_only_runs_during_grid_outage=True
  • don’t put in an outage (outage start and end are null)
  • What is the expected behavior?
    If generator_only_runs_during_grid_outage=True, then generator size_kw output should be existing_kw+min_kw

  • What is the motivation / use case for changing the behavior?
    incorrect output

  • Please tell us about your environment:

    • REopt API Version: on develop branch
    • Operating System: macOS Catalina
    • Python version: 3.6.13
    • Julia version: 1.5
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Lenguaje dominante
Python
Estrellas
127
Forks
69
Merge medio
9 d 15 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NatLabRockies/REopt_API

Todos los issues de NatLabRockies/REopt_API

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.