Skip to content

Fix crashes in unit operation Modelica code generation - #141

Merged
Koyandechirag merged 1 commit into
FOSSEE:masterfrom
JojoAArtI:joel/fix-unit-op-codegen
Nov 13, 2026
Merged

Koyandechirag merged 1 commit into
FOSSEE:masterfrom
JojoAArtI:joel/fix-unit-op-codegen

Conversation

@JojoAArtI

Copy link
Copy Markdown
Contributor

OM_Flowsheet_Initialize crashed with TypeError for units with more than one thermo model, and the DistillationColumn condenser fallback crashed with AttributeError (self.modeVal). Fix both, use the lowercase condenser instance name, raise a clear ValueError for unknown condenser specs, and add regression tests.

OM_Flowsheet_Initialize crashed with TypeError for units with more than one thermo model, and the DistillationColumn condenser fallback crashed with AttributeError (self.modeVal). Fix both, use the lowercase condenser instance name, raise a clear ValueError for unknown condenser specs, and add regression tests.
@Koyandechirag
Koyandechirag merged commit c9b5d59 into FOSSEE:master Nov 13, 2026
1 check 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