- Timestamp:
- Mar 15, 2007, 4:40:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/sample/pressure_changers/sample_valve.mso
r206 r213 29 29 # with vapour conditions 30 30 PARAMETERS 31 PP as Plugin(Brief="Physical Properties",File="vrpp"); 31 PP as Plugin(Brief="Physical Properties", 32 Type="PP", 33 Components = [ "isobutane", "benzene"], 34 LiquidModel = "PR", 35 VapourModel = "PR" 36 ); 32 37 NComp as Integer; 33 38 34 39 SET 35 PP.Components = [ "isobutane", "benzene"];36 PP.LiquidModel = "PR";37 PP.VapourModel = "PR";38 40 NComp = PP.NumberOfComponents; 39 41 … … 64 66 #with liquid conditions 65 67 PARAMETERS 66 PP as Plugin(Brief="Physical Properties",File="vrpp"); 68 PP as Plugin(Brief="Physical Properties", 69 Type="PP", 70 Components = [ "isobutane", "benzene"], 71 LiquidModel = "PR", 72 VapourModel = "PR" 73 ); 67 74 NComp as Integer; 68 75 69 76 SET 70 PP.Components = [ "isobutane", "benzene"];71 PP.LiquidModel = "PR";72 PP.VapourModel = "PR";73 77 NComp = PP.NumberOfComponents; 74 78 … … 106 110 107 111 PARAMETERS 108 PP as Plugin (Brief="External Physical Properties", File="vrpp"); 112 PP as Plugin(Brief="Physical Properties", 113 Type="PP", 114 Components = [ "isobutane", "benzene"], 115 LiquidModel = "PR", 116 VapourModel = "PR" 117 ); 109 118 NComp as Integer (Default= 1); 110 119 111 120 SET 112 PP.Components = ["water"];113 PP.LiquidModel = "IdealLiquid";114 PP.VapourModel = "Ideal";115 PP.Derivatives = 0;116 121 NComp = PP.NumberOfComponents; 117 122 V1.valve_type = "linear"; #"parabolic", "equal", "quick", "hyperbolic"
Note: See TracChangeset
for help on using the changeset viewer.