Вы находитесь на странице: 1из 15
SimSci ® DYNSIM ® 5.3.2 OLGA Send/Receive December 2016

SimSci ®

DYNSIM ® 5.3.2 OLGA Send/Receive

December 2016

All terms mentionedin this documentation that are known to be trademarks or service marks have been appropriately capitalized. Schneider Electric Software, LLC. cannot attest to the accuracy of this information. Use of a term in this documentation should not be regarded as affecting the validity of any trademark or service mark.

ActiveFactory, ArchestrA, ARPM, AssayCentral, Autonomous, Avantis, Avantis.PRO, Connoisseur, CrudeManager, CrudeSuite, DATACON, DATAPREP, DT Analyst, DYNSIM, DYNSIM Power, Esscor, EYESIM, Factelligence, FactorySuite, FactorySuite A², Foxboro, Foxboro Evo, FSIM Plus, HEXTRAN, Hot Links, I/A Series, IMPACT, IMServ, InBatch, InControl, Industrial Portal, IndustrialSQL Server, InFusion, INPLANT, InSQL, IntelaTrac, InTouch, IPact, Invensys, Logic Validator, MBM, NETOPT, PIPEPHASE, PRO/II, PROVISION, QI Analyst, ROMeo, SCADAlarm, SIM4ME, SimCentral, SimSci, SimSci-Esscor, Skelta, Skelta BPM.NET, Skelta Sharepoint, Skelta Sharepoint Accelerator, Spiral Software, SuiteVoyager, TACITE, Tactical Batch, The Simulator, TRISIM Plus, VISUAL FLARE, VISUAL FLOW, VISUAL FLOW SUITE, VISUAL NETWORK, Visual Solutions, VOYAGER, WindowMaker, WindowViewer, Wonderware, Wonderware InTouch, and ZI ZHI are trademarks of Schneider Electric SE, its subsidiaries and affiliated companies.

© 2016 by Schneider Electric Software, LLC. All rights reserved.

No part of this documentation shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Schneider Electric Software, LLC. No liability is assumed with respect to the use of the information contained herein.

Although precaution has been taken in the preparation of this documentation, Schneider Electric Software, LLC assumes no responsibility for errors or omissions. The information in this documentation is subject to change without notice and does not represent a commitment on the part of Schneider Electric Software, LLC. The software described in this documentation is furnished under a license agreement. This software may be used or copied only in accordance with the terms of such license agreement.

ArchestrA, Avantis, DYNSIM, EYESIM, Foxboro, Foxboro Evo, I/A Series, InBatch, InduSoft, IntelaTrac, InTouch, PIPEPHASE, PRO/II, PROVISION, ROMeo, Schneider Electric, SIM4ME, SimCentral, SimSci, Skelta, SmartGlance, Spiral Software, VISUAL FLARE, WindowMaker, WindowViewer, and Wonderware are trademarks of Schneider Electric SE, its subsidiaries, and affiliated companies. An extensive listing of Schneider Electric Software, LLC trademarks can be found at: http://software.schneider-electric.com/legal/trademarks/. All other brands may be trademarks of their respective owners.

Schneider Electric Software, LLC 26561 Rancho Parkway South Lake Forest, CA 92630 U.S.A. (949) 727-3200

http://software.schneider-electric.com/

Table of Contents

OLGA Send and Receive

1

INTRODUCTION

1

EXAMPLE

4

DATA ENTRY WINDOW USAGE

5

PARAMETER TABLE - STREAMRECEIVE

8

PARAMETER TABLE - STREAMSEND

10

OLGA Send and Receive

Introduction

OLGA Send and Receive

The Olga Send/Receive models are used to conveniently transfer pressure/flow data between a DYNSIM ® simulation and an Olga simulation running as part of the DYNSIM simulation. The user need only to specify the Olga engine name and the Olga boundary or source name and the DYNSIM model will configure the communication between the Olga engine and DYNSIM engine.

The Olga receive model can be used to establish the data flow with the Olga boundary pressure node. Olga receive provides pressure, and pressure sensitivities to the Olga boundary node and also receive temperature, phase mass rates, and mass rate sensitivities.

The Olga Send model can be used to establish the data flow with the Olga Source. Olga send provides total mass rates, and flow sensitivities to the Olga source and also receive pressure, and pressure sensitivities.

Fundamentals

Externally Defined Component Distribution

OLGA Send and Receive

Olga does not have the same concept of components as DYNSIM application. Therefore, Olga Stream Receive will need to have a component slate with a reasonable component distribution defined for it. This should be done in a DYNSIM Source model, which will then be associated with the Olga Stream Receive model.

Olga Simulation Model Names

The user will have to know the label for the pressure boundary in the Olga simulation when configuring an Olga Stream Receive model. Likewise, the label of the source in the Olga simulation will need to know to properly configure the Olga Stream Send model. These names will be entered as text strings when configuring a model.

Configuring the Model

Olga Stream Receive

There are three essential pieces of information needed to configure an Olga Stream Receive model. The first two are the name of the Olga engine and the label of the boundary in the Olga engine from which you want to receive the outlet flow. The third piece of information is the name of a source, which has an appropriately defined component slate and composition to represent the stream coming out of Olga. Since Olga does not have the same concept of components as DYNSIM model, this source is critical to transfer the flow from Olga to DYNSIM application.

The flow can be specified to run just the DYNSIM engine by itself. In this case the Olga Stream Receive will act as a source with composition specified in the initialization source and flow rate specified by the flow parameter.

The two check boxes in the DEW are used to allow or disallow the transfer of pressure and flow sensitivities to the Olga engine and the DYNSIM engine.

On the DYNSIM model side the Olga Stream Receive model needs to be connected to a pressure node. In general the larger the holdup of the downstream pressure node the more stable the simulation will be.

Olga Stream Send

There are two pieces of information needed to configure the Olga Stream Send model. They are the name of the Olga engine and the label of the boundary source, which will receive the flow from the DYNSIM engine. In addition the model will act as a Sink if it is not connected to an Olga engine so a pressure ought to be specified if this mode of operation will be used.

The two checkboxes in the DEW are used to allow or disallow the transfer of flow and pressure sensitivities to the Olga and DYNSIM engines.

OLGA Send and Receive

On the DYNSIM model side the model needs to be connected to a flow device. The flow derivatives across the flow device are used to approximate the flow derivatives for the system. Therefore as a rule of thumb the larger the pressure drop across the flow device the more accurate the derivatives sent to the OLGA engine.

Transferred Parameters

From Olga to DYNSIM Model

Olga Engine Point

Olga Stream Receive Parameter

PT

PB

Derivatives:

 

DPDGGS

DPDWV

DPDGLTHLS

DPDWL

DPDGLTWTS

DPDWL2

Pressure:

P: Pressure Sensitivities with respect to phase mass flow:

DPDWV: Pressure w.r.t. gas mass rate DPDWL: Pressure w.r.t. liq mass rate DPDWL2: Sensitivity w.r.t. water mass rate

From DYNSIM Model to Olga

Olga Engine Point

Olga Stream Receive Parameter

TB

SOURCE.3

W

SOURCE.1

Derivatives:

 

DWVDP

SOURCE_DERIV.0

DWLDP

SOURCE_DERIV.1

DWL2DP

SOURCE_DERIV.2

Temperature:

T: Temperature Mass flow rates:

W: total mass flow Sensitivities: Phase rate with respect to pressure

DWVDP: Vapor mass rate w.r.t pressure DWLDP: Liquid mass rate w.r.t. pressure DWL2DP: Liquid 2 mass rate w.r.t. pressure

Example

OLGA Send and Receive

A separate document with a brief process description with Olga Engine and model configuration details and an example s4m file is available in the install kit. Please go to the folder:

\DSS44\Engines\ OlgaInterfaceEngine\Examples\example1.

Data Entry Window Usage

Olga Stream Receive

OLGA Send and Receive

Entry Window Usage Olga Stream Receive OLGA Send and Receive Olga Remote Connection The Olga engine

Olga Remote Connection

The Olga engine name corresponds to the parameter OlgaEngineName. It is the name of Olga engine to feed data into the OlgaStreamReceive.

The Remote object name corresponds to the OlgaRemoteObject parameter. It is the name of Olga object to feed data into the OlgaStreamReceive.

The enable pressure sensitivities flag from DYNSIM model to Olga corresponds to the PresSenFlag parameter. This flag is used to control the pressure sensitivities transfer from DYNSIM model to Olga.

The enable flow sensitivities flag from Olga to DYNSIM model corresponds to the FlowSenFlag parameter. This flag is used to control the flow sensitivities transfer from Olga to DYNSIM model.

Boundary Conditions

OLGA Send and Receive

The boundary flow corresponds to the FB parameter. This parameter is used if Olga

engine name and Remote object are not specified. This object will then act like a StreamSet with a fixed flow.

The source initialization object corresponds to the OinitSource parameter. It is used to

define DYNSIM model boundary composition.

Olga Stream Send

OLGA Send and Receive

Olga Stream Send OLGA Send and Receive Olga Remote Connection The Olga engine name corresponds to

Olga Remote Connection

The Olga engine name corresponds to the parameter OlgaEngineName. It is the name of Olga engine to be linked with the OlgaStreamSend object.

The Remote object name corresponds to the OlgaRemoteObject parameter. It is the name of Olga object to be linked with the OlgaStreamSend object.

The enable flow sensitivities flag from DYNSIM model to Olga corresponds to the FlowSenFlag parameter. This flag is used to control the flow sensitivities transfer from Olga to DYNSIM model The enable pressure sensitivities flag from Olga to DYNSIM model corresponds to the PresSenFlag parameter. This flag is used to control the pressure sensitivities transfer from Olga to DYNSIM model.

Boundary Conditions

The boundary pressure corresponds to the PB parameter. This parameter is used if it is a stream termination. Note that unlike a Source or Sink this parameter is dynamic.

Parameter Table - StreamReceive

Basic

OLGA Send and Receive

Parameter

Description

Dft

Dft

Eq

Arr

UOM

Name

Cls

Val

Ok

Siz

 

Sensitivity Mode. Network sensitivity used in boundary

         

SensitivityMode

condition for pressure/flow solution

KI

NETWORK

No

0

= LOCAL

1

= NETWORK

Boundary conditions

Parameter

Description

Dft

 

Dft

Eq

Arr

UOM

Name

Cls

Val

Ok

Siz

Fb

Boundary flow. Boundary flow to be used if this is a stream origination. This object will then act like a StreamSet with a fixed flow.

DD

 

0

No

 

Kg-mol/sec

WVb

Vapor mass flow from Olga Boundary vapor mass flow from Olga

DD

 

0

No

 

Kg/sec

WLb

Liquid mass flow from Olga Boundary liquid mass flow from Olga

DD

 

0

No

 

Kg/sec

WL2b

Liquid 2 mass flow from Olga Boundary liquid 2 mass flow from Olga

DD

 

0

No

 

Kg/sec

Tb

Temperature from Olga Boundary temperature from Olga

DD

297.15

No

 

K

DWVDP

Vapor mass flow sensitivity from Olga Change in calculated vapor mass flow when downstream node pressure changes. Used to stabilize connection between networks.

DD

 

0

No

 

(kg/sec)/kpa

DWLDP

Liquid mass flow sensitivity from Olga Change in calculated vapor mass flow when downstream node pressure changes. Used to stabilize connection between networks.

DD

 

0

No

 

(kg/sec)/kpa

DWL2DP

Liquid 2 mass flow sensitivity from Olga Change in calculated vapor mass flow when downstream node pressure changes. Used to stabilize connection between networks.

DD

 

0

No

 

(kg/sec)/kpa

KF

Fraction of boundary flow Fraction of Fb set to outlet stream when standalone. Use for temporary flow control before system integration.

DD

 

1

Yes

 

fraction

Initialization

Parameter

Description

Dft

 

Dft

Eq

Arr

UOM

Name

Cls

Val

Ok

Siz

OInitSource

Initialization Source. Defines component slate and default forward

Source

 

No

   

OLGA Send and Receive

stream properties

stream properties

stream properties
stream properties
stream properties
stream properties
stream properties

Data flow control

Parameter

Description

Dft

Dft

Eq

Arr

UOM

Name

Cls

Val

Ok

Siz

PresSenFlag

Pressure sensitivity flag This flag is used to control the pressure sensitivities transfer from DYNSIM model to Olga. If it is enabled, Olga boundary node will use the pressure sensitivities from DYNSIM model. If it is disabled, the pressure sensitivities will be set to zero and Olga will ignore it. Default is TRUE.

KB

TRUE

No

   

FlowSenFlag

Flow sensitivity flag This flag is used to control the flow sensitivities transfer from Olga to DYNSIM model. If it is enabled, DYNSIM OlgaReceive will use the flow sensitivities from Olga. If it is disabled, the OlgaReceive will ignore it. Default is TRUE

   

No

   

Calculated variables

 

Parameter

Description

Dft

Dft

Eq

Arr

 

UOM

Name

Cls

Val

Ok

Siz

 

Fx

Calculated Exit flow Exit flow calculated by solver

DD

 

No

 

Kg-mol/sec

DPDWV

Calculated pressure sensitivity Sensitivity of connect Olga node pressure to change in this vapor mass flow. Sent to Olga boundary node to stabilize network.

DD

0

No

 

(kg/sec)/kpa

DPDWL

Calculated pressure sensitivity Sensitivity of connect Olga node pressure to change in this liquid mass flow. Sent to Olga boundary node to stabilize network.

DD

0

No

 

(kg/sec)/kpa

DPDWL2

Calculated pressure sensitivity Sensitivity of connect Olga node pressure to change in this liquid 2 mass flow. Sent to Olga boundary node to stabilize network.

DD

0

No

 

(kg/sec)/kpa

Topology

Parameter

Description

Dft

Dft

Eq

Arr

UOM

Name

Cls

Val

Ok

Siz

OEngineName

Olga remote engine Define the remote Olga engine name

   

No

   

ORemoteObj

Olga remote object Define the remote Olga object name

   

No

   

OProdStream

Product stream. The Olga Receive product stream

STREAM

 

No

   

Parameter Table - StreamSend

Basic

OLGA Send and Receive

Parameter

Description

Dft

Dft

Eq

Arr

UOM

Name

Cls

Val

Ok

Siz

 

Sensitivity Mode. Network sensitivity used in boundary

         

SensitivityMode

condition for pressure/flow solution

KI

NETWORK

No

0 = LOCAL

1 = NETWORK

Boundary conditions

Parameter

Description

Dft

Dft

Eq

Arr

UOM

Name

Cls

Val

Ok

Siz

Pb

Boundary pressure Boundary pressure to be used if this is a stream origination. This object will then act like a StreamSet with a fixed flow.

DD

0

No

 

Kg-mol/sec

DPDWV

Pressure sensitivity from Olga Change in boundary pressure when feed vapor mass flow changes. Used to stabilize connection between networks.

DD

0

No

 

(kg/sec)/kpa

DPDWL

Pressure sensitivity from Olga Change in boundary pressure when feed liquid mass flow changes. Used to stabilize connection between networks.

DD

0

No

 

(kg/sec)/kpa

DPDWL2

Pressure sensitivity from Olga Change in boundary pressure when feed liquid 2 mass flow changes. Used to stabilize connection between networks.

DD

0

No

 

(kg/sec)/kpa

Data flow control

Parameter

Description

Dft

Dft

Eq

Arr

UOM

Name

Cls

Val

Ok

Siz

PresSenFlag

Pressure sensitivity flag This flag is used to control the pressure sensitivities transfer from Olga to DYNSIM model OlgaSend. If it is enabled, DYNSIM model OlgaSend will use the pressure sensitivities from Olga Source. If it is disabled, the OlgaSend will ignore it. Default is TRUE.

   

No

   

FlowSenFlag

Flow sensitivity flag This flag is used to control the pressure sensitivities transfer from DYNSIM model to Olga. If it is enabled, Olga boundary node will use the pressure sensitivities from DYNSIM model. If it is disabled, the flow sensitivities will be set to zero and Olga will ignore it. Default is TRUE.

   

No

   

Calculated variables

OLGA Send and Receive

Parameter

Description

Dft

Dft

Eq

Arr

UOM

Name

Cls

Val

Ok

Siz

W

Calculated total mass rate Total mass rate to Olga source

DD

0

No

 

Kg/sec

DWVDP

Calculated vapor mass flow sensitivity Sensitivity of upstream vapor mass flow to changes in this pressure. Sent to connected Olga source to stabilize network.

DD

0

No

 

(kg/sec)/kpa

DWLDP

Calculated liquid mass flow sensitivity Sensitivity of upstream liquid mass flow to changes in this pressure. Sent to connected Olga source to stabilize network.

DD

0

No

 

(kg/sec)/kpa

DWL2DP

Calculated liquid 2 mass flow sensitivity Sensitivity of upstream liquid 2 mass flow to changes in this pressure. Sent to connected Olga source to stabilize network

DD

0

No

 

(kg/sec)/kpa

Topology

Parameter

Description

 

Dft

Dft

Eq

Arr

UOM

 

Name

Cls

Val

Ok

Siz

OEngineName

Olga remote engine Define the remote Olga engine name

   

No

   

ORemoteObj

Olga remote object Define the remote Olga object name

   

No

   

OFeedStream

Feed stream. The Olga Send feed stream

 

STREAM

 

No

   

Legend:

 

Dfl Cls

Default parameter class:

   

KB - Static Boolean KI - Static Integer KF - Static Float KD - Static Double

SB - State Boolean

 

DB

- Dynamic Boolean

SI

- State Integer

DI

- Dynamic Integer

SF - State Float SD - State Double

 

DF

- Dynamic Float

DD

- Dynamic Double

Dft Val

A value here indicates the parameter’s default value. If the parameter is static, no value indicates that the parameter is optional unless otherwise noted.

Eq Ok

An equation can be attached to the parameter if the corresponding value is Yes.

 

Arr Siz

A value here indicates the size of the array. No value indicates that the parameter is not a vector.

UOM

Internal units of measure.

 
Please refer to the Base Equipment Fundamentals section for pressure node base parameters, flow device

Please refer to the Base Equipment Fundamentals section for pressure node base parameters, flow device base parameters, and parameters associated with the flash or reaction submodel.

Invensys Systems, Inc. 26561 Rancho Parkway South Lake Forest, CA 92630 United States of America http://iom.invensys.com

Global Customer Support Inside U.S.: 1-866-746-6477 Outside U.S.: 1-508-549-2424 or contact your local Invensys Representative. Email: iom.support@invensys.com Website: http://support.ips.invensys.com