Skip to content

TKAP-1340: Ampacity set to 0 when heat balance is positive at 0 - #128

Merged
DavidSAmundsen merged 9 commits into
mainfrom
tkap-1340-fallback-for-nan-values
Aug 19, 2026
Merged

TKAP-1340: Ampacity set to 0 when heat balance is positive at 0#128
DavidSAmundsen merged 9 commits into
mainfrom
tkap-1340-fallback-for-nan-values

Conversation

@johannewiborg

Copy link
Copy Markdown
Collaborator
  • When computing the conductor ampacity, instead of getting an error if the heat balance is positive at current = 0 A, the ampacity is then set to 0 A.
  • If the solution is above max_ampacity, then an exceptioin is still thrown
  • The default max_ampacity has been increased to 8000 instead of 5000

Comment thread linerate/solver.py Outdated
Comment thread linerate/solver.py Outdated
Comment thread linerate/solver.py Outdated
Comment thread linerate/solver.py Outdated
Comment thread linerate/solver.py Outdated
Comment thread linerate/solver.py Outdated
Comment thread tests/test_solver.py
@DavidSAmundsen
DavidSAmundsen merged commit 1f26a67 into main Aug 19, 2026
16 checks passed
@DavidSAmundsen
DavidSAmundsen deleted the tkap-1340-fallback-for-nan-values branch August 19, 2026 12:14
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

Successfully merging this pull request may close these issues.

3 participants