Skip to content

Bug: Drying.solve_unit initialization can omit temp_cond #140

Description

@bernalde

Parent: #118

Problem

One initialization branch in Drying.solve_unit packs satur, y_gas, x_liq, and temp_gas but omits temp_cond. The resulting vector is one block shorter than Drying.unit_model expects.

Acceptance criteria

  • Add a focused regression test that exercises the affected initialization branch.
  • Make every drying initialization branch conform to the same declared state layout.
  • Validate the state-vector shape at the solver boundary.
  • Keep this bug fix isolated from the wider StateLayout refactor.

Metadata

Metadata

Assignees

Labels

area:dryingDrying model balances and transport termsbugSomething isn't workingcorrectnessModel/numerical correctness defectrefactor:mpvOverlaps the MultiPhaseVessel refactor; revalidate after mergeseverity:mediumConfirmed bug with narrower scope or moderate numerical impactstatus:verifiedSource-reviewed against the current codebase

Type

Projects

Status
No status

Relationships

None yet

Development

No branches or pull requests

Issue actions