Skip to content

Add simple_efficiency tests to cover numpy arrays and pandas Series #2649

@aman-coder03

Description

@aman-coder03

Description

pvlib.transformer.simple_efficiency supports vectorized operations via
NumPy, but the current test coverage primarily exercises scalar inputs.

This issue proposes adding tests that explicitly cover
numpy.ndarray inputs for:

  • input_power
  • load_loss
  • no_load_loss

including the edge case load_loss = 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions