TracePropertyLine

Top  Previous  Next

This function lets the user trace a line when fixing a given property. The property's that can be fixed are:

Pressure
Temperature
Enthalpy
Entropy

 

 

The function can trace both for the feed and inside a multi phase area.

 

The function works by starting performing either a flash at the given temperature and pressure or a cloud point on the phase boundary.

The routine will then trace the fixed property in the given direction.

 

Input

Argument

Type

Optional

Description

Feed

Range of double

No

A range of cells with the feed

 

StartingPoint

 

C# : string

 

No

Determines the starting point. Valid input are:

Feed : Trace a property for only one phase
Flash: Starting with a flash, trace a property in the 2 phase region
CloudP: Starting with a cloud P, trace a property in the 2 phase region
CloudT: Starting with a cloud T, trace a property in the 2 phase region

Temperature

C# : double

No

Starting temperature

Pressure

C# : double

No

Starting pressure.

 

 

FixedProperty

 

 

C# : string

 

 

No

Property that is fixed on the line. Value input are:

Pressure
Temperature
Enthalpy
Entropy

Direction

C# : string

No

Direction in either pressure or temperature.

 

 

StopProperty

 

 

C# : string

 

 

No

Where to stop the curve. Valid input are:

Automatic - The curve stops when it cannot continue
Pressure - User gives the stop pressure.
Temperature - User gives the stop temperature
Enthalpy - User gives the stop enthalpy
Entropy - User gives the stop entropy

StopValue

C# : double

No

Value depends on the argument: StopProperty

Output

C# : string

No

Defines the output for each point on the curve. See here for more information.

 

Components

 

C# : string

 

No

Give a list of component names.

Only those components are used in the calculations.

See here for more information

 

Units

 

C# : string

 

No

 

Set the units used in this calculation.

See here for more information

Minimum

C# : object

(Expect a range of double)

Yes

Polymer systems only:

Minimum value for the solution temperature/pressure.

Maximum

C# : object

(Expect a range of double)

Yes

Polymer systems only:

Maximum value for the solution temperature/pressure.

Distribution

C# : object

(Expect a range of double)

Yes

Gives a range with the distribution of the polymer. Can for example be used if 2 flash calculations are liked as 2 separation tanks.

See here for more information

 

BlockMassfraction

C# : object

(Expect a range of double)

 

Yes

Sets the block mass fractions in a copolymer.

See here for more infomation

ProjectSheet

C#: object

Yes

Lets the user set the project sheet to use.

See here for more information

AdvVLXE

C# : object

Yes

Advanced used. Reserved for use by VLXE.

See here for more information

AdvUser

C# : object

Yes

Advanced used. Reserved for the user. For example it can be used to force the function update.

See here for more information

 

 

 

Extra

This function is defined in C# as:

public Object[,] TracePropertyLine(Range Feed, string StartingPoint, double Temperature, double Pressure, string FixedProperty, string Direction, string StopProperty, double StopValue, string Output, string Components, string Units, [In, Optional] object Minimum, [In, Optional] object Maximum, [In, Optional] object Distribution, [In, Optional] object BlockMassfraction, [In, Optional] object AdvVLXE, [In, Optional] object AdvUser)