Title:

GeoSteamNet: 1. Thermodynamic Data for Numerical Simulation of Steam Flow in a Pipeline Network of Geothermal System

Authors:

Mahendra P. Verma

Key Words:

ActiveX control, SteamTablesGrid, StmTblGrd, Thermodynamic properties of water, IAPWS-95 formulation, Visual Basic, Excel 2007, fluid flow, pipeline

Conference:

Stanford Geothermal Workshop

Year:

2010

Session:

Modeling

Language:

English

File Size:

368KB

View File:

Abstract:

Recent trend for programming thermodynamic data in a computer code is through ActiveX components; however, the iteration process in them makes the execution very slow. This intricacy is resolved with creating an ActiveX control StmTblGrd for the thermodynamic properties of water. First a grid (matrix) for a specified range of temperature (say 400 to 600 K with 40 segments) and pressure (say 100000 to 20000000 Pa with 40 segments) is created. Using the ActiveX component SteamTables the values of selected properties of water for each element (nodal point) of the 41x41 matrix are computed. The grid can be saved in a file for its reuse. A linear interpolation within an individual phase, vapor or liquid is implemented to calculate the properties at a given value of temperature and pressure.

In an Excel worksheet the enthalpy of one thousand random datasets for temperature and pressure is calculated using the ActiveX control StmTblGrd and component SteamTables. The uncertainty in the enthalpy calculated with StmTblGrd is within ±0.03%. The calculations were performed on a personal computer, which has a processor “Pentium(R) 4 CPU 3.2 GHz, RAM 1.0 GB” and Windows XP. The total execution time for the calculation with StmTblGrd is 0.3 s, while it is 60.0 s for SteamTables. The accuracy can be further improved by refining the grid.


ec2-3-238-233-189.compute-1.amazonaws.com, you have accessed 0 records today.

Press the Back button in your browser, or search again.

Copyright 2010, Stanford Geothermal Program: Readers who download papers from this site should honor the copyright of the original authors and may not copy or distribute the work further without the permission of the original publisher.


Attend the nwxt Stanford Geothermal Workshop, click here for details.

Accessed by: ec2-3-238-233-189.compute-1.amazonaws.com (3.238.233.189)
Accessed: Thursday 28th of March 2024 09:36:52 AM