Changeset 913 for branches/gui/eml
- Timestamp:
- Feb 20, 2010, 4:16:49 AM (13 years ago)
- Location:
- branches/gui/eml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/eml/stage_separators/tank.mso
r883 r913 689 689 end 690 690 691 Model tank_simplified 692 ATTRIBUTES 693 Pallete = true; 694 Icon = "icon/Tank"; 695 Brief = "Model of a simplified tank."; 696 Info = 697 "== Specify == 698 * the Inlet flow rate; 699 700 == Initial Conditions == 701 * the tank initial level (Level); 702 "; 703 704 PARAMETERS 705 k as Real (Brief="Valve Constant", Unit = 'm^2.5/h', Default=4); 706 A as area (Brief="Tank area", Default=2); 707 708 VARIABLES 709 Level as length(Brief="Tank level"); 710 in Fin as flow_vol(Brief="Input flow", PosX=0.3037, PosY=0); 711 out Fout as flow_vol(Brief="Output flow", PosX=1, PosY=1); 712 713 EQUATIONS 714 "Mass balance" 715 diff(A*Level) = Fin - Fout; 716 717 "Valve equation" 718 Fout = k*sqrt(Level); 719 end -
branches/gui/eml/streams.mso
r903 r913 883 883 end 884 884 885 Model energy_sink 886 ATTRIBUTES 887 Pallete = true; 888 Icon = "icon/Sink"; 889 Brief = "Energy stream sink"; 890 891 VARIABLES 892 in InletQ as power(Brief = "Inlet energy stream", PosX=0, PosY=0.5308, Symbol="_{in}"); 893 894 end 895 885 896 Model work_source 886 897 ATTRIBUTES
Note: See TracChangeset
for help on using the changeset viewer.