From 09421544d7715405c55439ed841c18e6d76cf50a Mon Sep 17 00:00:00 2001 From: DanWBR Date: Fri, 10 Jun 2022 12:11:03 -0400 Subject: [PATCH] bug fixes --- .../FlashAlgorithms/BaseFlashAlgorithm.vb | 7 + .../FlashAlgorithms/UniversalFlash.vb | 8 +- .../ActivityCoefficientBase.vb | 40 +- .../PropertyPackages/Ideal.vb | 8 +- .../FormCreateNewSolid.en.resx | 28 + .../CompoundCreator/FormCreateNewSolid.resx | 192 +- .../CompoundCreator/FormCreateNewSolid.vb | 8 +- DWSIM/Forms/FormSimulWizard.en.resx | 2 +- DWSIM/Forms/FormSimulWizard.resx | 2000 ++++++++--------- DWSIM/Forms/FormSimulWizard.vb | 24 +- 10 files changed, 1175 insertions(+), 1142 deletions(-) diff --git a/DWSIM.Thermodynamics/FlashAlgorithms/BaseFlashAlgorithm.vb b/DWSIM.Thermodynamics/FlashAlgorithms/BaseFlashAlgorithm.vb index 424483355..c2fea82c5 100644 --- a/DWSIM.Thermodynamics/FlashAlgorithms/BaseFlashAlgorithm.vb +++ b/DWSIM.Thermodynamics/FlashAlgorithms/BaseFlashAlgorithm.vb @@ -1449,6 +1449,13 @@ will converge to this solution.") End If Next + For i = 0 To n - 1 + If props(i).IsSolid Then + hres.SolidPhase = True + hres.SolidFraction += Vz(i) + End If + Next + If pp.ForcedSolids.Count > 0 Then 'has solids For Each solid In pp.ForcedSolids diff --git a/DWSIM.Thermodynamics/FlashAlgorithms/UniversalFlash.vb b/DWSIM.Thermodynamics/FlashAlgorithms/UniversalFlash.vb index 3f7f78954..3c42b4696 100644 --- a/DWSIM.Thermodynamics/FlashAlgorithms/UniversalFlash.vb +++ b/DWSIM.Thermodynamics/FlashAlgorithms/UniversalFlash.vb @@ -518,7 +518,7 @@ Namespace PropertyPackages.Auxiliary.FlashAlgorithms If Vsolid(i) Then Vs(i) = Vz(i) Else - If Vp(i) > P Then + If Vp(i) < P Then Vx(i) = Vz(i) Else Vy(i) = Vz(i) @@ -530,7 +530,7 @@ Namespace PropertyPackages.Auxiliary.FlashAlgorithms L = Vx.Sum V = Vy.Sum - Return New Object() {L, V, Vx, Vy, ecount, 0.0#, PP, S, Vs, Ki} + Return New Object() {L, V, Vx, Vy, ecount, 0.0#, PP.RET_NullVector, S, Vs, Ki} End Function @@ -576,7 +576,7 @@ Namespace PropertyPackages.Auxiliary.FlashAlgorithms If Vsolid(i) Then Vs(i) = Vz(i) Else - If Vp(i) > P Then + If Vp(i) < P Then Vx(i) = Vz(i) Else Vy(i) = Vz(i) @@ -634,7 +634,7 @@ Namespace PropertyPackages.Auxiliary.FlashAlgorithms If Vsolid(i) Then Vs(i) = Vz(i) Else - If Vp(i) > P Then + If Vp(i) < P Then Vx(i) = Vz(i) Else Vy(i) = Vz(i) diff --git a/DWSIM.Thermodynamics/PropertyPackages/ActivityCoefficientBase.vb b/DWSIM.Thermodynamics/PropertyPackages/ActivityCoefficientBase.vb index 7b054f9a1..51908e6ce 100644 --- a/DWSIM.Thermodynamics/PropertyPackages/ActivityCoefficientBase.vb +++ b/DWSIM.Thermodynamics/PropertyPackages/ActivityCoefficientBase.vb @@ -16,19 +16,7 @@ ' You should have received a copy of the GNU General Public License ' along with DWSIM. If not, see . - -Imports System.Runtime.Serialization.Formatters.Binary -Imports System.Runtime.Serialization -Imports System.IO -Imports System.Linq Imports System.Math -Imports CapeOpen -Imports System.Runtime.InteropServices.ComTypes -Imports iop = System.Runtime.InteropServices -Imports System.Xml.Serialization -Imports System.Runtime.Serialization.Formatters -Imports System.Threading.Tasks -Imports DWSIM.MathOps.MathEx Imports DWSIM.Interfaces.Enums Namespace PropertyPackages @@ -369,11 +357,11 @@ Namespace PropertyPackages Case 0 'LK H = Me.m_lk.H_LK_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Hid(298.15, T, Vx)) Case 1 'Ideal - H = Me.RET_Hid(298.15, T, Vx) - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) + P / 1000 / Me.AUX_LIQDENS(T, Vx) + H = Me.RET_Hid(298.15, T, Vx) - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) Case 2 'Excess - H = Me.RET_Hid(298.15, T, Vx) + P / 1000 / Me.AUX_LIQDENS(T, Vx) - Me.m_act.CalcExcessEnthalpy(T, Vx, Me.GetArguments()) / Me.AUX_MMM(Vx) - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) + H = Me.RET_Hid(298.15, T, Vx) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) - Me.m_act.CalcExcessEnthalpy(T, Vx, Me.GetArguments()) / Me.AUX_MMM(Vx) - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) Case 3 'Experimental Liquid - H = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) + P / 1000 / Me.AUX_LIQDENS(T, Vx) + H = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) End Select ElseIf st = State.Vapor Then Select Case EnthalpyEntropyCpCvCalculationMode @@ -384,7 +372,7 @@ Namespace PropertyPackages Case 2 'Excess H = Me.RET_Hid(298.15, T, Vx) Case 3 'Experimental Liquid - H = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) + P / 1000 / Me.AUX_LIQDENS(T, Vx) + Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) + H = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) + Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) End Select ElseIf st = State.Solid Then If SolidPhaseEnthalpy_UsesCp Then @@ -394,11 +382,11 @@ Namespace PropertyPackages Case 0 'LK H = Me.m_lk.H_LK_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Hid(298.15, T, Vx)) - RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) Case 1 'Ideal - H = Me.RET_Hid(298.15, T, Vx) + P / 1000 / Me.AUX_LIQDENS(T, Vx) - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) - RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) + H = Me.RET_Hid(298.15, T, Vx) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) - RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) Case 2 'Excess - H = Me.RET_Hid(298.15, T, Vx) + P / 1000 / Me.AUX_LIQDENS(T, Vx) - Me.m_act.CalcExcessEnthalpy(T, Vx, Me.GetArguments()) / Me.AUX_MMM(Vx) - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) - RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) + H = Me.RET_Hid(298.15, T, Vx) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) - Me.m_act.CalcExcessEnthalpy(T, Vx, Me.GetArguments()) / Me.AUX_MMM(Vx) - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) - RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) Case 3 'Experimental Liquid - H = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) + P / 1000 / Me.AUX_LIQDENS(T, Vx) - RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) + H = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) - RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) End Select End If End If @@ -459,11 +447,11 @@ Namespace PropertyPackages Case 0 'LK S = Me.m_lk.S_LK_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Sid(298.15, T, P, Vx)) Case 1 'Ideal - S = Me.RET_Sid(298.15, T, P, Vx) - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T + P / 1000 / Me.AUX_LIQDENS(T, Vx) / T + S = Me.RET_Sid(298.15, T, P, Vx) - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) / T Case 2 'Excess - S = Me.RET_Sid(298.15, T, P, Vx) - Me.m_act.CalcExcessEnthalpy(T, Vx, Me.GetArguments()) / Me.AUX_MMM(Vx) / T + P / 1000 / Me.AUX_LIQDENS(T, Vx) / T - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T + S = Me.RET_Sid(298.15, T, P, Vx) - Me.m_act.CalcExcessEnthalpy(T, Vx, Me.GetArguments()) / Me.AUX_MMM(Vx) / T + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) / T - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T Case 3 'Experimental Liquid - S = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) / T + P / 1000 / Me.AUX_LIQDENS(T, Vx) / T + S = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) / T + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) / T End Select ElseIf st = State.Vapor Then Select Case EnthalpyEntropyCpCvCalculationMode @@ -474,7 +462,7 @@ Namespace PropertyPackages Case 2 'Excess S = Me.RET_Sid(298.15, T, P, Vx) Case 3 'Experimental Liquid - S = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) / T + Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T + P / 1000 / Me.AUX_LIQDENS(T, Vx) / T + S = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) / T + Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) / T End Select ElseIf st = State.Solid Then If SolidPhaseEnthalpy_UsesCp Then @@ -484,11 +472,11 @@ Namespace PropertyPackages Case 0 'LK S = Me.m_lk.S_LK_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Sid(298.15, T, P, Vx)) - Me.RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T Case 1 'Ideal - S = Me.RET_Sid(298.15, T, P, Vx) + P / 1000 / Me.AUX_LIQDENS(T, Vx) / T - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T - Me.RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T + S = Me.RET_Sid(298.15, T, P, Vx) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) / T - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T - Me.RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T Case 2 'Excess - S = Me.RET_Sid(298.15, T, P, Vx) + P / 1000 / Me.AUX_LIQDENS(T, Vx) / T - Me.m_act.CalcExcessEnthalpy(T, Vx, Me.GetArguments()) / Me.AUX_MMM(Vx) / T - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T - Me.RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T + S = Me.RET_Sid(298.15, T, P, Vx) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) / T - Me.m_act.CalcExcessEnthalpy(T, Vx, Me.GetArguments()) / Me.AUX_MMM(Vx) / T - Me.RET_HVAPM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T - Me.RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T Case 3 'Experimental Liquid - S = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) / T - RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T + P / 1000 / Me.AUX_LIQDENS(T, Vx) / T + S = AUX_INT_CPDTm_L(298.15, T, Me.AUX_CONVERT_MOL_TO_MASS(Vx)) / T - RET_HFUSM(Me.AUX_CONVERT_MOL_TO_MASS(Vx), T) / T + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) / T End Select End If End If diff --git a/DWSIM.Thermodynamics/PropertyPackages/Ideal.vb b/DWSIM.Thermodynamics/PropertyPackages/Ideal.vb index 34d82e98e..45f910bbf 100644 --- a/DWSIM.Thermodynamics/PropertyPackages/Ideal.vb +++ b/DWSIM.Thermodynamics/PropertyPackages/Ideal.vb @@ -613,14 +613,14 @@ Namespace PropertyPackages Dim H As Double If st = State.Liquid Then - H = Me.m_id.H_RA_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Hid(298.15, T, Vx), Me.RET_VHVAP(T)) + P / 1000 / Me.AUX_LIQDENS(T, Vx) + H = Me.m_id.H_RA_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Hid(298.15, T, Vx), Me.RET_VHVAP(T)) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) ElseIf st = State.Vapor Then H = Me.m_id.H_RA_MIX("V", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Hid(298.15, T, Vx), Me.RET_VHVAP(T)) ElseIf st = State.Solid Then If SolidPhaseEnthalpy_UsesCp Then H = CalcSolidEnthalpyFromCp(T, Vx, DW_GetConstantProperties) Else - H = Me.m_id.H_RA_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Hid(298.15, T, Vx), Me.RET_VHVAP(T)) + P / 1000 / Me.AUX_LIQDENS(T, Vx) - Me.RET_HFUSM(AUX_CONVERT_MOL_TO_MASS(Vx), T) + H = Me.m_id.H_RA_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Hid(298.15, T, Vx), Me.RET_VHVAP(T)) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) - Me.RET_HFUSM(AUX_CONVERT_MOL_TO_MASS(Vx), T) End If End If @@ -699,14 +699,14 @@ Namespace PropertyPackages Dim S As Double If st = State.Liquid Then - S = Me.m_id.S_RA_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Sid(298.15, T, P, Vx), Me.RET_VHVAP(T)) + P / 1000 / Me.AUX_LIQDENS(T, Vx) / T + S = Me.m_id.S_RA_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Sid(298.15, T, P, Vx), Me.RET_VHVAP(T)) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) / T ElseIf st = State.Vapor Then S = Me.m_id.S_RA_MIX("V", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Sid(298.15, T, P, Vx), Me.RET_VHVAP(T)) ElseIf st = State.Solid Then If SolidPhaseEnthalpy_UsesCp Then S = CalcSolidEnthalpyFromCp(T, Vx, DW_GetConstantProperties) / T Else - S = Me.m_id.S_RA_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Sid(298.15, T, P, Vx), Me.RET_VHVAP(T)) + P / 1000 / Me.AUX_LIQDENS(T, Vx) / T - Me.RET_HFUSM(AUX_CONVERT_MOL_TO_MASS(Vx), T) / T + S = Me.m_id.S_RA_MIX("L", T, P, Vx, RET_VKij(), RET_VTC, RET_VPC, RET_VW, RET_VMM, Me.RET_Sid(298.15, T, P, Vx), Me.RET_VHVAP(T)) + P / 1000 / Me.AUX_LIQDENS(T, Vx, P) / T - Me.RET_HFUSM(AUX_CONVERT_MOL_TO_MASS(Vx), T) / T End If End If diff --git a/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.en.resx b/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.en.resx index 80d2661a5..2d55855b5 100644 --- a/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.en.resx +++ b/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.en.resx @@ -117,6 +117,10 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 2 + 90, 13 @@ -127,21 +131,33 @@ Name + + 0 + 194, 13 Ideal Gas Enthalpy of Formation (298 K) + + 5 + 216, 13 Ideal Gas Gibbs Energy of Formation (298 K) + + 6 + 96, 20 + + 4 + 0 @@ -164,6 +180,9 @@ 96, 20 + + 3 + 0 @@ -179,15 +198,24 @@ Ideal Gas Formation Data is optional and must be entered only if the compound is reactive. + + 8 + Export to JSON File + + 7 + Cancel Formula + + 1 + Quick Create New Solid Compound diff --git a/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.resx b/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.resx index 1a8e40f6d..e6b614234 100644 --- a/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.resx +++ b/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.resx @@ -130,15 +130,15 @@ 205, 13 - - TextBoxDensity + + 75, 23 111 - - * Os dados de formação são opcionais e devem ser informados caso a substância seja utilizada em um Reator de Gibbs. + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 TextBoxDGF @@ -149,9 +149,6 @@ $this - - 75, 23 - Label50 @@ -186,8 +183,8 @@ Right - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 92, 13 0 @@ -201,9 +198,6 @@ 9 - - True - Use esta ferramenta para criar uma substância/componente que sempre permanecerá no estado sólido em todas as etapas do processo. @@ -213,9 +207,6 @@ kg/m3 - - 46, 13 - 115 @@ -228,9 +219,6 @@ Label17 - - 11 - 100, 20 @@ -249,12 +237,12 @@ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this + 21 - - NoControl - Massa Específica @@ -264,9 +252,6 @@ TextBoxFormula - - $this - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -276,6 +261,9 @@ 274, 70 + + 14 + True @@ -294,8 +282,8 @@ $this - - 15 + + NoControl 46 @@ -339,8 +327,8 @@ NoControl - - True + + Button1 274, 162 @@ -369,8 +357,11 @@ $this - - 114 + + * Os dados de formação são opcionais e devem ser informados caso a substância seja utilizada em um Reator de Gibbs. + + + 44, 13 kJ/kg @@ -390,12 +381,6 @@ kg/kmol - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 80 - $this @@ -405,18 +390,21 @@ NoControl - - 109 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 11 Exportar para JSON + + 38, 13 + 44 - - $this - NoControl @@ -435,9 +423,6 @@ Criar Novo Sólido - - $this - 148, 20 @@ -447,11 +432,14 @@ 7 - - Button1 + + $this - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 116 + + + 6 20 @@ -459,8 +447,8 @@ Label53 - - System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + TextBoxDensity Energia de Gibbs de Formação (Gás Ideal a 25 C) * @@ -468,21 +456,18 @@ True - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - 274, 243 - - 0 - - - 14 + + True System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 100, 20 + 96, 20 @@ -516,9 +501,6 @@ 17 - - 83 - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -531,9 +513,15 @@ $this + + 421, 40 + $this + + 109 + 16 @@ -546,15 +534,15 @@ 4 - - $this - $this Label22 + + 5 + 376, 134 @@ -576,8 +564,11 @@ 79 - - 92, 13 + + 83 + + + Button2 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -603,8 +594,8 @@ 10 - - 116 + + 15 113 @@ -645,23 +636,26 @@ 3 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Right 274, 193 - - $this + + 114 lblDGF - - Button2 + + NoControl - - Right + + $this + + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 12, 303 @@ -669,8 +663,8 @@ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 6 + + $this 421, 27 @@ -705,8 +699,8 @@ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 38, 13 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Label2 @@ -717,26 +711,26 @@ $this - - 421, 40 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 376, 167 - - 44, 13 + + 46, 13 - - NoControl + + True - - 5 + + 80 18 - - $this + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 96, 20 @@ -744,14 +738,17 @@ 43 - - 100, 20 + + 0 NoControl - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 12, 197 @@ -759,8 +756,11 @@ TextBoxCp - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this + + + $this 274, 131 diff --git a/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.vb b/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.vb index fe1b2eb02..79eeaa8fd 100644 --- a/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.vb +++ b/DWSIM/Forms/CompoundCreator/FormCreateNewSolid.vb @@ -22,9 +22,9 @@ Public Class FormCreateNewSolid cmp.Critical_Pressure = 10000000000.0 cmp.Acentric_Factor = 0.5 - cmp.VaporPressureEquation = 1.0E-20 - cmp.Vapor_Pressure_Constant_A = 0.0 - cmp.VaporPressureEquation = "1" + cmp.VaporPressureEquation = "2" + cmp.Vapor_Pressure_Constant_A = 0.0001 + cmp.Vapor_Pressure_Constant_B = 0.0000001 cmp.SolidHeatCapacityEquation = "1" @@ -32,7 +32,7 @@ Public Class FormCreateNewSolid cmp.Formula = TextBoxFormula.Text cmp.Molar_Weight = Convert.ToDouble(TextBoxMW.Text) cmp.SolidDensityAtTs = Convert.ToDouble(TextBoxDensity.Text) - cmp.Solid_Heat_Capacity_Const_A = Convert.ToDouble(TextBoxCp.Text) + cmp.Solid_Heat_Capacity_Const_A = Convert.ToDouble(TextBoxCp.Text) * 1000.0 * cmp.Molar_Weight cmp.IG_Enthalpy_of_Formation_25C = Convert.ToDouble(TextBoxDHF.Text) cmp.IG_Gibbs_Energy_of_Formation_25C = Convert.ToDouble(TextBoxDGF.Text) diff --git a/DWSIM/Forms/FormSimulWizard.en.resx b/DWSIM/Forms/FormSimulWizard.en.resx index ed385cf49..fe8e16a1f 100644 --- a/DWSIM/Forms/FormSimulWizard.en.resx +++ b/DWSIM/Forms/FormSimulWizard.en.resx @@ -497,6 +497,6 @@ Click "Finish" to exit the wizard and start designing the simulation model.Create From UNIFAC Molecular Structure - 331, 114 + 331, 136 \ No newline at end of file diff --git a/DWSIM/Forms/FormSimulWizard.resx b/DWSIM/Forms/FormSimulWizard.resx index e22121d2d..7f9c9b6f3 100644 --- a/DWSIM/Forms/FormSimulWizard.resx +++ b/DWSIM/Forms/FormSimulWizard.resx @@ -117,1496 +117,1496 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + + 0 + + - - Componentes + + + + + System.Windows.Forms.DataGridViewImageColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 64, 19 + + 306, 114 + + + 715, 404 - + NoControl - - WizardPage1 - - - WizardPage2 + + 7 - - 715, 404 + + 320, 343 - - + + GroupBox6 - - dgvpp + + NoControl - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Sistema de Unidades - - cmsAddComps + + 22 - - + + ogc1 - - 5 + + LinkLabel2 - - AeroWizard.WizardPage, AeroWizard, Version=2.0.2.27955, Culture=neutral, PublicKeyToken=915e74f5d64b8f37 + + cmsAddComps - - - 6 + + WizardPage2 - - rbSDN + + - - 3, 63 + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 3 + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 txtSearch - - System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Column2 - - Componentes Adicionados + + Clique aqui para obter ajuda na seleção do Pacote de Propriedades mais apropriado para seu sistema. - - Column6 + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Criar a Partir de Estrutura Molecular UNIFAC + + NoControl - - 1 + + Supported by CoolProp Property Package - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 0, 0 - - 5 + + Procurar - - True + + 6 - - WizardPage2 + + System.Windows.Forms.DataGridViewComboBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 116, 15 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 0 + + Unidade - - Ver Componente Selecionado + + ImageBeforeText - - Button4 + + 0 - - WizardPage2 + + Não sei - - ComboBox2 + + Nome - - Adicionar + + WizardPage2 - - 26 + + Tipo - - 3, 4 + + WizardPage5 - - WizardPage3 + + 6, 4 - - 125, 58 + + 3 - - 37 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 AeroWizard.WizardPage, AeroWizard, Version=2.0.2.27955, Culture=neutral, PublicKeyToken=915e74f5d64b8f37 - - 10 + + 305, 22 - - Importar de Arquivo JSON + + 4 + + + Não + + + 320, 23 + + + Button4 WizardPage2 - - PanelSolids + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 7 + + 913, 559 - - 7, 42 + + 516, 343 - - rbSYes + + DataGridViewTextBoxColumn2 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Bem-vindo ao assistente de configuração da simulação. + +Clique em "Próximo" para continuar. - - Propriedade + + WizardPage3 - - Clique aqui para conhecer os métodos e equações utilizadas pelos pacotes para calcular as propriedades dos fluidos. + + ID - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Column3 - - 3 + + WizardPage5 - - 6, 90 + + Column5 - + + True + + - - Introdução + + 1 - - Description + + No. CAS - - 0 + + PanelSolids - - FormConfigWizard + + System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Unidade + + rbSDN - - Column17 + + - - 2 + + 0 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + GrowAndShrink - - NoControl + + 64, 19 - - NoControl + + Clonar - - 183, 3 + + 4, 6 - - + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - NoControl + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 700, 24 + + WizardPage2 - - + + 3, 19 - - txtAdded + + False - - 619, 15 + + 305, 22 - - 4, 6 + + 2 - - 354, 42 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ID + + ToolTip1 - - ToolStripMenuItem1 + + - - Bottom + + 20 - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + - - Importar de Fontes Online + + 913, 559 - - WizardPage5 + + - - 346, 58 + + Column12 - - 1 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 0 + + 305, 22 - - WizardPage5 + + Column4 - + + 7, 46 + + - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + AeroWizard.WizardPage, AeroWizard, Version=2.0.2.27955, Culture=neutral, PublicKeyToken=915e74f5d64b8f37 - - Propriedade + + 190, 23 - - + + 116, 15 - - Label4 + + Selecione o Sistema de Unidades desejado para a sua simulação. Você poderá modificar unidades se escolher um sistema diferente de SI, CGS ou ENG. +Clique em "Finalizar" para sair e iniciar a simulação. - - 96, 96 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Column11 + + 75, 23 - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + False - - 2 + + Adicionar de Outras Fontes > - - + + 3 - - 4 + + 3 - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Unidade - - 45, 19 + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + + Adicionar WizardPage5 - - 2 + + Vertical - - 7, 326 + + - - WizardPage3 + + WizardPage2 - - 3, 250 + + 715, 404 - - 427, 58 + + WizardPage3 - - Procurar + + AeroWizard.StepWizardControl, AeroWizard, Version=2.0.2.27955, Culture=neutral, PublicKeyToken=915e74f5d64b8f37 - - 38 + + 1 - - WizardPage1 + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Button1 + + True - - 1 + + - - Origem + + Sim - - Label3 + + - - 3 + + 26 - - ImageBeforeText + + btnCreateNewUnits - - System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Fórmula - - &Próximo > + + WizardPage5 - - + + Propriedade - - + + Criar a Partir de Curvas de Destilação de Petróleo - - Sistema de Unidades + + 3, 19 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 33 - - 356, 278 + + 47, 19 - - 350, 256 + + - - Pacotes Adicionados + + Column7 - - 2 + + NoControl - + + casno + + 0 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 4, 6 - - - Name - - + - - + + False - - 6 + + 0 - - WizardPage2 + + - - WizardPage2 + + Origem - - ID + + Criar Novo - - Label6 + + 174, 15 - - Adicionado + + 151, 15 - - 189, 25 + + System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Configure - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 3, 19 + + 25 214, 23 - - 306, 114 - - - 0 - - - - - - 1 - - - 7 - - - LinkLabel2 + + WizardPage2 - - 4, 348 + + PanelSolids - - Fill + + 5 - - 0, 0 + + NoControl - - PanelSolids + + Clique para visualizar informações sobre o componente selecionado na lista à esquerda. - - WizardPage5 + + ID - - + + True - - 190, 23 + + 679, 50 - - + + WizardPage1 - - 22 + + Nome - - 4 + + ComboBox2 - - 1 + + 75, 23 - - + + MiddleLeft - - Fórmula + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Column5 + + 715, 404 - - 913, 559 + + 45, 19 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.DataGridViewCheckBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 4, 376 + + Label8 - + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + + 6 - - 698, 291 + + WizardPage3 - - 252, 23 + + 305, 22 - - 7, 46 + + 3, 5 - - Label8 + + Bottom - - System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + PanelSolids - - 20 + + Label3 - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 370 - - PanelSolids + + Button1 - - 1 + + 4 - - False + + Importar de Arquivo JSON - + False - - DataGridViewTextBoxColumn1 + + LinkLabelPropertyMethods - + - - 3 + + 2 - - System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 37 - - WizardPage2 + + 2 - - 0 + + NoControl - - Label1 + + GroupBox6 - - System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Fill - - System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 619, 15 - - + + Sistema de Unidades - + + GroupBox6 + + 2 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - GroupBox6 + + 698, 291 - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + - - Column8 + + 183, 3 - - ID + + System.Windows.Forms.DataGridViewCheckBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - DataGridViewTextBoxColumn3 + + NoControl - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 427, 58 - - Unidade + + 52, 15 - - Clonar + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Column18 + + - - Clique aqui para obter ajuda na seleção do Pacote de Propriedades mais apropriado para seu sistema. + + Top, Left, Right - - 25 + + System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + Retorna para a página anterior + + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Componentes + + + + + + FormSimulWizard + + WizardPage3 - - True + + colAdd - + True - - NoControl + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Column9 + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - WizardPage5 + + Column17 - - False + + 0 - + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Column12 + + &Próximo > - - + + 540, 15 - - Nome + + 356, 278 - - + + 0 - - NoControl + + btnCloneUnits - - + + WizardPage3 - - True + + 1 - - 708, 37 + + txtAdded - - + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 0 + + 4, 376 - - 0 + + Column9 - - WizardPage2 + + Selecione e adicione os Pacotes de Propriedades que deseja utilizar na simulação. O primeiro da lista será selecionado por padrão por todos os objetos do fluxograma. Clique em "Próximo" para continuar. - - 320, 23 + + - + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Pacote de Propriedades - - - 5 - ToolStripMenuItem4 - - ToolTip1 + + 4, 6 - - 8 + + DataGridView1 - - 0 + + NoControl - - 544, 23 + + Label5 - - True + + 679, 107 - - 1 + + 708, 37 - - 706, 38 + + 2 - - 15 + + - - btnCreateNewUnits + + - - Column4 + + True - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 39 - - 43 + + Introdução - - 1 + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 335, 25 + + Column10 - - 0 + + - - btnInfoLeft + + CriarAPartirDeEstruturaUNIFACToolStripMenuItem - + 3 - - colAdd + + 5 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 3, 4 - - 1 + + Column6 - - 679, 50 + + rbSNo - - 161, 372 + + 5 - + 3 - - WizardPage1 + + 544, 23 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Label7 - - + + Column1 - - 1 + + Column8 - - Selecione e adicione os Pacotes de Propriedades que deseja utilizar na simulação. O primeiro da lista será selecionado por padrão por todos os objetos do fluxograma. Clique em "Próximo" para continuar. + + 4, 348 - - Top, Left, Right + + ToolStripMenuItem3 - - + + True - - Adicionar de Outras Fontes > + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ogc1 + + 3 - - 2 + + System.Windows.Forms.DataGridViewButtonColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ToolStripMenuItem2 + + - - 715, 404 - - - Selecione o Sistema de Unidades desejado para a sua simulação. Você poderá modificar unidades se escolher um sistema diferente de SI, CGS ou ENG. -Clique em "Finalizar" para sair e iniciar a simulação. - - - AeroWizard.StepWizardControl, AeroWizard, Version=2.0.2.27955, Culture=neutral, PublicKeyToken=915e74f5d64b8f37 - - - Tipo - - - - - - - AAABAAEAMDAAAAEAGACoHAAAFgAAACgAAAAwAAAAYAAAAAEAGAAAAAAAAAAAAEgAAABIAAAAAAAAAAAA - AACadUmadEqadUmadUiXc0aWcUWXckaYc0ebdkqfek+ge1Gee1CdeU+dflKggFWiglejglujglujg1yj - hV2jhF2jhF2khl+jhF2lhV6mhl+nhl+lhFyig1iig1efgFWhflSiflSifVOifFKiflOjgFWkgVakgVak - gVeig1umhV6oiWGqi2Sri2Wqi2SqimWoh2KadkiZdEeZdEeXckWWckWXdEiceU+gfVGjf1SkgFakgVyl - gl2kgVyjhFylhl6lh1+lhmGlhmGmh2GkimKmi2SnjGWqi2SoiWKoiWKpimOpimOpi2Sni2KniWClh16o - hVykgVmjgFikgVakgValg1img1qnhV2nhV2mhl+pimOsjWarjWmtj2qvkW2ukG+tjm2YdESWckKWckKX - c0OZdUigfVKggFmlglmohVyoh16lh2Slh2SliGWmiWaniWanimemimini2mojGqpjWurj22skG2vkGys - jmmrjmitj2qsjmmtkGurkGqrkGuuk22sj2moimWoiWSohl2nhVuohV2nh2GpiWSqimaqjWiukGuwk2+v - k3GuknGxlXSwlnevlnaWckKXc0OXc0Oad0ihf1SkhF+kh2SoimSpi2aqjGeqjWqpjWqqjmurj2yskG2t - kW6skG6ukm+vk3Cvk3CvlHGwlHKwlXSwlXSvlHKuk3Kvk3OvlHOxlXSwlXSylnWyl3WzmHawlHKvkW2s - jmmpimasjWqvj22uj22tknCwlXSzmHezl3m0mHq3m323nX61nHyWckOXckaeek2jgFSjhF6oi2epjmyr - j2yrj22skG2skG+vk3Gvk3KvlXOwlXSylnW0mHa0mHe1mXe1mXezl3e1mnqzm3yznX20nX6znH60nn+2 - noC3nX+2nH62nX+0nH61nX63nn+0mXevlHGsj22vkHKzk3W0lnixmHi1nHy4nn+4nYG6noO5noK6oIK5 - n4GXc0SgeVKkf1iohF+ni2eskG6skG6uknCwlHKwlHKylHa1mHmzmHizmnq0m3u1m3y5nX+5nX+6nYC7 - noG7noG8oYO4o4W4pIW6pYe7pYm8poq8poq8poq9qIy7pYq9pIm8ooi6oYaymXqwlXOwkm+vk3S2mnu4 - nHy4nX26n3+5n4C3ooK6pIS7pYa/pIm/pImhfU+kf1mqhV+timStkW6vk3GxlXO0mXe2m3m2m3q2mny2 - mnyzl3m1m323nX+9o4W7ooi9pIq+pYy9pIu+pYu+poy+p42/qI/AqZDAqo/BrJG/qo++qY7Aq5DDrZLF - rpjDrJa9p4+5oIW5nH+0lnezl3m1mXq3mny4m327nX+5nH24nX68oYK/pYfBpovDqI2mhFiphF6siWSx - kG2zl3W3m3u7n364nHy5nX24nX26n4G6n4G5n4G6oYS8ooa9pIi/qJDCq5PErZXErZfFrpfFrpjFrpjE - rpjEr5fDr5XFsJbFsJbFr5bGsJfIsprIs57JtaDJtqDEq5S+o4m8noK4nH+1mXq5m324mHy2lnmzk3Wz - lHS1lne4mnu3nIDDqI2qimSui2ivkXC1mXq9oYO/o4a/o4e9o4i/pYq/pYq/qI3AqI3Dq5DCqZDBqY/E - rJLEr5XEsJbEr5bKtJ7MtqDNt6HKtaDKtaDLtqDKtJ/MtZ/GsJrIs57Is53LtaDKtqLJuqXMvanPu6fI - spzCqpK+pYy9ooW8nX+4mHy1lXiyknS2k3GzkG+0kXC1lXe/oYaxknC0lXW4nYC8o4nBqI/BqZDErJPF - r5rIs53KtZ/MuaTLuaPOu6XRu6TIs5zKtJ7LuaPLuaPNu6bOu6jPvqrRwK3Rv63Sv6zRv6vPvanMuqfM - uqfNu6jNu6fOu6nSvq3QwK7TxLPTxLXTw7LNuabHsZvDq5K+o4e4mX22lnmxkXO0kW+yj26yjWywjWyz - lHW4mHy9oYPAp4zCq5PFrpnHsJvOt6LMuafQvazRv63RwK3NvqzQwq/Uwa7Ou6jTv63Rwa7SwrDWxrXY - ybnZybncy7zby7vZyrrVxrbXx7fWxrXWxbXWxrTUxLPVxLTYxbbWx7fVx7nVybzZy73WyLjYxbTPuqXI - r5e/o4i6m4C1lni0k3Kzj26tiGasiGWujGu/oonCqY7FrZPJsZnNtqHRuabRuabRu6nTvazQuqnQvKnQ - wKzUx7PayrnUxLPVxbTYybnazb/e08bh1cng1cji1srh1cnf08fe08bf0sXe0cPe0cLd0MDdzb7dzL3d - z8DYzL3bzb/azr/e0MLe0cTd0cTdz7/WxLHKsp3DqI+8n4O5m361lHOvi2mtimmtimnHrZfKtJ3Nt6DU - vabXv6vTu6fNtaHPt6PPt6POt6TWwrLcy7vczbzbzb7bzb7h08Xj2Mzk29Hn39jo4Njp4Nnp4dnp4dnp - 4dnp4dnq39fo3tXm3dPj2s/i1szj1cvh1cne08fe0sXh1Mbh1Mbg08Xk2cvl283g1snXx7nKtKHGq5K+ - o4q7nYC2lHWzkXCxjm3RuaTUu6fNtqHPuaTLtJ/Ks5/NtaHOt6LRuqbaxLLcybrdzL3dzb/f0cXf08bm - 2c7l2tHr49zr5uHt5+Lt5+Lt5+Ls5uLs5+Pt5+Pv6OLv6OHu6OHu59/r49zp4Njo39bn3dPl28/k2Mzm - 2s3l18rm18vp29Dm2tLk2c/dyrrSuqXKsZzEqI/DpIm8m326l3jNt6HNsp7Msp7Jr5zSt6LJsZzPtqHT - vKjWwrHayLnez77h0cPl1Mnk1cnl2M7p3dTp3NXv5t/w6+by7Ofz7ejx6+fx7Onw7Onx7enz7unz7unz - 7eny7ejy7efw6uXv6eLs5Nzn3dbq39fs39Xq3NDq2tLn2M/p2s/l2Mrm1sjeyr3XwbDUu6jKr5rBpo3A - oYXGrZnNsp7NtKDPtaLUuKbPtaPTuabUuqfVvq3cx7rhz8Pj1svm29Hq4Nft49zu5uDu5+D27ur17uvz - 7ejy7Ofz7unz7uv07+z38u/38u/38u/38u/38u/28u718u718u7z7uny6+bw5uDu49zr39bs39Xp29Hq - 2tHm1srn18rj1cfj0cbizb/ZwrLPtaPMrprJr5vUu6fRuKTawK3XvK3Tt6jUuajQtaLTvKzdybzn18zt - 4drx6eH06+T17un07+r08Ovy7ur27+zz7ejz7ej07un07+z18O328e769fL59vL59/T69vT59vT49fP4 - 9vX49PP48/H28Ozz6+by6OLt4tnr3tXr29Hj0sfk1Mjl2Mzm1c3h0MTZxrrdxLbXva3TuaXUu6rOuKfR - uqvYvq7RtqXXuqfTvKrbybnp2s706eL48u748ezx6eTu5uL07Ojx7Ojz7uv07+z28Ov48e338Oz28e73 - 8vH48/H38+/29PL6+fb7+fj7+fj6+Pf7+fj7+fn6+Pj69vX48/D17+zx6uPu5N3u39fo2M7h0cfl1Mrl - 08ffzL3m1cjaxrncyLvPtaTVvazRt6XSuKXUuqnRuarcxbfizsLp3tT07eb79vT79/by7Ojx6uX17Oj3 - 7ur07+z28e718O338e/48/D28e/59PL59PL79vP49PL49PP38vD8+vn9+/r9+/r9+/r8+vr8+vr8+vr9 - +fj79/X18O7v6eXv5N7t3tbo2dHn2NDh0cbayLvr29Dq2tLZyLzWwbH39PDi187WwLDeyLvl1s3s3dbx - 49z17ef49fD69fL48vD27+r18O318Oz18O328e348/D48/D59PP59PP59PL69PH79vT69vT79/b59PP4 - 8fD49vX9+/r//Pv9/Pv8+/v8+/v+/Pz/+/v++/r7+Pf49fL07On06OLt4drq3dbl1Mnk0sXm18/o29Xt - 3dPezMH5+ff6+PbfzsPp2dD39O/59vT8+PX49PL69/T79/X79/X69vX8+vn8+/v7+vn7+Pb49fL49PL5 - 9fP59vT49PL79vP69fT59fX69vP59PP59PP58vD17+369fT9/Pz9+/v+/fz+/fv++/r59vX59fT7+ff6 - 9fP47+vz6uTv5N3t3dXo2M/x5N/x5d/26uPy7uf9/vz+/vz28u7m2NDv49z39PH+/v39/vz9/f3+/v7+ - /v39/v39/v79/v79/v7+//7+//7+/v3+/v3+/v39/fz7+fn49fX89/f69fP48/H89vP79PD68u/28O32 - 8vD38/H49PH48+/48+/48u/79/b8+vn89/X58/D37+v16+bz6eTy5+L79fL79fP79vT6+Pf+/v7+/v79 - /v728vDw5+T49fH8/Pv+//3+//7///7//v///v////7///7+/v7//v///v/////+/v7+/v7+/v7+/v78 - /Pz49fT79fP79fL69fP69fP28fD48vH68/D58u/68u/48Oz58u358e369fP69/X9+Pf79/X48/D58u/2 - 8Oz27+z79/b+/fz9/Pz//////////////////v7+/Pz8+/v+//7+///+/v7///////////////////// - ///////////////////////////+///+/v76+Pn59fL18O748/H68/L38vH48vH48e/48e738O338e74 - 8u758+/68/H69fP89/b7+vn9+/r8+Pf79/T89/b79/X69vT8+vn///////////////////////////// - //7//v7+/v3+//7////////////////////////////////////////////+/////////v7+/v39/fz8 - +vn38vD59PP18O758/L48vH59PP59fT69/X7+ff69/T59fL69fP49fX++/r8+vn9+/n9+/r9+/r79/X5 - 9PH////////////////////////////////39/Tu6+b///////////////////////////////////// - ///////////+///////////////////9/Pz79/b79/b69vX8+Pn8+vr+/f3+/v7+/v7//v7+/v38+/r5 - 9vT69PT79vb8+fj9+vn++/v9+/r++/r79/X////////////////////////////+///9/v79/f3+//// - ///////////////////////////////////////////////////////////////////+/v79/Pz+/f3+ - /v7////////////////////+/v7+/v76+fn28O769fT79vb79/b9+ff79/X9+Pf79vX///////////// - ///////////////8/v729fP7/Pv9/fv+//////////////////////////////////////////////// - ///////////////////////////////////////////////////+/v7////+/v7+/v78/Pv49fT59PL6 - 9PL59PH69PH38ez17ur////////////////////////////5+PXx7ej19fLp5+P///////////////// - /////////////////////////////////////////////////////////v7///////////////////// - ///////////////////+/v7+///+/v36+PX08O338e327uj06uT////////////////////////+/v3T - yLf08e3+/v3+/v7///////////////////////////////////////////////////////////////// - ///////////////////////////////////////////////////////////////+/v7+/v77+vjz8O3x - 5+P////////////////////////8/Pvz8er8/v3+/v7///////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - ///////////////////+/v7+/v7+/v739PP+/v7////////////////+/v749/X5+Pj+/v7//v////// - //////////////////////////////////////////////////////////////////////////////// - ///////////////////////////////////////////////////+/v77+/n+///9/v77+/r////////+ - /v35+fft6ubv7ej29vX08/L///3///////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - ///////////////////29PP////////+//79/v38/Prz8/L9/v7+///+//////////////////////// - //////////////////////////////////////////////////////////////////////////////// - ///////////////////////////////////////////////////+/v7////////4+fn////+/v7+/v7/ - //////////////////////////////////////////////////////////////////////////////// - ///////////////////////////////////////////////////+///+//////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - ///9///+/v7+//////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - ///////////////////////////////////8/v3u7OX8/fz////////////////////+//////////// - ///////////////////////////////////////////////////+/v7///////////////////////// - ///////////////////////////////////////////////////////////////////9/v7t7Ob8/fz9 - /fv+/v7////////////+/v7////////////////////////9/f3///////////////////////////// - ///29/X+/v3///////////////////////////////////////////////////////////////////// - //////////////////////////////7y8e79/v3+///////////+/v////////////////////////// - ///////////////////////////////////5+ff+/v3///////////////////////////////////// - ///////////////////////////////////////////////////////////////+//7///////////// - ///+/v7////+///////////////////////////////////////////////////////+/v7+//////// - //////////////////////////////////////////////////////////////////////////////// - ///////////////////////////////////8/Pz+///+/v78/Pz9/f3+/v7///////////////////// - //////////////////////////////////////////////////////////////////////////////// - ///////////////////////////////////////////////////////////////////////9///////2 - 9vb7+/v+/v7///////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - ///////////+/v7///////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - //////////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= - - - - 679, 107 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True + + NoControl - - 75, 23 + + 22 - - True + + 341, 278 - - System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 700, 24 - - casno + + WizardPage2 - - 3 + + Clique aqui para conhecer os métodos e equações utilizadas pelos pacotes para calcular as propriedades dos fluidos. - - + + 7, 356 - - True + + Pacotes Disponíveis - - 39 + + 7, 42 - - Criar a Partir de Curvas de Destilação de Petróleo + + Column18 - + NoControl - - 305, 22 - - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - True - - - Column7 + + 240, 150 - - Sim + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - DataGridView1 + + 62, 343 - - Nome + + WizardPage2 - - WizardPage3 + + NoControl - - WizardPage3 + + 20 - + - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - False + + Description - - + + 4 - - 7, 380 + + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Supported by CoolProp Property Package + + 0 - - 7, 356 + + WizardPage1 - - Bem-vindo ao assistente de configuração da simulação. - -Clique em "Próximo" para continuar. + + 234, 3 - - System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 2 - - System.Windows.Forms.DataGridViewComboBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + WizardPage3 - - 151, 15 + + 335, 25 - - 174, 15 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 3, 5 + + 702, 308 - - WizardPage2 + + 7 - - + + 4 - - FormSimulWizard + + 354, 42 - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Fechar e ir para a Janela de Configuração da Simulação - - GrowAndShrink + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - DataGridViewTextBoxColumn2 + + - - GroupBox6 + + 2 - - 287, 3 + + 7, 380 - - Pacotes Disponíveis + + 3, 250 - - Label7 + + WizardPage3 - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 161, 372 - - System.Windows.Forms.DataGridViewButtonColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 8 - - 24 + + True - - Column1 + + DataGridViewTextBoxColumn1 - - NoControl + + PanelSolids - - CriarAPartirDeEstruturaUNIFACToolStripMenuItem + + Ver Componente Selecionado - - 75, 23 + + - - System.Windows.Forms.DataGridViewCheckBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + - - 0 + + 5 - - DataGridViewPP + + ToolStripMenuItem1 - - NoControl + + - - LinkLabelPropertyMethods + + 189, 25 - - Retorna para a página anterior + + 4 - - Criar a Partir de Amostra de Petróleo Bruto C7+ + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - WizardPage3 + + 7, 326 - - + + 2 - - 305, 22 + + CP - + 715, 404 - - 341, 278 + + 10 - - NoControl + + StepWizardControl1 - - False + + Column16 - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + WizardPage1 - - System.Windows.Forms.DataGridViewCheckBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + GroupBox12 - - + + 92 - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 0 - - 20 + + Selecione os componentes que deseja adicionar à simulação. Utilize a caixa de texto para procurar e selecionar um componente na lista. Clique em "Próximo" para continuar. - - btnCloneUnits + + btnInfoLeft - - Fechar e ir para a Janela de Configuração da Simulação + + True - - NoControl + + 287, 3 - - WizardPage3 + + AeroWizard.WizardPage, AeroWizard, Version=2.0.2.27955, Culture=neutral, PublicKeyToken=915e74f5d64b8f37 - + - - 4 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - Clique para visualizar informações sobre o componente selecionado na lista à esquerda. + + - - Button8 + + False - - Selecione os componentes que deseja adicionar à simulação. Utilize a caixa de texto para procurar e selecionar um componente na lista. Clique em "Próximo" para continuar. + + 0 - - True + + WizardPage5 - - Column2 + + - - Criar Novo + + Adicionado - - Column3 + + Pacote de Propriedades - - Label2 + + &Finalizar - - Tipo + + DataGridViewPP - - 5 + + 346, 58 - - Não + + Label4 - - 234, 3 + + FormConfigWizard - - MiddleLeft + + Column11 - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 125, 58 - - WizardPage5 + + DataGridViewTextBoxColumn3 - - CP + + System.Windows.Forms.DataGridViewComboBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + + Importar de Fontes Online - - GroupBox6 + + 0 - - 92 + + 9, 368 - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + &Cancelar - - 305, 22 + + 6, 90 - - 6 + + 3 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Assistente de Configuração da Simulação - - Sistema de Unidades + + 1 - - 2 + + + + + ID System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 913, 559 + + 43 - - 52, 15 + + WizardPage2 - - NoControl + + 350, 256 - - WizardPage5 + + 23 - - 6, 4 + + ToolStripMenuItem2 - - 540, 15 + + NoControl - - 516, 343 + + 252, 23 - - $this + + Criar a Partir de Estrutura Molecular UNIFAC - - AeroWizard.WizardPage, AeroWizard, Version=2.0.2.27955, Culture=neutral, PublicKeyToken=915e74f5d64b8f37 + + System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - rbSNo + + NoControl - - StepWizardControl1 + + 6 - - 320, 343 + + Esta simulação envolve sólidos? - - 4 + + dgvpp - - 22 + + 1 - - 3, 19 + + NoControl - - System.Windows.Forms.DataGridViewImageColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Pacotes Adicionados - - 4 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - NoControl + + AeroWizard.WizardPage, AeroWizard, Version=2.0.2.27955, Culture=neutral, PublicKeyToken=915e74f5d64b8f37 - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Não sei + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Vertical + + System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Column10 + + 15 - - Column16 + + - - System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 1 - - Label5 + + rbSYes - - &Cancelar + + Label6 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 96, 96 - - No. CAS + + Tipo - - 0 + + Name - + - - 715, 404 + + True - - NoControl + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 23 + + 1 - - 240, 150 + + 1 - - 62, 343 + + Propriedade - - System.Windows.Forms.DataGridViewComboBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 3, 63 + + + System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GroupBox12 True - - 33 + + 305, 22 - - PanelSolids + + NoControl - - 305, 22 + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ToolStripMenuItem3 + + 0 - - Esta simulação envolve sólidos? + + Criar a Partir de Amostra de Petróleo Bruto C7+ + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + WizardPage5 - - 370 + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 40 + + True - - AeroWizard.WizardPage, AeroWizard, Version=2.0.2.27955, Culture=neutral, PublicKeyToken=915e74f5d64b8f37 + + Componentes Adicionados - - 2 + + 706, 38 - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 702, 308 + + Button8 - - NoControl + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - &Finalizar + + Label1 - - GroupBox12 + + WizardPage5 - - PanelSolids + + 24 - - + + 38 - - System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 1 - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 40 - - 47, 19 + + PanelSolids - - 9, 368 + + System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - GroupBox12 + + 1 - - Assistente de Configuração da Simulação + + + AAABAAEAMDAAAAEAGACoHAAAFgAAACgAAAAwAAAAYAAAAAEAGAAAAAAAAAAAAEgAAABIAAAAAAAAAAAA + AACadUmadEqadUmadUiXc0aWcUWXckaYc0ebdkqfek+ge1Gee1CdeU+dflKggFWiglejglujglujg1yj + hV2jhF2jhF2khl+jhF2lhV6mhl+nhl+lhFyig1iig1efgFWhflSiflSifVOifFKiflOjgFWkgVakgVak + gVeig1umhV6oiWGqi2Sri2Wqi2SqimWoh2KadkiZdEeZdEeXckWWckWXdEiceU+gfVGjf1SkgFakgVyl + gl2kgVyjhFylhl6lh1+lhmGlhmGmh2GkimKmi2SnjGWqi2SoiWKoiWKpimOpimOpi2Sni2KniWClh16o + hVykgVmjgFikgVakgValg1img1qnhV2nhV2mhl+pimOsjWarjWmtj2qvkW2ukG+tjm2YdESWckKWckKX + c0OZdUigfVKggFmlglmohVyoh16lh2Slh2SliGWmiWaniWanimemimini2mojGqpjWurj22skG2vkGys + jmmrjmitj2qsjmmtkGurkGqrkGuuk22sj2moimWoiWSohl2nhVuohV2nh2GpiWSqimaqjWiukGuwk2+v + k3GuknGxlXSwlnevlnaWckKXc0OXc0Oad0ihf1SkhF+kh2SoimSpi2aqjGeqjWqpjWqqjmurj2yskG2t + kW6skG6ukm+vk3Cvk3CvlHGwlHKwlXSwlXSvlHKuk3Kvk3OvlHOxlXSwlXSylnWyl3WzmHawlHKvkW2s + jmmpimasjWqvj22uj22tknCwlXSzmHezl3m0mHq3m323nX61nHyWckOXckaeek2jgFSjhF6oi2epjmyr + j2yrj22skG2skG+vk3Gvk3KvlXOwlXSylnW0mHa0mHe1mXe1mXezl3e1mnqzm3yznX20nX6znH60nn+2 + noC3nX+2nH62nX+0nH61nX63nn+0mXevlHGsj22vkHKzk3W0lnixmHi1nHy4nn+4nYG6noO5noK6oIK5 + n4GXc0SgeVKkf1iohF+ni2eskG6skG6uknCwlHKwlHKylHa1mHmzmHizmnq0m3u1m3y5nX+5nX+6nYC7 + noG7noG8oYO4o4W4pIW6pYe7pYm8poq8poq8poq9qIy7pYq9pIm8ooi6oYaymXqwlXOwkm+vk3S2mnu4 + nHy4nX26n3+5n4C3ooK6pIS7pYa/pIm/pImhfU+kf1mqhV+timStkW6vk3GxlXO0mXe2m3m2m3q2mny2 + mnyzl3m1m323nX+9o4W7ooi9pIq+pYy9pIu+pYu+poy+p42/qI/AqZDAqo/BrJG/qo++qY7Aq5DDrZLF + rpjDrJa9p4+5oIW5nH+0lnezl3m1mXq3mny4m327nX+5nH24nX68oYK/pYfBpovDqI2mhFiphF6siWSx + kG2zl3W3m3u7n364nHy5nX24nX26n4G6n4G5n4G6oYS8ooa9pIi/qJDCq5PErZXErZfFrpfFrpjFrpjE + rpjEr5fDr5XFsJbFsJbFr5bGsJfIsprIs57JtaDJtqDEq5S+o4m8noK4nH+1mXq5m324mHy2lnmzk3Wz + lHS1lne4mnu3nIDDqI2qimSui2ivkXC1mXq9oYO/o4a/o4e9o4i/pYq/pYq/qI3AqI3Dq5DCqZDBqY/E + rJLEr5XEsJbEr5bKtJ7MtqDNt6HKtaDKtaDLtqDKtJ/MtZ/GsJrIs57Is53LtaDKtqLJuqXMvanPu6fI + spzCqpK+pYy9ooW8nX+4mHy1lXiyknS2k3GzkG+0kXC1lXe/oYaxknC0lXW4nYC8o4nBqI/BqZDErJPF + r5rIs53KtZ/MuaTLuaPOu6XRu6TIs5zKtJ7LuaPLuaPNu6bOu6jPvqrRwK3Rv63Sv6zRv6vPvanMuqfM + uqfNu6jNu6fOu6nSvq3QwK7TxLPTxLXTw7LNuabHsZvDq5K+o4e4mX22lnmxkXO0kW+yj26yjWywjWyz + lHW4mHy9oYPAp4zCq5PFrpnHsJvOt6LMuafQvazRv63RwK3NvqzQwq/Uwa7Ou6jTv63Rwa7SwrDWxrXY + ybnZybncy7zby7vZyrrVxrbXx7fWxrXWxbXWxrTUxLPVxLTYxbbWx7fVx7nVybzZy73WyLjYxbTPuqXI + r5e/o4i6m4C1lni0k3Kzj26tiGasiGWujGu/oonCqY7FrZPJsZnNtqHRuabRuabRu6nTvazQuqnQvKnQ + wKzUx7PayrnUxLPVxbTYybnazb/e08bh1cng1cji1srh1cnf08fe08bf0sXe0cPe0cLd0MDdzb7dzL3d + z8DYzL3bzb/azr/e0MLe0cTd0cTdz7/WxLHKsp3DqI+8n4O5m361lHOvi2mtimmtimnHrZfKtJ3Nt6DU + vabXv6vTu6fNtaHPt6PPt6POt6TWwrLcy7vczbzbzb7bzb7h08Xj2Mzk29Hn39jo4Njp4Nnp4dnp4dnp + 4dnp4dnq39fo3tXm3dPj2s/i1szj1cvh1cne08fe0sXh1Mbh1Mbg08Xk2cvl283g1snXx7nKtKHGq5K+ + o4q7nYC2lHWzkXCxjm3RuaTUu6fNtqHPuaTLtJ/Ks5/NtaHOt6LRuqbaxLLcybrdzL3dzb/f0cXf08bm + 2c7l2tHr49zr5uHt5+Lt5+Lt5+Ls5uLs5+Pt5+Pv6OLv6OHu6OHu59/r49zp4Njo39bn3dPl28/k2Mzm + 2s3l18rm18vp29Dm2tLk2c/dyrrSuqXKsZzEqI/DpIm8m326l3jNt6HNsp7Msp7Jr5zSt6LJsZzPtqHT + vKjWwrHayLnez77h0cPl1Mnk1cnl2M7p3dTp3NXv5t/w6+by7Ofz7ejx6+fx7Onw7Onx7enz7unz7unz + 7eny7ejy7efw6uXv6eLs5Nzn3dbq39fs39Xq3NDq2tLn2M/p2s/l2Mrm1sjeyr3XwbDUu6jKr5rBpo3A + oYXGrZnNsp7NtKDPtaLUuKbPtaPTuabUuqfVvq3cx7rhz8Pj1svm29Hq4Nft49zu5uDu5+D27ur17uvz + 7ejy7Ofz7unz7uv07+z38u/38u/38u/38u/38u/28u718u718u7z7uny6+bw5uDu49zr39bs39Xp29Hq + 2tHm1srn18rj1cfj0cbizb/ZwrLPtaPMrprJr5vUu6fRuKTawK3XvK3Tt6jUuajQtaLTvKzdybzn18zt + 4drx6eH06+T17un07+r08Ovy7ur27+zz7ejz7ej07un07+z18O328e769fL59vL59/T69vT59vT49fP4 + 9vX49PP48/H28Ozz6+by6OLt4tnr3tXr29Hj0sfk1Mjl2Mzm1c3h0MTZxrrdxLbXva3TuaXUu6rOuKfR + uqvYvq7RtqXXuqfTvKrbybnp2s706eL48u748ezx6eTu5uL07Ojx7Ojz7uv07+z28Ov48e338Oz28e73 + 8vH48/H38+/29PL6+fb7+fj7+fj6+Pf7+fj7+fn6+Pj69vX48/D17+zx6uPu5N3u39fo2M7h0cfl1Mrl + 08ffzL3m1cjaxrncyLvPtaTVvazRt6XSuKXUuqnRuarcxbfizsLp3tT07eb79vT79/by7Ojx6uX17Oj3 + 7ur07+z28e718O338e/48/D28e/59PL59PL79vP49PL49PP38vD8+vn9+/r9+/r9+/r8+vr8+vr8+vr9 + +fj79/X18O7v6eXv5N7t3tbo2dHn2NDh0cbayLvr29Dq2tLZyLzWwbH39PDi187WwLDeyLvl1s3s3dbx + 49z17ef49fD69fL48vD27+r18O318Oz18O328e348/D48/D59PP59PP59PL69PH79vT69vT79/b59PP4 + 8fD49vX9+/r//Pv9/Pv8+/v8+/v+/Pz/+/v++/r7+Pf49fL07On06OLt4drq3dbl1Mnk0sXm18/o29Xt + 3dPezMH5+ff6+PbfzsPp2dD39O/59vT8+PX49PL69/T79/X79/X69vX8+vn8+/v7+vn7+Pb49fL49PL5 + 9fP59vT49PL79vP69fT59fX69vP59PP59PP58vD17+369fT9/Pz9+/v+/fz+/fv++/r59vX59fT7+ff6 + 9fP47+vz6uTv5N3t3dXo2M/x5N/x5d/26uPy7uf9/vz+/vz28u7m2NDv49z39PH+/v39/vz9/f3+/v7+ + /v39/v39/v79/v79/v7+//7+//7+/v3+/v3+/v39/fz7+fn49fX89/f69fP48/H89vP79PD68u/28O32 + 8vD38/H49PH48+/48+/48u/79/b8+vn89/X58/D37+v16+bz6eTy5+L79fL79fP79vT6+Pf+/v7+/v79 + /v728vDw5+T49fH8/Pv+//3+//7///7//v///v////7///7+/v7//v///v/////+/v7+/v7+/v7+/v78 + /Pz49fT79fP79fL69fP69fP28fD48vH68/D58u/68u/48Oz58u358e369fP69/X9+Pf79/X48/D58u/2 + 8Oz27+z79/b+/fz9/Pz//////////////////v7+/Pz8+/v+//7+///+/v7///////////////////// + ///////////////////////////+///+/v76+Pn59fL18O748/H68/L38vH48vH48e/48e738O338e74 + 8u758+/68/H69fP89/b7+vn9+/r8+Pf79/T89/b79/X69vT8+vn///////////////////////////// + //7//v7+/v3+//7////////////////////////////////////////////+/////////v7+/v39/fz8 + +vn38vD59PP18O758/L48vH59PP59fT69/X7+ff69/T59fL69fP49fX++/r8+vn9+/n9+/r9+/r79/X5 + 9PH////////////////////////////////39/Tu6+b///////////////////////////////////// + ///////////+///////////////////9/Pz79/b79/b69vX8+Pn8+vr+/f3+/v7+/v7//v7+/v38+/r5 + 9vT69PT79vb8+fj9+vn++/v9+/r++/r79/X////////////////////////////+///9/v79/f3+//// + ///////////////////////////////////////////////////////////////////+/v79/Pz+/f3+ + /v7////////////////////+/v7+/v76+fn28O769fT79vb79/b9+ff79/X9+Pf79vX///////////// + ///////////////8/v729fP7/Pv9/fv+//////////////////////////////////////////////// + ///////////////////////////////////////////////////+/v7////+/v7+/v78/Pv49fT59PL6 + 9PL59PH69PH38ez17ur////////////////////////////5+PXx7ej19fLp5+P///////////////// + /////////////////////////////////////////////////////////v7///////////////////// + ///////////////////+/v7+///+/v36+PX08O338e327uj06uT////////////////////////+/v3T + yLf08e3+/v3+/v7///////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////////////////+/v7+/v77+vjz8O3x + 5+P////////////////////////8/Pvz8er8/v3+/v7///////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////+/v7+/v7+/v739PP+/v7////////////////+/v749/X5+Pj+/v7//v////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////+/v77+/n+///9/v77+/r////////+ + /v35+fft6ubv7ej29vX08/L///3///////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////29PP////////+//79/v38/Prz8/L9/v7+///+//////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////+/v7////////4+fn////+/v7+/v7/ + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////+///+//////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///9///+/v7+//////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////8/v3u7OX8/fz////////////////////+//////////// + ///////////////////////////////////////////////////+/v7///////////////////////// + ///////////////////////////////////////////////////////////////////9/v7t7Ob8/fz9 + /fv+/v7////////////+/v7////////////////////////9/f3///////////////////////////// + ///29/X+/v3///////////////////////////////////////////////////////////////////// + //////////////////////////////7y8e79/v3+///////////+/v////////////////////////// + ///////////////////////////////////5+ff+/v3///////////////////////////////////// + ///////////////////////////////////////////////////////////////+//7///////////// + ///+/v7////+///////////////////////////////////////////////////////+/v7+//////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////8/Pz+///+/v78/Pz9/f3+/v7///////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////////////////////////9///////2 + 9vb7+/v+/v7///////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////+/v7///////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= + - - 305, 22 + + Label2 - + True - + True - + True - - True + + en - - 258, 17 + + 58 - + True - - en + + True - + True - - 17, 17 + + True - + True - + True - - 58 + + 258, 17 - - True + + 17, 17 - + True True - + True - + True - + True - + True - + True - + True - + True - + True - + True - + True \ No newline at end of file diff --git a/DWSIM/Forms/FormSimulWizard.vb b/DWSIM/Forms/FormSimulWizard.vb index a5bae4cf3..74eefe29f 100644 --- a/DWSIM/Forms/FormSimulWizard.vb +++ b/DWSIM/Forms/FormSimulWizard.vb @@ -864,18 +864,24 @@ Public Class FormSimulWizard End If - Dim added As String = "" - For Each c In CurrentFlowsheet.Options.SelectedComponents.Values - added += c.Name + ", " - Next - added = added.TrimEnd() - added = added.TrimEnd(",") - txtAdded.Text = added + UpdateAddedList() End If End Sub + Private Sub UpdateAddedList() + + Dim added As String = "" + For Each c In CurrentFlowsheet.Options.SelectedComponents.Values + added += c.Name + ", " + Next + added = added.TrimEnd() + added = added.TrimEnd(",") + txtAdded.Text = added + + End Sub + Private Sub ogc1_OnCellMouseUp(ByVal sender As Object, ByVal e As DataGridViewCellMouseEventArgs) Handles ogc1.CellMouseUp If ((e.ColumnIndex = colAdd.Index) AndAlso (e.RowIndex <> -1)) Then @@ -910,6 +916,9 @@ Public Class FormSimulWizard Next ogc1.Rows.Add(New Object() {comp.Name, True, comp.Name, comp.CAS_Number, DWSIM.App.GetComponentType(comp), comp.Formula, comp.OriginalDB, comp.IsCOOLPROPSupported}) ogc1.Sort(colAdd, System.ComponentModel.ListSortDirection.Descending) + + UpdateAddedList() + Else MessageBox.Show(DWSIM.App.GetLocalString("CompoundExists"), "DWSIM", MessageBoxButtons.OK, MessageBoxIcon.Error) End If @@ -945,6 +954,7 @@ Public Class FormSimulWizard Next ogc1.Rows.Add(New Object() {comp.Name, True, comp.Name, comp.CAS_Number, DWSIM.App.GetComponentType(comp), comp.Formula, comp.OriginalDB, comp.IsCOOLPROPSupported}) ogc1.Sort(colAdd, System.ComponentModel.ListSortDirection.Descending) + UpdateAddedList() Else MessageBox.Show(DWSIM.App.GetLocalString("CompoundExists"), "DWSIM", MessageBoxButtons.OK, MessageBoxIcon.Error) End If