Many
Manuals
search
Kategorie
Značky
Domů
Aspen Touch Solutions
Televizory a monitory
ATM-123R Series
Specifikace
Aspen Touch Solutions ATM-123R Series Specifikace Strana 180
Stažení
Sdílet
Sdílení
Přidat do mých příruček
Tisk
Strana
/
374
Tabulka s obsahem
KNIHY
Hodnocené
.
/ 5. Na základě
hodnocení zákazníků
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
4-6 Introduction
4-6
The Views Manager property view and the Widgets Palette
appears as shown in the figure below.
Figure 4.4
1
2
...
175
176
177
178
179
180
181
182
183
184
185
...
373
374
Aspen HYSYS
1
Version Number: V7.3
2
March 2011
2
Table of Contents
3
1 Introduction
5
1.1 Customization
6
1.2 Automation &
7
Extensibility
7
1.2.2 Extensions
8
Introduction 1-5
9
1.3 Customizing HYSYS
10
1.3.1 HYSYS & the Macro
11
Language Editor
11
1-8 Customizing HYSYS
12
Figure 1.2
12
Figure 1.3
12
1.3.2 Programming HYSYS
13
1-10 Customizing HYSYS
14
2 Automation
15
2.1 Introduction
16
2.2 Objects
17
2.2.1 Object Hierarchy
18
2.2.2 HYSYS Type Library
18
2.2.3 Object Browser
19
2-6 Objects
20
Figure 2.2
20
Automation 2-7
21
Figure 2.3
21
2-8 Objects
22
Figure 2.4
22
Figure 2.5
22
2.3 Automation Syntax
23
GetObject, CreateObject
24
Automation 2-11
25
Hierarchy
26
Collection Objects
27
Variants
29
Automation 2-17
31
2.4 Key HYSYS Objects
32
Automation 2-19
33
Through GetObject
33
2-20 Key HYSYS Objects
34
Flowsheet(s)
35
2-22 Key HYSYS Objects
36
2.4.3 Basis Objects
37
PropPackage (PropertyPackage)
38
Component(s)
39
Hypotheticals
40
2.4.4 Oils Objects
41
AssaysCollection & Assays
42
Blend(s)
43
2.4.5 Stream Objects
44
Automation 2-31
45
By Index
45
Characterization
46
ShiftPropCurveIFace
47
ManipulateCompositionIFace
48
Automation 2-35
49
2-36 Key HYSYS Objects
50
Automation 2-37
51
Figure 2.6
51
Property Keys Index
52
Fluid Object
56
FluidPhase(s)
57
2.4.6 Operation Objects
58
ColumnSpecification(s)
60
Automation 2-47
61
By Index:
61
By name:
61
2.4.7 Support Objects
62
RealVariable/RealFlexVariable
63
2-50 Key HYSYS Objects
64
Fixed Attachments
65
Solver & Integrator
66
SpreadsheetOp &
67
SpreadsheetCell(s)
67
2.4.8 PFD Objects
68
2.5 Example 1: The Macro
69
Figure 2.11
74
Figure 2.12
74
Start/Resume icon
74
Automation 2-61
75
Save icon
75
2.6 Example 2:
76
Automation in Visual
76
UNIT CONVERSION MANAGER
77
Explicit declaration
81
Private Sub Form_Load()
82
Private Sub ddUnitSet_Click()
82
Private Sub btExit_Click()
84
3 Extensibility
85
3-2 Extensibility
86
3.1 Introduction
87
3.2 Implementing
89
Interfaces
89
3.3 Data Types
90
3.4 Extension
91
Development Kit
91
3.5 Creating an Extension
93
3.5.2 In C
97
Implement the Class Factory
99
Create & Register the DLL
100
Debug the Extension
100
Distribute the Extension
100
3.5.3 In C# or VB.NET
101
Register the Extension
103
3.6 Registering Extensions
105
Written in C
106
3.6.1 Registering Extensions
106
Extensibility 3-23
107
Figure 3.2
107
Figure 3.3
107
3.6.2 Registering Extensions
108
Written in Visual Basic
108
3.6.3 Registering Extensions
109
Written in C# or VB.NET
109
3.7 Extension Interface
110
3.8 Extension Reaction
112
Kinetics
112
3.8.1 ExtnKineticReaction
114
Interface
114
3.8.2 ExtnKineticReactionCont
115
Option Explicit
116
Dim hyContainer As Object
116
Dim hyBulkDens As Object
116
Figure 3.10
122
Figure 3.11
122
Figure 3.14
124
Extensibility 3-41
125
Figure 3.15
125
Figure 3.16
125
Figure 3.17
126
Extensibility 3-43
127
Figure 3.18
127
Figure 3.19
127
Figure 3.20
128
Figure 3.21
128
Extensibility 3-45
129
Figure 3.22
129
Figure 3.23
129
3.9 Extension Property
130
Packages
130
Initialization
131
ExtensionPPkgInit structure
132
3.9.1 ExtnPPkgContainer
134
3.9.2 ExtnPropertyPackage
135
3.10 Extension Unit
136
Operations
136
3.10.1 ExtnUnitOperationCont
137
3.10.2 ExtnUnitOperation
138
3.10.3 Passes
138
Forget Pass
139
Calculate Pass
139
3.10.4 Extension Unit
140
Operation Example
140
Manager property view
151
Defining the Tabs
152
Extensibility 3-69
153
Figure 3.31
153
Figure 3.32
153
Figure 3.33
154
Extensibility 3-71
155
Figure 3.34
155
Figure 3.35
155
Figure 3.36
156
Figure 3.37
156
Extensibility 3-73
157
Figure 3.38
157
Figure 3.39
157
Figure 3.40
158
Figure 3.41
158
Extensibility 3-75
159
Figure 3.42
159
Figure 3.43
160
Figure 3.44
160
Extensibility 3-77
161
Figure 3.45
161
Figure 3.46
161
Figure 3.47
162
Figure 3.48
162
Extensibility 3-79
163
Figure 3.49
163
3.11 Extension Transition
164
Overview
165
Global Variables
165
Initialize
165
Extensibility 3-83
167
Extensibility 3-85
169
Figure 3.51
170
3.11.2 Example
171
Installing the Extension
172
Installing Aspen HYSYS Oil
172
Installing REFSYS Oil
173
3.12 References
174
4 Extension View Editor
175
4-2 Extension View Editor
176
4.1 Introduction
177
4.1.1 Accessing the View
178
4.1.2 Creating a New EDF File
179
4-6 Introduction
180
Figure 4.4
180
Extension View Editor 4-7
181
Figure 4.5
181
Save View File icon
181
4.2 Using the View Editor
182
Alternate Approach
183
Deleting a Widget
184
Re-sizing a Widget
184
4.2.2 DefaultView Form
185
Active Location Settings
186
1 Button
187
Sizing Icons
188
Alignment Icons
189
4.2.3 Visibility Manager
190
Extension View Editor 4-17
191
Figure 4.12
191
Figure 4.13
191
Using Tabs
193
Extension View Editor 4-21
195
Figure 4.18
195
Figure 4.19
195
High and Low Integer Values
196
4.2.4 Objects Manager
197
Property View
197
Object Definition Matrix
198
4.2.5 Views Manager
201
4.3 Widget Properties
202
Moniker Specification
203
4-30 Widget Properties
204
Figure 4.24
204
Extension View Editor 4-31
205
Figure 4.25
205
4.3.1 Common Widget
206
Properties
206
4.3.2 DefaultView Form Object
208
Form Properties Property View
209
4.3.3 Button Widget
212
Button Properties
213
4.3.4 Static Text Widget
214
4.3.5 Text Entry Widget
216
4.3.6 Rich Text Entry Widget
218
4.3.7 Format Entry Widget
219
4.3.8 Numerical Input Widget
220
4.3.9 Matrix Widget
221
Matrix Properties
222
DataSet Properties
224
Attachment
225
Boolean
226
Enumeration
226
Numeric
227
Spreadsheet
228
Worksheet Attach
229
Numerical Format
229
4.3.10 Checkbox Widget
230
4.3.11 Radio Buttons Widget
231
4.3.12 Graphic Button Widget
233
4.3.13 Group Widget
236
4.3.14 Page Tabs Widget
237
4.3.15 Ply Picker Widget
239
Ply Picker Properties
240
4.3.16 Attachment Name
241
4.3.17 Enumeration Widget
243
4.3.18 Unit Enumeration
244
Unit Enumeration Properties
245
4.3.19 Text List Widget
246
4.3.20 Enumeration List
248
Enumeration List Properties
249
4.3.21 Attachment List Widget
251
4.3.22 Level Widget
254
4.3.23 Plot Widget
257
4.3.24 Worksheet Matrix
258
Worksheet Matrix Properties
259
4.3.25 ACTIVEX Container
261
ActiveX Container Properties
262
5 User Variables
263
5.1 Introduction
264
5.2 Adding a User Variable
264
User Variables 5-3
265
Figure 5.1
265
Figure 5.2
265
5-4 Adding a User Variable
266
Figure 5.3
266
Variables property view:
267
Variable property view
268
5.3 Importing/Exporting
269
User Variables
269
Importing a User Variable
270
5.4 User Variable Property
271
5.5 Data Types
272
5.5.1 Real Data Type
273
5.5.2 Enumeration Data Type
274
5.6 User Variables Tabs
275
5.6.1 Macros Tab
276
5.6.2 Attributes Tab
278
5.6.3 Filters Tab
280
5.6.4 Security Tab
281
5.7 Code Editor
282
Tool Tip Text
283
5.8 User Variable
284
Examples
284
Tag field
285
5-24 User Variable Examples
286
Figure 5.23
286
Macro Code
286
User Variables 5-25
287
Figure 5.24
287
5.8.2 Automatic Pump Energy
288
User Variables 5-27
289
Figure 5.26
289
Editor
290
User Variables 5-29
291
Figure 5.27
291
5-30 User Variable Examples
292
Figure 5.28
292
Figure 5.29
292
User Variables 5-31
293
5-32 User Variable Examples
294
6 User Unit Operation
295
6.1 Introduction
296
6.2 Adding a User Unit
296
Operation
296
User Unit Operation 6-3
297
Figure 6.1
297
Figure 6.2
297
Exporting a User Unit Op
298
6.3 User Unit Op Property
299
6.3.1 Design Tab
300
Code Page
301
Variables Page
304
6.3.2 Worksheet Tab
305
6.4 Dehumidifier Example
306
User Unit Operation 6-13
307
Figure 6.9
307
Figure 6.10
307
6-14 Dehumidifier Example
308
Dehumidifier Code
308
User Unit Operation 6-15
309
6-16 Dehumidifier Example
310
User Unit Operation 6-17
311
6-18 Dehumidifier Example
312
Figure 6.11
312
User Unit Operation 6-19
313
Figure 6.12
313
6-20 Dehumidifier Example
314
Figure 6.13
314
7 Aspen Custom
315
Modeler Operation
315
7.1 Introduction
316
7.2 Creating an ACM
317
7-4 Creating an ACM Model
318
Figure 7.2
318
Figure 7.3
318
Add Model icon
318
Figure 7.4
319
Add Form icon
319
Figure 7.6
321
Figure 7.7
321
7-8 Creating an ACM Model
322
Figure 7.8
322
Figure 7.9
322
7.2.2 Adding an ACM
324
Operation in HYSYS
324
7.2.3 ACM Op Property View
325
7.2.4 Design Tab
325
ACM Configuration Page
326
Stream Ports Page
327
Solver Options Page
328
User Variables Page
328
7.2.5 Variables Tab
329
7.2.6 Parameters Tab
330
7.2.7 Equations Tab
330
7.2.8 Worksheet Tab
331
7.2.9 Dynamics Tab
332
ACM Specs Page
333
PF Specs Page
334
Stripchart Page
334
7.2.10 Simulation Engine Tab
335
Sub PreExecute()
336
Dim test As ACMOp
336
A Customization FAQ
337
A.1 Automation FAQ
338
A-4 Automation FAQ
340
Customization FAQ A-5
341
Set hyCase = ActiveCase
343
If hyCase Is Nothing Then
343
A-8 Automation FAQ
344
Customization FAQ A-9
345
A.2 Extensibility FAQ
346
Customization FAQ A-11
347
Start icon
347
A-12 Extensibility FAQ
348
A.2.2 Unit Operation
349
Extensions
349
Set hyContainer = Container
350
Tag Name Type
351
List List Real Number
351
A-18 Extensibility FAQ
354
Objects Manager icon
354
Dim hyList as Object
355
End Function
356
Customization FAQ A-21
357
A-24 Extensibility FAQ
360
Customization FAQ A-25
361
A-26 Extensibility FAQ
362
Customization FAQ A-27
363
A-28 Extensibility FAQ
364
Customization FAQ A-29
365
A-30 Extensibility FAQ
366
Customization FAQ A-31
367
A-32 Extensibility FAQ
368
A.2.3 Kinetic Reaction
369
A-34 Extensibility FAQ
370
Komentáře k této Příručce
Žádné komentáře
Publish
Související produkty a manuály pro Televizory a monitory Aspen Touch Solutions ATM-123R Series
Televizory a monitory Aspen Touch Solutions ATM-173R Manuál
(18 stránky)
Tisknout dokument
Tisknout stránku 180
Komentáře k této Příručce