⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 crews4.ex

📁 C语言多种求最优的程序源代码
💻 EX
字号:



Example 4.  An Example of Output Generated by a Hydraulic Analysis
Program using MEL.  (From the input data given in Example 1.)


program, 
	name = 'HAPN - Hydraulic Analysis of Piping Networks', 
	problem_title = 'Example Problem Illustrating MEL'; 
message, 
	text = 'Date: Thu Jul 13 09:02:11 1989'; 
message, 
	text = 'Input filename: input'; 
equations, 
	node = 0, 
	loop = 0, 
	iterations = 7; 
branch, 
	number = 100, 
	type = 'independent_branch', 
	flow_rate = 436238 (lbm/h), 
	flow_change = -6.20476e-007 (%), 
	flow_dp = 2.17 (psi), 
	elevation_dp = 0 (psi); 
component, 
	branch_number = 100, 
	component_number = 0, 
	type = 'pipe', 
	resistance = 4.95228 (Pa*s2/kg2), 
	change_resistance = -1.24095e-008 (%), 
	pressure_drop = 2.17 (psi); 
node, 
	number = 1, 
	pressure = 8.67 (psi); 
node, 
	number = 2, 
	pressure = 6.5 (psi); 
next; 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -