Design og modellering af metanolanlæg til VEnzin-visionen Bilag
Design og modellering af metanolanlæg til VEnzin-visionen Bilag Design og modellering af metanolanlæg til VEnzin-visionen Bilag
VEnzin.for c:/dna/source/ RES(3) = P(1) − P(3) RES(4) = MDOT(1)*PAR(1) + MDOT(2) C IF (FKOMP.EQ.5) GOTO 500 GOTO 9999 C−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− C Solution check C−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− 500 CONTINUE IF (MDOT(1).LT.−1D−10) GOTO 550 IF (MDOT(2).GT.1D−10) GOTO 550 IF (MDOT(3).GT.1D−10) GOTO 550 GOTO 9999 550 FBETI = .FALSE. GOTO 9999 C−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− C Write component information C−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− 600 CONTINUE KOMDSC = ’Flow splitter. The distribution of the inlet massflow $ between the outlets is set by the parameter.’ K_PAR(1) = ’Fraction: $\\frac{−\\dot{m_2}}{\\dot{m_1}}$’ K_LIG(1) = ’Equal enthalpy of outlets: $h_2 = h_3$’ K_LIG(2) = ’Equal pressures: $p_1 = p_2$’ K_LIG(3) = ’Equal pressures: $p_1 = p_3$’ K_BET = $ ’$\\dot{m}_1 \\gt 0 \\\\ \\dot{m}_2 \\lt 0 \\\\ \\dot{m}_3 $\\lt 0 $’ KMEDDS(1) = ’Fluid in’ KMEDDS(2) = ’Fluid out’ KMEDDS(3) = ’Fluid out’ k_inp= ’struc split splitter3 1 2 3 0.4\\\\ $media 1 SIMPLE_AIR\\\\ $addco m split 1 10 t split 1 50 p 1 1\\\\ $START M split 2 −4 t split 2 50’ C GOTO 9999 C 9999 CONTINUE RETURN END C C======================================================================= C********************************************************************** SUBROUTINE MIXER_03(KOMTY,ANTLK,ANTKN,ANTM1, MEDIE,ANTME,VARME $ ,ANTEL, VAREL,MDOT,P,RES,X_J,komdsc,k_lig,k_bet,kmedds,k_inp $ ,MMVAR) C********************************************************************** C C MIXER_01 mixes two gasses. Same pressure in all nodes. C C*********************************************************************** C CA FKOMP − INPUT − Flag with the value: CA 1: Initialize the component. CA 2: Initialize with actual system. CA 3: Fluid composition calculation (constant). CA 4: Find residuals. CA 5: Find residuals and check variables. CA 6: Output information about component. CA MDOT − INPUT − Massflows from nodes. CA P − INPUT − Pressure in nodes. CA X_J − INPUT − Fluid composition. CA KOMTY − OUTPUT − Component name. CA ANTPK − OUTPUT − Number of parameters for the component. CA ANTLK − OUTPUT − Number of equations in the component. CA ANTEX − OUTPUT − Number of independent equations in the component. CA ANTED − OUTPUT − Number of differential independent equations. CA ANTKN − OUTPUT − Number of nodes connected to the component. CA ANTM1 − OUTPUT − Number of massflows in the first conservation of CA mass equation. CA ANTM2 − OUTPUT − Number of massflows in the second. CA DYCOM − OUTPUT − Type of conservation equations (static or dynamic CA mass and internal energy on side 1 and 2 respectively; CA and dynamic solid internal energy). CA MEDIE − IN/OUT − Media (fluid) of the connected nodes. CA The values mean : 47/67 19−03−2007
VEnzin.for c:/dna/source/ CA −4 : Any gas CA ANTME − OUTPUT − Number of fluids with variable composition. CA VARME − OUTPUT − Pointer to fluid numbers (with variable composition). CA ANTEL − OUTPUT − Number of computed compounds in these variable fluids. CA VAREL − OUTPUT − Compound numbers in variable fluids. CA RES − OUTPUT − Residuals for the component. C CL XMIX Composition of the mixture. CL K_PAR Parameter description. CL K_LIG Equation description. CL K_BET Condition description. C 48/67 19−03−2007
- Page 267 and 268: 17.140 SET_FLOW Utillity component
- Page 269 and 270: 17.142 SET_TEMP2 Utillity component
- Page 271 and 272: 34. Tilføjede komponenter til DNA
- Page 273 and 274: VEnzin.for c:/dna/source/ C C Param
- Page 275 and 276: VEnzin.for c:/dna/source/ CA ANTED
- Page 277 and 278: VEnzin.for c:/dna/source/ IF (MDOT(
- Page 279 and 280: VEnzin.for c:/dna/source/ MMVAR(1)
- Page 281 and 282: VEnzin.for c:/dna/source/ ENDDO DO
- Page 283 and 284: VEnzin.for c:/dna/source/ $fluid O2
- Page 285 and 286: VEnzin.for c:/dna/source/ C−−
- Page 287 and 288: VEnzin.for c:/dna/source/ CA FKOMP
- Page 289 and 290: VEnzin.for c:/dna/source/ ENDDO NIN
- Page 291 and 292: VEnzin.for c:/dna/source/ C Subrout
- Page 293 and 294: VEnzin.for c:/dna/source/ CALL STAT
- Page 295 and 296: VEnzin.for c:/dna/source/ CA 3: Flu
- Page 297 and 298: VEnzin.for c:/dna/source/ C C C M_B
- Page 299 and 300: VEnzin.for c:/dna/source/ C C SETFL
- Page 301 and 302: VEnzin.for c:/dna/source/ C C GASCO
- Page 303 and 304: VEnzin.for c:/dna/source/ RES(5) =
- Page 305 and 306: VEnzin.for c:/dna/source/ c c c E2=
- Page 307 and 308: VEnzin.for c:/dna/source/ C C HEATE
- Page 309 and 310: VEnzin.for c:/dna/source/ $ ’$\\d
- Page 311 and 312: VEnzin.for c:/dna/source/ c 1 = Wat
- Page 313 and 314: VEnzin.for c:/dna/source/ CA 4: Fin
- Page 315 and 316: VEnzin.for c:/dna/source/ CL K_MED
- Page 317: VEnzin.for c:/dna/source/ CA MEDIE
- Page 321 and 322: VEnzin.for c:/dna/source/ C ENDDO E
- Page 323 and 324: VEnzin.for c:/dna/source/ MEDIE(2)
- Page 325 and 326: VEnzin.for c:/dna/source/ C C 400 C
- Page 327 and 328: VEnzin.for c:/dna/source/ GOTO 9999
- Page 329 and 330: VEnzin.for c:/dna/source/ MEDIE(1)
- Page 331 and 332: VEnzin.for c:/dna/source/ C−−
- Page 333 and 334: VEnzin.for c:/dna/source/ RES(1) =
- Page 335 and 336: VEnzin.for c:/dna/source/ C−−
- Page 337 and 338: VEnzin.for c:/dna/source/ C−−
- Page 339 and 340: 35. Metanol (fluid) til DNA - Fortr
- Page 341 and 342: methanol.for d:/DTU/Eksamensprojekt
- Page 343 and 344: methanol.for d:/DTU/Eksamensprojekt
- Page 345 and 346: methanol.for d:/DTU/Eksamensprojekt
- Page 347 and 348: methanol.for d:/DTU/Eksamensprojekt
- Page 349 and 350: methanol.for d:/DTU/Eksamensprojekt
- Page 351 and 352: methanol.for d:/DTU/Eksamensprojekt
- Page 353 and 354: methanol.for d:/DTU/Eksamensprojekt
- Page 355 and 356: methanol.for d:/DTU/Eksamensprojekt
- Page 357 and 358: methanol.for d:/DTU/Eksamensprojekt
<strong>VEnzin</strong>.for<br />
c:/dna/source/<br />
CA −4 : Any gas<br />
CA ANTME − OUTPUT − Number of fluids with variable composition.<br />
CA VARME − OUTPUT − Pointer to fluid numbers (with variable composition).<br />
CA ANTEL − OUTPUT − Number of computed compounds in these variable fluids.<br />
CA VAREL − OUTPUT − Compound numbers in variable fluids.<br />
CA RES − OUTPUT − Residuals for the component.<br />
C<br />
CL XMIX Composition of the mixture.<br />
CL K_PAR Parameter description.<br />
CL K_LIG Equation description.<br />
CL K_BET Condition description.<br />
C<br />
48/67<br />
19−03−2007