PSY parsing changes post package split

オープン
#54 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

@luke-kiernan がすでに取り組んでいます。

2026年10月19日 から。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
julia
領域
data

調査の方向性

Start by comparing the referenced PSY commits with PFFP's _gen_base_and_limits and the VSC component parsing model. Verify that base_conversion reaches all ramp-limit branches and determine how REMOT/RMPCT map to the proposed fields, while checking PSY issue #1774 before changing structs. Done means the confirmed parsing divergences are ported without altering the intentional switched-shunt or network-reduction behavior.

索引モデルが issue の本文から書いたものです。

説明

I had Claude audit the commit history of PSY's main for parsing changes that didn't make their way into PFFP.

There were a few things that clearly looked like bugfixes, so I ported them over: #51, #52, and #53 .

Probably should be ported over:

  • 5b298a811 / f5e9f0dd4: PFFP's ramp_limits ignores base_conversion. Its docstring calls this out as a deliberate verbatim port of PSCB's inconsistency. PSY has since ruled it a bug and threads base_conversion through all four branches. Every other limit in _gen_base_and_limits is scaled, so ramp limits are the lone unscaled quantity whenever mbase != sys_mbase.
  • b3542ea98 / 297a4759e: PSY moved VSC control modes to VSCDCControlModes/VSCACControlModes enums and promoted REMOT/RMPCT to first-class remote_bus_control_*/rmpct_* fields. PFFP keeps booleans and drops REMOT/RMPCT entirely. Different component model — but if you want VSC remote-regulation round-tripping, those two fields are simply absent today.

Divergences in behavior that look intentional:

  • cb8ed3363 / 36a33acd0: PSY zeroes switched-shunt initial_status for MODSW ∈ (0,1,2) in all versions. PFFP reworked this — unconditional for pre-v35, actual S1..S8 for v35. PFFP's looks more correct; noting it because the behaviors genuinely differ for v35.
  • 624516aec / cc34620d5 / 0cf823e18 / cca947511 / e7e8b6639: the branch_type_override / network-reduction feature set. PSY-only, no PFFP counterpart.

Strikethough on the first one: component behavior is tied up in this one, too. See PSY #1774: once those struct changes land, we should check back on the parsing situation here.

主要言語
Julia
スター
1
フォーク
3
平均マージ
4日 10時間
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Sienna-Platform/PowerFlowFileParser.jl のほかの issue

Sienna-Platform/PowerFlowFileParser.jl の issue をすべて見る

似ている issue

Julia の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。