Changeset 145 for branches/newlanguage/sample
- Timestamp:
- Jan 30, 2007, 4:20:00 PM (16 years ago)
- Location:
- branches/newlanguage/sample
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/sample/heat_exchangers/Sample_Simplified.mso
r144 r145 30 30 31 31 exchanger as HeatExchanger_LMTD; 32 streamhot as s tream_therm;33 streamcold as s tream_therm;32 streamhot as source; 33 streamcold as source; 34 34 35 35 CONNECTIONS 36 36 37 streamhot to exchanger.Inlet.Hot;38 streamcold to exchanger.Inlet.Cold;37 streamhot.Outlet to exchanger.Inlet.Hot; 38 streamcold.Outlet to exchanger.Inlet.Cold; 39 39 40 40 PARAMETERS 41 PP as CalcObject(File="vrpp");41 PP as Plugin (File="vrpp"); 42 42 NComp as Integer; 43 43 SET … … 48 48 NComp = PP.NumberOfComponents; 49 49 50 # exchanger. HE.FlowDirection = "Cocurrent";51 exchanger. HE.FlowDirection = "Counter";50 # exchanger.FlowDirection = "cocurrent"; 51 exchanger.FlowDirection = "counter"; 52 52 53 53 SPECIFY … … 60 60 exchanger.Fc = 1; 61 61 62 streamhot. F = 1000 * "kmol/h";63 streamhot. T = 450 * "K";64 streamhot.v = 1;65 streamhot. P = 1.5 * "atm";66 streamhot. z = [1];62 streamhot.Outlet.F = 1000 * "kmol/h"; 63 streamhot.Outlet.T = 450 * "K"; 64 #streamhot.Outlet.v = 1; 65 streamhot.Outlet.P = 1.5 * "atm"; 66 streamhot.Outlet.z = [1]; 67 67 68 streamcold. F = 500 * "kmol/h";69 streamcold. P = 1 * "atm";70 streamcold. T = 350* "K";71 streamcold.v = 0;72 streamcold. z = [1];68 streamcold.Outlet.F = 500 * "kmol/h"; 69 streamcold.Outlet.P = 1 * "atm"; 70 streamcold.Outlet.T = 315 * "K"; 71 #streamcold.Outlet.v = 0; 72 streamcold.Outlet.z = [1]; 73 73 74 74 OPTIONS 75 mode = "steady";76 relativeAccuracy = 1e-6;75 Dynamic = false; 76 RelativeAccuracy = 1e-6; 77 77 78 78 end … … 119 119 streamcold.Outlet .F = 500 * "kmol/h"; 120 120 streamcold.Outlet .P = 1 * "atm"; 121 streamcold.Outlet .T = 3 50* "K";121 streamcold.Outlet .T = 315 * "K"; 122 122 #streamcold.v = 0; 123 123 streamcold.Outlet .z = [1]; -
branches/newlanguage/sample/miscellaneous/sample_switcher.mso
r142 r145 57 57 58 58 OPTIONS 59 TimeStep = 0.0 1;59 TimeStep = 0.05; 60 60 TimeEnd = 10; 61 61 end
Note: See TracChangeset
for help on using the changeset viewer.