You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: the bubble-point column solver relaxes its temperature step to converge harder columns
- when a bubble-point solve does not converge, retry with a smaller temperature step (0.25, then 0.1) on a reduced iteration budget before the wide-boiling fallback, so a cold-feed stabiliser and similar columns converge from an ordinary starting estimate (issue #73)
- add Column.TemperatureStepFraction (default 0.5, the historical half step), used by both Wang-Henke solvers, on the Avalonia column editors and the fluent builders, so a user can preset the step and skip the failed attempts
- add a cold naphtha stabiliser regression test and a setting round-trip test, and note the change in the release notes
Copy file name to clipboardExpand all lines: content/readme.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ Version 10.2.7
44
44
- [CHG] The MCP server accepts a --python-path option, and a DWSIM_PYTHON_PATH environment variable for containers, so a Python Script unit operation can run on a headless server. The Python-path error message now names the distribution folder on Windows and the shared library file on Linux and macOS.
45
45
- [CHG] The /api/check endpoint reports the open simulation's name and file path.
46
46
- [FIX] A rigorous distillation or absorption column using the bubble-point method no longer reports a wrong converged result on a wide-boiling mixture: it now checks that the stage compositions have settled, not only the temperature and the vapour flow.
47
+
- [CHG] A rigorous column solved by the bubble-point method now retries with a smaller temperature step when it does not converge, which solves cold-feed stabilisers and similar columns that failed from an ordinary starting estimate. The step is also a column setting, Temperature Step Fraction (default 0.5), on the editor and the fluent builders.
47
48
- [FIX] A Recycle set to Global Convergence (Broyden) no longer corrupts its tear stream on the second solver pass, where the temperature, pressure and flow collapsed and the flow could go negative.
48
49
- [FIX] A vertical gas-liquid separator's height now accounts for the liquid residence time, so changing the residence time changes the calculated size.
49
50
- [FIX] Reopening a simulation saved by the cross-platform interface no longer shows blank panels (issue #72).
Copy file name to clipboardExpand all lines: content/whatsnew.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
- [CHG] The MCP server accepts a --python-path option, and a DWSIM_PYTHON_PATH environment variable for containers, so a Python Script unit operation can run on a headless server. The Python-path error message now names the distribution folder on Windows and the shared library file on Linux and macOS.
4
4
- [CHG] The /api/check endpoint reports the open simulation's name and file path.
5
5
- [FIX] A rigorous distillation or absorption column using the bubble-point method no longer reports a wrong converged result on a wide-boiling mixture: it now checks that the stage compositions have settled, not only the temperature and the vapour flow.
6
+
- [CHG] A rigorous column solved by the bubble-point method now retries with a smaller temperature step when it does not converge, which solves cold-feed stabilisers and similar columns that failed from an ordinary starting estimate. The step is also a column setting, Temperature Step Fraction (default 0.5), on the editor and the fluent builders.
6
7
- [FIX] A Recycle set to Global Convergence (Broyden) no longer corrupts its tear stream on the second solver pass, where the temperature, pressure and flow collapsed and the flow could go negative.
7
8
- [FIX] A vertical gas-liquid separator's height now accounts for the liquid residence time, so changing the residence time changes the calculated size.
8
9
- [FIX] Reopening a simulation saved by the cross-platform interface no longer shows blank panels (issue #72).
|`WithColumnPressureDrop(dp)`| Total drop across the column. |
39
+
|`WithTemperatureStepFraction(f)`| Fraction of the bubble-point stage-temperature update the Wang-Henke solvers apply each sweep, 0 to 1 (default 0.5). |
' Exploratory rungs at a smaller step, on a reduced budget so a hard column does not pay the
757
+
' full budget on every rung. Enough to converge the columns these rungs are for.
758
+
DimfbmaxitsAsInteger=Math.Max(75,maxits\2)
759
+
Do
760
+
If_trelax<=0.1ThenExitDo
761
+
_trelax=If(_trelax>0.25,0.25,0.1)
762
+
pp.Flowsheet?.ShowMessage(rc.GraphicObject.Tag+": [BP Solver] did not converge, retrying with the temperature step relaxed to "+_trelax.ToString("0.00"),IFlowsheet.MessageType.Information)
0 commit comments