NatLabRockies / NatLabRockies/PyPSSE

AttributionError when replacing transmission models with user defined ones

Open
#58 0 comments 0 reactions 2 assignees View on GitHub

@nadiavp is already working on this.

Since Apr 30, 2026.

bug
Dominant language
Python
Stars
56
Forks
32
PR merge metrics
No merged PRs in 30d

Description

When disable_psse_generation_models_on_coupled_buses = true, and generation_model_level = transmission in simulation_settings.toml, the code goes down a path in snap.py that requires a parameter called transmission_ibrs. Because that parameter (and transmission_ibrs_std) are not defined in models.py , an AttributeError is raised.

This will cause problems when user defined transmission models are used instead of the ones already defined in PSSE, since this is when this combination of simulation settings would be used.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.