Skip to content

Commit

Permalink
v6.4.8 hotfix (fixed liquid-liquid extraction column not working)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanWBR committed Apr 12, 2021
1 parent 10a8058 commit 2089423
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 3 deletions.
2 changes: 2 additions & 0 deletions DWSIM.SharedClasses/Patrons/activepatrons.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Christian Hornhofer
Christian Jordan
David
David Whitlock
Deryck Coetzer
Diego A. Acosta
Domenico Marchese
Don Harrold
Expand Down Expand Up @@ -59,6 +60,7 @@ Luiza Martins
Marcelo Miranda
Marcos Silva
Martin Heiser
Matt Hogg
Michael Papantoniou
Mikhail Evtushenko
Nikita Petrosyan
Expand Down
4 changes: 4 additions & 0 deletions DWSIM.UnitOperations/Editing Forms/EditingForm_Column.vb
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@ Public Class EditingForm_Column
Case ColType.DistillationColumn
gridResults.Rows.Add(New Object() {.FlowSheet.GetTranslatedString("DCCondenserDuty"), su.Converter.ConvertFromSI(units.heatflow, .CondenserDuty).ToString(nf), units.heatflow})
gridResults.Rows.Add(New Object() {.FlowSheet.GetTranslatedString("DCReboilerDuty"), su.Converter.ConvertFromSI(units.heatflow, .ReboilerDuty).ToString(nf), units.heatflow})
gridResults.Rows.Add(New Object() { .FlowSheet.GetTranslatedString("CondenserSpecValue"), su.Converter.ConvertFromSI(.Specs("C").SpecUnit, .Specs("C").SpecValue).ToString(nf), .Specs("C").SpecUnit})
gridResults.Rows.Add(New Object() { .FlowSheet.GetTranslatedString("CondenserCalcValue"), su.Converter.ConvertFromSI(.Specs("C").SpecUnit, .Specs("C").CalculatedValue).ToString(nf), .Specs("C").SpecUnit})
gridResults.Rows.Add(New Object() { .FlowSheet.GetTranslatedString("ReboilerSpecValue"), su.Converter.ConvertFromSI(.Specs("R").SpecUnit, .Specs("R").SpecValue).ToString(nf), .Specs("R").SpecUnit})
gridResults.Rows.Add(New Object() { .FlowSheet.GetTranslatedString("ReboilerCalcValue"), su.Converter.ConvertFromSI(.Specs("R").SpecUnit, .Specs("R").CalculatedValue).ToString(nf), .Specs("R").SpecUnit})
Case ColType.AbsorptionColumn
Case ColType.ReboiledAbsorber
gridResults.Rows.Add(New Object() {.FlowSheet.GetTranslatedString("DCReboilerDuty"), su.Converter.ConvertFromSI(units.heatflow, .ReboilerDuty).ToString(nf), units.heatflow})
Expand Down
2 changes: 1 addition & 1 deletion DWSIM.UnitOperations/Unit Operations/RigorousColumn.vb
Original file line number Diff line number Diff line change
Expand Up @@ -3511,6 +3511,7 @@ Namespace UnitOperations
End If
End If
ElseIf TypeOf Me Is AbsorptionColumn Then
SetColumnSolver(New SolvingMethods.BurninghamOttoMethod())
If llextractor Then
'run all trial compositions until it solves
Dim ntrials = L1trials.Count
Expand Down Expand Up @@ -3541,7 +3542,6 @@ Namespace UnitOperations
Next
If ex0 IsNot Nothing Then Throw ex0
Else
SetColumnSolver(New SolvingMethods.BurninghamOttoMethod())
so = Solver.SolveColumn(inputdata)
End If
End If
Expand Down
16 changes: 14 additions & 2 deletions DWSIM/Languages/DWSIM.en.resx
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@
<value>Edit Connections</value>
</data>
<data name="DCELIts" xml:space="preserve">
<value>External loop iterations</value>
<value>Iterations Taken</value>
</data>
<data name="DCELTol" xml:space="preserve">
<value>External Loop</value>
Expand All @@ -976,7 +976,7 @@
<value>A convergence error was found while trying to solve the column. Possible reasons are: unfeasible specs, initial estimates far from solution and/or very non-ideal (wide-boiling or azeotropic) mixtures being fed to the column.</value>
</data>
<data name="DCILIts" xml:space="preserve">
<value>Internal loop iterations</value>
<value>Iterations Taken</value>
</data>
<data name="DCILTol" xml:space="preserve">
<value>Internal Loop (IO method only)</value>
Expand Down Expand Up @@ -5744,4 +5744,16 @@ In this model, chemical and physical equilibria of NH3, CO2, and H2S in sour wat
<data name="NoPropPackAdded" xml:space="preserve">
<value>You didn't add any Property Package to the simulation.</value>
</data>
<data name="CondenserCalcValue" xml:space="preserve">
<value>Condenser Specification Calculated Value</value>
</data>
<data name="CondenserSpecValue" xml:space="preserve">
<value>Condenser Specification Value</value>
</data>
<data name="ReboilerCalcValue" xml:space="preserve">
<value>Reboiler Specification Calculated Value</value>
</data>
<data name="ReboilerSpecValue" xml:space="preserve">
<value>Reboiler Specification Value</value>
</data>
</root>
12 changes: 12 additions & 0 deletions DWSIM/Languages/DWSIM.resx
Original file line number Diff line number Diff line change
Expand Up @@ -5688,4 +5688,16 @@ In this model, chemical and physical equilibria of NH3, CO2, and H2S in sour wat
<data name="NoPropPackAdded" xml:space="preserve">
<value>Você não adicionou nenhum Pacote de Propriedades à simulação.</value>
</data>
<data name="CondenserCalcValue" xml:space="preserve">
<value>Valor Calculado para o Condensador</value>
</data>
<data name="CondenserSpecValue" xml:space="preserve">
<value>Valor Especificado para o Condensador</value>
</data>
<data name="ReboilerCalcValue" xml:space="preserve">
<value>Valor Calculado para o Refervedor</value>
</data>
<data name="ReboilerSpecValue" xml:space="preserve">
<value>Valor Especificado para o Refervedor</value>
</data>
</root>
36 changes: 36 additions & 0 deletions DWSIM/Languages/DWSIM1.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2089423

Please sign in to comment.