没有合适的资源?快使用搜索试试~ 我知道了~
首页aspen user model ASPEN 用户模型 ,外部通过FORTRAN, EXCEL ,CAPE OPEN
aspen user model ASPEN 用户模型 ,外部通过FORTRAN, EXCEL ,CAPE OPEN
4星 · 超过85%的资源 需积分: 50 85 下载量 97 浏览量
更新于2023-03-03
评论 3
收藏 1.33MB PDF 举报
ASPEN PLUS 的功能比较多,其中也有外部连接支持.如可以和FORTRAN,EXCEL ,CAPE OPEN (C++,VB),ACM和外部连接.主要内容为ASPEN 模型 内部规定.从而可以和外部连接提供标准.
资源详情
资源评论
资源推荐
Aspen Plus
User Models
Version Number: 2006
October 2006
Copyright (c) 2006 by Aspen Technology, Inc. All rights reserved.
Aspen Plus, aspenONE, the aspen leaf logo and Plantelligence and Enterprise Optimization are trademarks or
registered trademarks of Aspen Technology, Inc., Cambridge, MA.
All other brand and product names are trademarks or registered trademarks of their respective companies.
This document is intended as a guide to using AspenTech's software. This documentation contains AspenTech
proprietary and confidential information and may not be disclosed, used, or copied without the prior consent of
AspenTech or as set forth in the applicable license agreement. Users are solely responsible for the proper use of
the software and the application of the results obtained.
Although AspenTech has tested the software and reviewed the documentation, the sole warranty for the software
may be found in the applicable license agreement between AspenTech and the user. ASPENTECH MAKES NO
WARRANTY OR REPRESENTATION, EITHER EXPRESSED OR IMPLIED, WITH RESPECT TO THIS DOCUMENTATION,
ITS QUALITY, PERFORMANCE, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Aspen Technology, Inc.
Ten Canal Park
Cambridge, MA 02141-2201
USA
Phone: (1) (617) 949-1000
Toll Free: (1) (888) 996-7001
Fax: (1) (617) 949-1030
URL: http://www.aspentech.com
Contents iii
Contents
Who Should Read this Guide ...................................................................................1
Introducing Aspen Plus ...........................................................................................2
Related Documentation................................................................................... 3
Technical Support .......................................................................................... 4
1 Writing and Using User Models............................................................................5
Fortran User Models ....................................................................................... 6
Moving to the Intel Fortran Compiler ....................................................... 7
Configuring Aspen Plus for Your Fortran Compiler ..................................... 7
Writing Fortran User Models................................................................... 8
Dynamic Linking Overview..................................................................... 9
Compiling Fortran User Models ..............................................................10
Supplying Fortran User Models to Aspen Plus ...........................................10
Creating Fortran Shared Libraries Using Asplink.......................................11
Writing DLOPT Files .............................................................................11
Specifying DLOPT Files for Aspen Plus Runs.............................................12
Modifying Asplink ................................................................................13
2 Calling the Flash Utility .....................................................................................14
Flash Utility FLSH_FLASH ...............................................................................14
Flash Types ........................................................................................16
RETN.................................................................................................17
IRETN................................................................................................17
Flash Results Stored in COMMON.....................................................................17
3 Calling Physical Property Monitors ....................................................................19
Calling Sequences for Thermodynamic Property Monitors ....................................20
Calling Sequences for Transport Property Monitors.............................................22
Calling Sequences for Nonconventional Property Monitors ...................................23
Calling Sequences for Thermodynamic and Transport Property Monitors with
Derivatives...................................................................................................
23
Argument Descriptions for Physical Property Monitors.........................................24
IDX ...................................................................................................26
IDXNC ...............................................................................................27
Y, X, X1, X2, Z, CS ..............................................................................27
CAT...................................................................................................27
KDIAG ...............................................................................................27
Calculation Codes................................................................................27
Phases...............................................................................................28
CALPRP Results...................................................................................28
iv Contents
Derivative Limit ..................................................................................28
Calling Sequences for PROP-SET Property Monitors ............................................29
Argument Descriptions for PROP-SET Property Monitors......................................30
PROPS ...............................................................................................31
PHASES .............................................................................................31
KWDBS..............................................................................................31
XPCLV ...............................................................................................31
KULAB ...............................................................................................32
CALUPP Results...................................................................................32
4 Calling Utility Subroutines.................................................................................33
Packing Utilities ............................................................................................33
Report Header Utility .....................................................................................34
ISECT................................................................................................35
Aspen Plus Error Handler................................................................................35
Terminal File Writer Utility ..............................................................................37
Utilities to Determine Component Index ...........................................................38
Component Index Example ...................................................................39
Plex Offset Utility ..........................................................................................39
Other Utility .................................................................................................40
The Fortran WRITE Statement.........................................................................41
5 User Unit Operation Models...............................................................................43
User and User2 Fortran Models .......................................................................43
Stream Structure and Calculation Sequence ............................................46
NBOPST .............................................................................................46
Size ..................................................................................................47
Integer and Real Parameters.................................................................47
Local Work Arrays ...............................................................................48
Simulation Control Guidelines ...............................................................48
History File.........................................................................................49
Terminal File.......................................................................................50
Report File .........................................................................................50
Control Panel ......................................................................................50
Incorporating Excel Worksheets into User2 .......................................................51
Extending the User2 Concept ................................................................51
Excel File Name ..................................................................................51
Fortran Routine...................................................................................51
The Excel Template .............................................................................52
Tables ...............................................................................................52
The Helper Functions ...........................................................................54
The Hook Functions .............................................................................56
The Sample Workbook .........................................................................57
Creating or Converting Your Own Excel Models ........................................58
Converting an Existing Excel Model ........................................................59
Customizing the Fortran Code ...............................................................60
Accessing User2 Parameters ...........................................................................64
Accessing parameters by position ..........................................................64
Accessing parameters by name .............................................................65
Other Helper Functions ........................................................................67
User3 Fortran Models.....................................................................................68
Stream Structure and Calculation Sequence ............................................72
Contents v
NBOPST .............................................................................................72
USER3 Data Classifications ...................................................................72
Size ..................................................................................................74
Variable Types and Mapping Concepts ....................................................74
Scaling and Units Conversion in USER3 ..................................................76
K Codes .............................................................................................77
Sparsity Example ................................................................................79
Creating a USER3 Model.......................................................................80
Additional User3 Subroutines ................................................................82
Physical Property Call Primitives ............................................................89
Low-Level Physical Property Subroutines ................................................92
Other Useful USER3 Utilities..................................................................94
Component Object Models (COM) ....................................................................94
6 User Physical Property Models ..........................................................................95
User Models for Conventional Properties ...........................................................96
Principal User Model Subroutines for Conventional Properties ............................100
IDX .................................................................................................105
Partial Component Index Vectors.........................................................105
X, Y, Z.............................................................................................106
Real and Integer Work Areas ..............................................................106
KOP ................................................................................................106
KDIAG ............................................................................................. 107
Calculation Codes..............................................................................107
Range of Applicability.........................................................................107
Units of Measurement ........................................................................107
Global Physical Property Constants ......................................................107
User K-Value ....................................................................................108
Electrolyte Calculations ......................................................................108
Model-Specific Parameters for Conventional Properties .....................................108
Universal Constant Names and Definitions ............................................109
Naming Model-Specific Parameters ......................................................109
Multiple Data Sets .............................................................................109
Parameter Retrieval.....................................................................................111
User Models for Nonconventional Properties .................................................... 112
Using Component Attributes .........................................................................112
Principal User Model Subroutines for Nonconventional Properties........................113
IDXNC .............................................................................................114
Real and Integer Work Areas ..............................................................114
KOP ................................................................................................114
KDIAG ............................................................................................. 115
Range of Applicability.........................................................................115
Model-Specific Parameters for Nonconventional Properties ................................ 116
Naming Model-Specific Parameters ......................................................116
Accessing Component Attributes ................................................................... 116
7 User Properties for Property Sets....................................................................118
Subroutine to Define a User Property .............................................................118
IDX .................................................................................................120
NBOPST, KDIAG, and KPDIAG .............................................................120
Phase Codes.....................................................................................120
Passing Phase Fraction and Composition Information........................................121
剩余329页未读,继续阅读
Albertlulu2000
- 粉丝: 1
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论4