Skip to content

fix: per-unitize VSC converter BLOSS on the DC base kV - #52

Merged
jd-lara merged 1 commit into
psy6from
lk/vsc-bloss-perunit
Sep 5, 2026
Merged

jd-lara merged 1 commit into
psy6from
lk/vsc-bloss-perunit

Conversation

@luke-kiernan

Copy link
Copy Markdown
Contributor

Ports PowerSystems.jl 11562cc4b, which landed after the parsing code moved here.

BLOSS is kW per DC ampere, so its LinearCurve slope is p.u. power per p.u. current — BLOSS / base_kV — not BLOSS / (1000 * baseMVA), which is not dimensionless. ALOSS/MINLOSS are plain kW and keep their /(1000 * baseMVA). Regression test added against the existing synthetic_v35_vsc_line.raw fixture.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HmGuSdKu4g7a3uqgPXZ4NC

Port of PowerSystems.jl 11562cc4b. BLOSS is kW per DC ampere, so the
LinearCurve slope is p.u. power per p.u. current — BLOSS / base_kV — not
BLOSS / (1000 * baseMVA), which is not dimensionless.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HmGuSdKu4g7a3uqgPXZ4NC
@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jd-lara
jd-lara merged commit 06c8218 into psy6 Sep 5, 2026
6 of 8 checks passed
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.

2 participants