Changeset 787 for branches/gui/eml/stage_separators/column.mso
- Timestamp:
- Jul 13, 2009, 4:27:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/eml/stage_separators/column.mso
r781 r787 88 88 end 89 89 90 Model Section_ColumnBasic 90 Model Section_ColumnBasicX 91 91 92 92 ATTRIBUTES … … 382 382 383 383 384 Model Section _Column384 Model SectionColumnBasic 385 385 386 386 ATTRIBUTES 387 Pallete = true; 388 Icon = "icon/SectionColumn"; 389 Brief = "Model of a column section."; 387 Pallete = false; 388 Brief = "Model of a basic column section."; 390 389 Info = 391 "== Model of a column section containing == 392 * NumberOfTrays TRAYS. 393 394 == Specify == 395 * the feed stream of each tray (Inlet); 396 * the Murphree eficiency for each tray Emv; 397 * the InletLiquid stream of the top tray; 398 * the InletVapour stream of the bottom tray. 399 400 == Initial Conditions == 401 * the TRAYS temperature (OutletLiquid.T); 402 * the TRAYS liquid level (Level) OR the TRAYS liquid flow (OutletLiquid.F); 403 * (NoComps - 1) OutletLiquid (OR OutletVapour) compositions for each tray. 404 "; 390 "Model of a basic column section containing a vetor of TRAYS numbered from the top-down."; 405 391 406 392 PARAMETERS 407 outer PP as Plugin(Brief="External Physical Properties", Type="PP");408 outer NComp as Integer(Brief="Number of components");393 outer PP as Plugin (Brief="External Physical Properties", Type="PP"); 394 outer NComp as Integer (Brief="Number of components"); 409 395 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 410 396 # Section Column Feed Tray - Side Streams Location and Numbering 411 397 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 398 NumberOfFeeds as Integer (Brief="Number of Feed Trays",Default=3,Protected=true); 399 FeedTrayLocation(NumberOfFeeds) as Integer (Brief="Feed tray Location",Default=2); 412 400 NumberOfTrays as Integer (Brief="Number of trays", Default=8); 413 FeedTrayIndex(NumberOfTrays) as Integer (Brief="Feed Tray Index", Default=0,Hidden=true);414 401 LiqSideTrayIndex(NumberOfTrays) as Integer (Brief="Liquid Side Tray Index", Default=0,Hidden=true); 415 402 VapSideTrayIndex(NumberOfTrays) as Integer (Brief="Vapour Side Tray Index", Default=0,Hidden=true); 416 FeedTrayLocation as Integer (Brief="Feed tray Location", Default=2); 403 417 404 LiquidSideStreamLocation as Integer (Brief="Liquid Side Stream Location", Default=2); 418 405 VapourSideStreamLocation as Integer (Brief="Vapour Side Stream Location", Default=2); … … 433 420 WeirLength as length (Brief="Weir length"); 434 421 WeirHeight as length (Brief="Weir height"); 435 FeeheryCoeff as Real (Brief="Feeherys correlation coefficient", Unit='1/m^4', Default=1 );436 ElgueCoeff as Real (Brief="Elgues correlation coefficient", Unit='kg/m/mol^2', Default=1 );437 OlsenCoeff as Real (Brief="Olsens correlation coefficient", Default=1 );422 FeeheryCoeff as Real (Brief="Feeherys correlation coefficient", Unit='1/m^4', Default=1,Hidden=true); 423 ElgueCoeff as Real (Brief="Elgues correlation coefficient", Unit='kg/m/mol^2', Default=1,Hidden=true); 424 OlsenCoeff as Real (Brief="Olsens correlation coefficient", Default=1,Hidden=true); 438 425 TrayLiquidPasses as Real (Brief="Number of liquid passes in the tray", Default=1); 439 426 … … 450 437 fw as Real (Brief="Olsens correlation coefficient", Default=1,Hidden=true); 451 438 Np as Real (Brief="Number of liquid passes in the tray", Default=1,Hidden=true); 452 439 453 440 VapourFlow as Switcher (Valid = ["on", "off"], Default = "on",Hidden=true); 454 441 LiquidFlow as Switcher (Valid = ["on", "off"], Default = "on",Hidden=true); 455 442 456 443 SET 457 FeedTrayIndex(FeedTrayLocation) =1; 458 VapSideTrayIndex(FeedTrayLocation) =1; 459 LiqSideTrayIndex(FeedTrayLocation) =1; 444 VapSideTrayIndex(VapourSideStreamLocation) =1; 445 LiqSideTrayIndex(LiquidSideStreamLocation) =1; 460 446 Mw = PP.MolecularWeight(); 461 447 … … 480 466 #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 481 467 CONTROL as ControlSection (Brief = "Control"); 482 out TCI as control_signal (Brief="Temperature Indicator", Protected = true, PosX=1, PosY=0.90); 483 out PCI as control_signal (Brief="Pressure Indicator", Protected = true, PosX=1, PosY=0.80); 484 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 485 # Section Inlet Liquid and Outlet Vapour Material Ports 486 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 487 in LiquidInlet as stream (Brief="Liquid Inlet in the section", PosX=0.70, PosY=0); 488 out VapourOutlet as vapour_stream (Brief="Vapour Outlet in the section", PosX=0.30, PosY=0); 489 490 out VapourDrawOff as vapour_stream (Brief="Vapour Draw Off Port in the section", PosX=1, PosY=0.35,Protected = true); 491 out LiquidDrawOff as liquid_stream (Brief="Liquid Draw Off Port in the section", PosX=1, PosY=0.65,Protected = true); 468 out TCI as control_signal (Brief="Temperature Indicator", Protected = true, PosX=1, PosY=0.73); 469 out PCI as control_signal (Brief="Pressure Indicator", Protected = true, PosX=0, PosY=0.24); 492 470 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 493 471 # Column Feed - Side Stream Flow and Murphree Efficiency 494 472 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 495 in FeedTray as stream (Brief="Feed stream", PosX=0, PosY=0.55); 473 # in FeedTrayTop as stream (Brief="Feed stream", PosX=0, PosY=0.45); 474 # in FeedTrayBottom as stream (Brief="Feed stream", PosX=0, PosY=0.65); 475 in LiquidInlet as stream (Brief="Liquid Inlet in the section", PosX=0.70, PosY=0); 476 out VapourOutlet as vapour_stream (Brief="Vapour Outlet in the section", PosX=0.30, PosY=0); 477 478 out VapourDrawOff as vapour_stream (Brief="Vapour Draw Off Port in the section", PosX=1, PosY=0.35,Protected = true); 479 out LiquidDrawOff as liquid_stream (Brief="Liquid Draw Off Port in the section", PosX=1, PosY=0.65,Protected = true); 480 496 481 TRAYS(NumberOfTrays) as tray (Brief="Number of trays in the Column Section"); 497 VapourDrawOffFlow as flow_mol (Brief="Stream Molar Flow Rate"); 498 LiquidDrawOffFlow as flow_mol (Brief="Stream Molar Flow Rate"); 499 MurphreeEff as positive (Brief="Murphree efficiency for All Trays"); 482 VapourDrawOffFlow as flow_mol (Brief="Vapour Draw Off Stream Molar Flow Rate"); 483 LiquidDrawOffFlow as flow_mol (Brief="Vapour Draw Off Stream Molar Flow Rate"); 484 MurphreeEff as Real (Brief="Murphree efficiency for All Trays",Lower=0.01,Upper=1); 485 500 486 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 501 487 # Section Inlet Vapour and Outlet Liquid Material Ports 502 488 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 503 in VapourInlet as stream (Brief="Vapour Inlet in the section", PosX=0.30, PosY=1); 504 out LiquidOutlet as liquid_stream (Brief="Liquid Outlet in the section", PosX=0.70, PosY=1); 505 506 LiquidConnector as stream (Brief="Liquid connection in the middle TRAYS", PosX=0.75, PosY=1,Hidden=true); 507 VapourConnector as stream (Brief="Vapour connection in the middle TRAYS", PosX=0.55, PosY=0,Hidden=true); 508 489 in VapourInlet as stream (Brief="Vapour Inlet in the section", PosX=0.30, PosY=1); 490 out LiquidOutlet as liquid_stream (Brief="Liquid Outlet in the section", PosX=0.70, PosY=1); 491 492 LiquidConnector as stream (Brief="Liquid connection in the middle TRAYS", PosX=0.75, PosY=1,Hidden=true); 493 VapourConnector as stream (Brief="Vapour connection in the middle TRAYS", PosX=0.55, PosY=0,Hidden=true); 509 494 CONNECTIONS 510 495 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ … … 513 498 TRAYS([2:NumberOfTrays]).OutletVapour to TRAYS([1:NumberOfTrays-1]).InletVapour; 514 499 TRAYS([1:NumberOfTrays-1]).OutletLiquid to TRAYS([2:NumberOfTrays]).InletLiquid; 515 500 516 501 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 517 502 # Connecting Connectors 518 503 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 519 520 521 504 LiquidConnector to TRAYS(1).InletLiquid; 505 VapourConnector to TRAYS(NumberOfTrays).InletVapour; 506 522 507 INITIAL 523 508 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ … … 557 542 558 543 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 559 # Equating Feed Tray Variables to Trays Variables 560 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 561 "Feed Tray Inlet Flow" 562 FeedTray.F*FeedTrayIndex= TRAYS.Inlet.F; 563 564 "Feed Tray Inlet Temperature" 565 FeedTray.T = TRAYS.Inlet.T; 566 567 "Feed Tray Inlet Pressure" 568 FeedTray.P = TRAYS.Inlet.P; 569 570 "Feed Tray Inlet Composition" 571 FeedTray.z = TRAYS.Inlet.z; 572 573 "Feed Tray Inlet Vapour Fraction" 574 FeedTray.v = TRAYS.Inlet.v; 575 576 "Feed Tray Inlet Enthalpy" 577 FeedTray.h = TRAYS.Inlet.h; 578 544 # Equating Feed Trays Variables to Trays Variables 545 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 546 #* 547 for i in 1:NumberOfTrays do 548 549 if i equal FeedTrayTopLocation then 550 551 "FeedTrayTop Inlet Flow" 552 FeedTrayTop.F= TRAYS(i).Inlet.F; 553 554 "FeedTrayTop Inlet Temperature" 555 FeedTrayTop.T = TRAYS(i).Inlet.T; 556 557 "FeedTrayTop Inlet Pressure" 558 FeedTrayTop.P = TRAYS(i).Inlet.P; 559 560 "FeedTrayTop Inlet Composition" 561 FeedTrayTop.z = TRAYS(i).Inlet.z; 562 563 "FeedTrayTop Inlet Vapour Fraction" 564 FeedTrayTop.v = TRAYS(i).Inlet.v; 565 566 "FeedTrayTop Inlet Enthalpy" 567 FeedTrayTop.h = TRAYS(i).Inlet.h; 568 569 else if i equal FeedTrayBottomLocation then 570 571 "FeedTrayBottom Inlet Flow" 572 FeedTrayBottom.F= TRAYS(i).Inlet.F; 573 574 "FeedTrayBottom Inlet Temperature" 575 FeedTrayBottom.T = TRAYS(i).Inlet.T; 576 577 "FeedTrayBottom Inlet Pressure" 578 FeedTrayBottom.P = TRAYS(i).Inlet.P; 579 580 "FeedTrayBottom Inlet Composition" 581 FeedTrayBottom.z = TRAYS(i).Inlet.z; 582 583 "FeedTrayBottom Inlet Vapour Fraction" 584 FeedTrayBottom.v = TRAYS(i).Inlet.v; 585 586 "FeedTrayBottom Inlet Enthalpy" 587 FeedTrayBottom.h = TRAYS(i).Inlet.h; 588 589 else 590 591 "Inlet Tray - Flow Sealed" 592 0*'mol/h'= TRAYS(i).Inlet.F; 593 594 "Inlet Tray - Temperature" 595 FeedTrayBottom.T = TRAYS(i).Inlet.T; 596 597 "Inlet Tray - Pressure" 598 FeedTrayBottom.P = TRAYS(i).Inlet.P; 599 600 "Inlet Tray - Composition" 601 FeedTrayBottom.z = TRAYS(i).Inlet.z; 602 603 "Inlet Tray - Vapour Fraction" 604 FeedTrayBottom.v = TRAYS(i).Inlet.v; 605 606 "Inlet Tray - Enthalpy" 607 FeedTrayBottom.h = TRAYS(i).Inlet.h; 608 609 end 610 611 end 612 613 end 614 *# 579 615 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 580 616 # Trays Equations 581 617 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 618 582 619 for i in [1:NumberOfTrays] do 583 620 … … 761 798 end 762 799 763 Model Distillation_kettle_cond as Section_ColumnBasic 800 Model Section_Column as SectionColumnBasic 801 802 ATTRIBUTES 803 Pallete = true; 804 Icon = "icon/SectionColumn"; 805 Brief = "Model of a column section."; 806 Info = 807 "== Model of a column section containing == 808 * NumberOfTrays TRAYS. 809 * One Feed Inlet. 810 811 == Specify == 812 * the feed stream of each tray (Inlet); 813 * the Murphree eficiency for each tray Emv; 814 * the InletLiquid stream of the top tray; 815 * the InletVapour stream of the bottom tray. 816 817 == Initial Conditions == 818 * the TRAYS temperature (OutletLiquid.T); 819 * the TRAYS liquid level (Level) OR the TRAYS liquid flow (OutletLiquid.F); 820 * (NoComps - 1) OutletLiquid (OR OutletVapour) compositions for each tray. 821 "; 822 823 PARAMETERS 824 FeedTrayIndex(NumberOfTrays) as Integer (Brief="Feed Tray Index", Default=0,Hidden=true); 825 826 SET 827 NumberOfFeeds = 1; 828 FeedTrayIndex(FeedTrayLocation(1)) =1; 829 830 VARIABLES 831 832 in FeedTray as stream (Brief="Feed stream", PosX=0, PosY=0.55); 833 834 EQUATIONS 835 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 836 # Equating Feed Tray Variables to Trays Variables 837 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 838 "Feed Tray Inlet Flow" 839 FeedTray.F*FeedTrayIndex= TRAYS.Inlet.F; 840 841 "Feed Tray Inlet Temperature" 842 FeedTray.T = TRAYS.Inlet.T; 843 844 "Feed Tray Inlet Pressure" 845 FeedTray.P = TRAYS.Inlet.P; 846 847 "Feed Tray Inlet Composition" 848 FeedTray.z = TRAYS.Inlet.z; 849 850 "Feed Tray Inlet Vapour Fraction" 851 FeedTray.v = TRAYS.Inlet.v; 852 853 "Feed Tray Inlet Enthalpy" 854 FeedTray.h = TRAYS.Inlet.h; 855 856 end 857 858 Model Section_Column2 as SectionColumnBasic 859 860 ATTRIBUTES 861 Pallete = true; 862 Icon = "icon/SectionColumn"; 863 Brief = "Model of a column section."; 864 Info = 865 "== Model of a column section containing == 866 * NumberOfTrays TRAYS. 867 * Two Feed Inlets. 868 869 == Specify == 870 * the feed stream of each tray (Inlet); 871 * the Murphree eficiency for each tray Emv; 872 * the InletLiquid stream of the top tray; 873 * the InletVapour stream of the bottom tray. 874 875 == Initial Conditions == 876 * the TRAYS temperature (OutletLiquid.T); 877 * the TRAYS liquid level (Level) OR the TRAYS liquid flow (OutletLiquid.F); 878 * (NoComps - 1) OutletLiquid (OR OutletVapour) compositions for each tray. 879 "; 880 881 SET 882 NumberOfFeeds = 2; 883 884 VARIABLES 885 886 in FeedTrayOne as stream (Brief="Feed stream", PosX=0, PosY=0.45); 887 in FeedTrayTwo as stream (Brief="Feed stream", PosX=0, PosY=0.65); 888 889 EQUATIONS 890 891 for i in 1:NumberOfTrays do 892 893 if i equal FeedTrayLocation(1) then 894 895 "FeedTrayTop Inlet Flow" 896 FeedTrayOne.F= TRAYS(i).Inlet.F; 897 898 "FeedTrayTop Inlet Temperature" 899 FeedTrayOne.T = TRAYS(i).Inlet.T; 900 901 "FeedTrayTop Inlet Pressure" 902 FeedTrayOne.P = TRAYS(i).Inlet.P; 903 904 "FeedTrayTop Inlet Composition" 905 FeedTrayOne.z = TRAYS(i).Inlet.z; 906 907 "FeedTrayTop Inlet Vapour Fraction" 908 FeedTrayOne.v = TRAYS(i).Inlet.v; 909 910 "FeedTrayTop Inlet Enthalpy" 911 FeedTrayOne.h = TRAYS(i).Inlet.h; 912 913 else if i equal FeedTrayLocation(2) then 914 915 "FeedTrayBottom Inlet Flow" 916 FeedTrayTwo.F= TRAYS(i).Inlet.F; 917 918 "FeedTrayBottom Inlet Temperature" 919 FeedTrayTwo.T = TRAYS(i).Inlet.T; 920 921 "FeedTrayBottom Inlet Pressure" 922 FeedTrayTwo.P = TRAYS(i).Inlet.P; 923 924 "FeedTrayBottom Inlet Composition" 925 FeedTrayTwo.z = TRAYS(i).Inlet.z; 926 927 "FeedTrayBottom Inlet Vapour Fraction" 928 FeedTrayTwo.v = TRAYS(i).Inlet.v; 929 930 "FeedTrayBottom Inlet Enthalpy" 931 FeedTrayTwo.h = TRAYS(i).Inlet.h; 932 933 else 934 935 "Inlet Tray - Flow Sealed" 936 0*'mol/h'= TRAYS(i).Inlet.F; 937 938 "Inlet Tray - Temperature" 939 FeedTrayTwo.T = TRAYS(i).Inlet.T; 940 941 "Inlet Tray - Pressure" 942 FeedTrayTwo.P = TRAYS(i).Inlet.P; 943 944 "Inlet Tray - Composition" 945 FeedTrayTwo.z = TRAYS(i).Inlet.z; 946 947 "Inlet Tray - Vapour Fraction" 948 FeedTrayTwo.v = TRAYS(i).Inlet.v; 949 950 "Inlet Tray - Enthalpy" 951 FeedTrayTwo.h = TRAYS(i).Inlet.h; 952 953 end 954 955 end 956 957 end 958 959 end 960 961 Model Section_Column3 as SectionColumnBasic 962 963 ATTRIBUTES 964 Pallete = true; 965 Icon = "icon/SectionColumn"; 966 Brief = "Model of a column section."; 967 Info = 968 "== Model of a column section containing == 969 * NumberOfTrays TRAYS. 970 * Three Feed Inlets. 971 972 == Specify == 973 * the feed stream of each tray (Inlet); 974 * the Murphree eficiency for each tray Emv; 975 * the InletLiquid stream of the top tray; 976 * the InletVapour stream of the bottom tray. 977 978 == Initial Conditions == 979 * the TRAYS temperature (OutletLiquid.T); 980 * the TRAYS liquid level (Level) OR the TRAYS liquid flow (OutletLiquid.F); 981 * (NoComps - 1) OutletLiquid (OR OutletVapour) compositions for each tray. 982 "; 983 984 SET 985 NumberOfFeeds = 3; 986 987 VARIABLES 988 989 in FeedTrayOne as stream (Brief="Feed stream", PosX=0, PosY=0.45); 990 in FeedTrayTwo as stream (Brief="Feed stream", PosX=0, PosY=0.65); 991 in FeedTrayThree as stream (Brief="Feed stream", PosX=0, PosY=0.85); 992 993 EQUATIONS 994 995 for i in 1:NumberOfTrays do 996 997 if i equal FeedTrayLocation(1) then 998 999 "FeedTrayTop Inlet Flow" 1000 FeedTrayOne.F= TRAYS(i).Inlet.F; 1001 1002 "FeedTrayTop Inlet Temperature" 1003 FeedTrayOne.T = TRAYS(i).Inlet.T; 1004 1005 "FeedTrayTop Inlet Pressure" 1006 FeedTrayOne.P = TRAYS(i).Inlet.P; 1007 1008 "FeedTrayTop Inlet Composition" 1009 FeedTrayOne.z = TRAYS(i).Inlet.z; 1010 1011 "FeedTrayTop Inlet Vapour Fraction" 1012 FeedTrayOne.v = TRAYS(i).Inlet.v; 1013 1014 "FeedTrayTop Inlet Enthalpy" 1015 FeedTrayOne.h = TRAYS(i).Inlet.h; 1016 1017 else if i equal FeedTrayLocation(2) then 1018 1019 "FeedTrayBottom Inlet Flow" 1020 FeedTrayTwo.F= TRAYS(i).Inlet.F; 1021 1022 "FeedTrayBottom Inlet Temperature" 1023 FeedTrayTwo.T = TRAYS(i).Inlet.T; 1024 1025 "FeedTrayBottom Inlet Pressure" 1026 FeedTrayTwo.P = TRAYS(i).Inlet.P; 1027 1028 "FeedTrayBottom Inlet Composition" 1029 FeedTrayTwo.z = TRAYS(i).Inlet.z; 1030 1031 "FeedTrayBottom Inlet Vapour Fraction" 1032 FeedTrayTwo.v = TRAYS(i).Inlet.v; 1033 1034 "FeedTrayBottom Inlet Enthalpy" 1035 FeedTrayTwo.h = TRAYS(i).Inlet.h; 1036 1037 else if i equal FeedTrayLocation(3) then 1038 1039 "FeedTrayBottom Inlet Flow" 1040 FeedTrayThree.F= TRAYS(i).Inlet.F; 1041 1042 "FeedTrayBottom Inlet Temperature" 1043 FeedTrayThree.T = TRAYS(i).Inlet.T; 1044 1045 "FeedTrayBottom Inlet Pressure" 1046 FeedTrayThree.P = TRAYS(i).Inlet.P; 1047 1048 "FeedTrayBottom Inlet Composition" 1049 FeedTrayThree.z = TRAYS(i).Inlet.z; 1050 1051 "FeedTrayBottom Inlet Vapour Fraction" 1052 FeedTrayThree.v = TRAYS(i).Inlet.v; 1053 1054 "FeedTrayBottom Inlet Enthalpy" 1055 FeedTrayThree.h = TRAYS(i).Inlet.h; 1056 1057 else 1058 1059 "Inlet Tray - Flow Sealed" 1060 0*'mol/h'= TRAYS(i).Inlet.F; 1061 1062 "Inlet Tray - Temperature" 1063 FeedTrayTwo.T = TRAYS(i).Inlet.T; 1064 1065 "Inlet Tray - Pressure" 1066 FeedTrayTwo.P = TRAYS(i).Inlet.P; 1067 1068 "Inlet Tray - Composition" 1069 FeedTrayTwo.z = TRAYS(i).Inlet.z; 1070 1071 "Inlet Tray - Vapour Fraction" 1072 FeedTrayTwo.v = TRAYS(i).Inlet.v; 1073 1074 "Inlet Tray - Enthalpy" 1075 FeedTrayTwo.h = TRAYS(i).Inlet.h; 1076 1077 end 1078 1079 end 1080 1081 end 1082 1083 end 1084 1085 end 1086 1087 Model Distillation_kettle_cond as Section_ColumnBasicX 764 1088 765 1089 ATTRIBUTES … … 895 1219 end 896 1220 897 Model Distillation_thermosyphon_subcooling as Section_ColumnBasic 1221 Model Distillation_thermosyphon_subcooling as Section_ColumnBasicX 898 1222 ATTRIBUTES 899 1223 Pallete = true; … … 1058 1382 end 1059 1383 1060 Model Distillation_thermosyphon_cond as Section_ColumnBasic 1384 Model Distillation_thermosyphon_cond as Section_ColumnBasicX 1061 1385 ATTRIBUTES 1062 1386 Pallete = true; … … 1200 1524 end 1201 1525 1202 Model Distillation_kettle_subcooling as Section_ColumnBasic 1526 Model Distillation_kettle_subcooling as Section_ColumnBasicX 1203 1527 1204 1528 ATTRIBUTES … … 1334 1658 end 1335 1659 1336 Model Rectifier as Section_ColumnBasic 1660 Model Rectifier as Section_ColumnBasicX 1337 1661 1338 1662 ATTRIBUTES … … 1469 1793 end 1470 1794 1471 Model Rectifier_subcooling as Section_ColumnBasic 1795 Model Rectifier_subcooling as Section_ColumnBasicX 1472 1796 1473 1797 ATTRIBUTES … … 1602 1926 end 1603 1927 1604 Model Reboiled_Stripping_kettle as Section_ColumnBasic 1928 Model Reboiled_Stripping_kettle as Section_ColumnBasicX 1605 1929 1606 1930 ATTRIBUTES … … 1706 2030 end 1707 2031 1708 Model Reboiled_Stripping_thermosyphon as Section_ColumnBasic 2032 Model Reboiled_Stripping_thermosyphon as Section_ColumnBasicX 1709 2033 1710 2034 ATTRIBUTES
Note: See TracChangeset
for help on using the changeset viewer.