.NET Interface to CHEMCAD  1.1.11
CCAPI.StreamInCurUnits Class Reference

Represents a stream in a flowsheet. More...

Public Member Functions

void SetStreamCost (short costType, float costValue)
 Sets the stream cost. More...
 
void ReflashStream ()
 Reflash stream More...
 
void GetParticleSizeDistribution (Component component)
 Return the particle size distribution. More...
 
void SetEnthalpyPressure (float enthalpy, float pressure)
 Set Enthalpy and Pressure. After setting the values the stream is reflashed and streams is updated. More...
 
void SetTemperaturePressure (float temperature, float pressure)
 Set Temperature and Pressure.After setting the values the stream is reflashed and streams is updated. More...
 
void SetMolarVFPressure (float molarVaporFraction, float pressure)
 Set Vapor fraction and Pressure. After setting the values the stream is reflashed and streams is updated. More...
 
void SetMolarVFTemperature (float molarVaporFraction, float temperature)
 Set stream values. After setting the values the stream is reflashed and streams is updated. More...
 
void PutParticleSizeDistribution (short solidCompID, short noOfCuts, object particleSizes, object weightFractions)
 Sets the particle size distribution. More...
 
float GetProperty (StreamProperty type)
 Returns the property of a stream. More...
 
float GetProperty (CompFlowType type, Component component)
 Returns the property of a stream. More...
 
void SetProperty (CompFlowType type, Component component, float value)
 Puts the property of a stream. More...
 
void SetProperty (StreamProperty type, float value)
 Puts the property of a stream. More...
 
void SetCompFlow (FlowRateCurUnits[] compFlowrates)
 Set the component flowrates More...
 
void SetOneCompFlow (FlowRateCurUnits compFlowrate)
 Set one component flowrate More...
 
void SetTemperature (float value)
 Puts the temperature of a stream. More...
 
void SetPressure (float value)
 Puts the pressure of a stream. More...
 
void SetVaporFraction (float value)
 Puts the vapor fraction of a stream. More...
 
void SetStreamEnthalpy (float value)
 Puts the enthalpy of a stream. More...
 

Properties

short Id [get]
 Gets the id of the stream. More...
 
string Name [get]
 Name of the stream. More...
 
float TotalMoleRate [get]
 Total mole rate of this stream. More...
 
float TotalMassRate [get]
 Total mass rate of this stream. More...
 
float TotalStandardLiquidVolumeRate [get]
 Total standard liquid volume rate of this stream. More...
 
float TotalStandardVaporVolumeRate [get]
 Total standard vapor volume rate of this stream. More...
 
float Temperature [get]
 Temperature of the stream. More...
 
float Pressure [get]
 Pressure of the stream. More...
 
float MoleVaporFraction [get]
 Mole vapor fraction. More...
 
float Enthalpy [get]
 Enthalpy of the stream. More...
 
FlowRateCurUnits[] CompFlow [get]
 Component flow. More...
 
short StreamCostType [get]
 Type of cost of the stream. More...
 
float StreamCost [get]
 Cost of the stream. More...
 
float TotalStdLiquidVolumeRate [get, set]
 
float TotalStdVaporVolumeRate [get, set]
 
float TotalActualVolumeRate [get, set]
 Total actual density. More...
 
float TotalActualDensity [get, set]
 
float TotalMw [get, set]
 
float GrossHValue [get, set]
 
float NetHValue [get, set]
 
float ReidVaporPressure [get, set]
 
float UOPK [get, set]
 Characterization Factor More...
 
float VABP [get, set]
 
float MeABP [get, set]
 
float FlashPoint [get, set]
 
float PourPoint [get, set]
 
float TotalEntropy [get, set]
 
float MassVaporFraction [get, set]
 
float PHValue [get, set]
 
float VaporMoleRate [get, set]
 
float VaporMassRate [get, set]
 
float VaporEnthalpy [get, set]
 
float VaporEntropy [get, set]
 
float VaporMw [get, set]
 
float VaporActualDensity [get, set]
 
float VaporActualVolumeRate [get, set]
 
float VapStdLiquidVolumeRate [get, set]
 
float VapStdVaporVolumeRate [get, set]
 
float VaporCp [get, set]
 
float VaporZfactor [get, set]
 
float VaporViscosity [get, set]
 
float VaporThermalConductivity [get, set]
 
float CpCv [get, set]
 
float LiquidMoleRate [get, set]
 
float LiquidMassRate [get, set]
 
float LiquidEnthalpy [get, set]
 
float LiquidEntropy [get, set]
 
float LiquidMolecularWeight [get, set]
 
float LiquidActualDensity [get, set]
 
float LiquidActualVolumeRate [get, set]
 
float LiquidStdLiquidVolumeRate [get, set]
 
float LiquidStdVaporVolumeRate [get, set]
 
float LiquidCp [get, set]
 
float LiquidZfactor [get, set]
 
float LiquidViscosity [get, set]
 
float LiquidThermalConductivity [get, set]
 
float LiquidSurfaceTension [get, set]
 
float LiquidAndSolidActualDensity [get, set]
 
float LiquidAndSolidActualVolume [get, set]
 
float LiquidLatentHeat [get, set]
 
float SolidMoleRate [get, set]
 
float SolidMassRate [get, set]
 
float SolidMw [get, set]
 
float SolidEnthalpy [get, set]
 
float SolidCp [get, set]
 
float SolidActualVolume [get, set]
 
float SolidDensity [get, set]
 
float SolidStdVaporVolumeRate [get, set]
 
float SolidStdLiquidVolumeRate [get, set]
 
UnitOperation Target [get]
 Target of the stream. More...
 
UnitOperation Source [get]
 Source of the stream. More...
 

Detailed Description

Represents a stream in a flowsheet.

New feature:
Stream values in flowsheet units.

Member Function Documentation

◆ GetParticleSizeDistribution()

void CCAPI.StreamInCurUnits.GetParticleSizeDistribution ( Component  component)

Return the particle size distribution.

Parameters
component

◆ GetProperty() [1/2]

float CCAPI.StreamInCurUnits.GetProperty ( CompFlowType  type,
Component  component 
)

Returns the property of a stream.

Parameters
type
component
Returns

◆ GetProperty() [2/2]

float CCAPI.StreamInCurUnits.GetProperty ( StreamProperty  type)

Returns the property of a stream.

Parameters
type
Returns

◆ PutParticleSizeDistribution()

void CCAPI.StreamInCurUnits.PutParticleSizeDistribution ( short  solidCompID,
short  noOfCuts,
object  particleSizes,
object  weightFractions 
)

Sets the particle size distribution.

Parameters
solidCompID
noOfCuts
particleSizes
weightFractions

◆ ReflashStream()

void CCAPI.StreamInCurUnits.ReflashStream ( )

Reflash stream

Exceptions
ChemcadExceptionCode 2006. Thrown if flash did not converge

◆ SetCompFlow()

void CCAPI.StreamInCurUnits.SetCompFlow ( FlowRateCurUnits[]  compFlowrates)

Set the component flowrates

New feature:
Set component flowrates independent of other stream properties.

◆ SetEnthalpyPressure()

void CCAPI.StreamInCurUnits.SetEnthalpyPressure ( float  enthalpy,
float  pressure 
)

Set Enthalpy and Pressure. After setting the values the stream is reflashed and streams is updated.

Parameters
enthalpy
flowRateOption
componentFlow
pressure

Set Enthalpy and Pressure. After setting the values the stream is reflashed and streams is updated.

Parameters
enthalpy
flowRateOption
componentFlow
pressure

◆ SetMolarVFPressure()

void CCAPI.StreamInCurUnits.SetMolarVFPressure ( float  molarVaporFraction,
float  pressure 
)

Set Vapor fraction and Pressure. After setting the values the stream is reflashed and streams is updated.

Set Vapor fraction and Pressure. After setting the values the stream is reflashed and streams is updated.

◆ SetMolarVFTemperature()

void CCAPI.StreamInCurUnits.SetMolarVFTemperature ( float  molarVaporFraction,
float  temperature 
)

Set stream values. After setting the values the stream is reflashed and streams is updated.

Set stream values. After setting the values the stream is reflashed and streams is updated.

◆ SetOneCompFlow()

void CCAPI.StreamInCurUnits.SetOneCompFlow ( FlowRateCurUnits  compFlowrate)

Set one component flowrate

New feature:
No need to defined flowrate of all the components.

◆ SetPressure()

void CCAPI.StreamInCurUnits.SetPressure ( float  value)

Puts the pressure of a stream.

New feature:
Stream pressure can be set independently

◆ SetProperty() [1/2]

void CCAPI.StreamInCurUnits.SetProperty ( CompFlowType  type,
Component  component,
float  value 
)

Puts the property of a stream.

Parameters
type
component
value
Returns

◆ SetProperty() [2/2]

void CCAPI.StreamInCurUnits.SetProperty ( StreamProperty  type,
float  value 
)

Puts the property of a stream.

Parameters
type
value
Returns

◆ SetStreamCost()

void CCAPI.StreamInCurUnits.SetStreamCost ( short  costType,
float  costValue 
)

Sets the stream cost.

◆ SetStreamEnthalpy()

void CCAPI.StreamInCurUnits.SetStreamEnthalpy ( float  value)

Puts the enthalpy of a stream.

New feature:
Stream enthalpy can be set independently

◆ SetTemperature()

void CCAPI.StreamInCurUnits.SetTemperature ( float  value)

Puts the temperature of a stream.

New feature:
Stream Temperature can be set independently

◆ SetTemperaturePressure()

void CCAPI.StreamInCurUnits.SetTemperaturePressure ( float  temperature,
float  pressure 
)

Set Temperature and Pressure.After setting the values the stream is reflashed and streams is updated.

Set Temperature and Pressure.After setting the values the stream is reflashed and streams is updated.

◆ SetVaporFraction()

void CCAPI.StreamInCurUnits.SetVaporFraction ( float  value)

Puts the vapor fraction of a stream.

New feature:
Stream vapor fraction can be set independently

Property Documentation

◆ CompFlow

FlowRateCurUnits [] CCAPI.StreamInCurUnits.CompFlow
get

Component flow.

◆ CpCv

float CCAPI.StreamInCurUnits.CpCv
getset

◆ Enthalpy

float CCAPI.StreamInCurUnits.Enthalpy
get

Enthalpy of the stream.

◆ FlashPoint

float CCAPI.StreamInCurUnits.FlashPoint
getset

◆ GrossHValue

float CCAPI.StreamInCurUnits.GrossHValue
getset

◆ Id

short CCAPI.StreamInCurUnits.Id
get

Gets the id of the stream.

◆ LiquidActualDensity

float CCAPI.StreamInCurUnits.LiquidActualDensity
getset

◆ LiquidActualVolumeRate

float CCAPI.StreamInCurUnits.LiquidActualVolumeRate
getset

◆ LiquidAndSolidActualDensity

float CCAPI.StreamInCurUnits.LiquidAndSolidActualDensity
getset

◆ LiquidAndSolidActualVolume

float CCAPI.StreamInCurUnits.LiquidAndSolidActualVolume
getset

◆ LiquidCp

float CCAPI.StreamInCurUnits.LiquidCp
getset

◆ LiquidEnthalpy

float CCAPI.StreamInCurUnits.LiquidEnthalpy
getset

◆ LiquidEntropy

float CCAPI.StreamInCurUnits.LiquidEntropy
getset

◆ LiquidLatentHeat

float CCAPI.StreamInCurUnits.LiquidLatentHeat
getset

◆ LiquidMassRate

float CCAPI.StreamInCurUnits.LiquidMassRate
getset

◆ LiquidMolecularWeight

float CCAPI.StreamInCurUnits.LiquidMolecularWeight
getset

◆ LiquidMoleRate

float CCAPI.StreamInCurUnits.LiquidMoleRate
getset

◆ LiquidStdLiquidVolumeRate

float CCAPI.StreamInCurUnits.LiquidStdLiquidVolumeRate
getset

◆ LiquidStdVaporVolumeRate

float CCAPI.StreamInCurUnits.LiquidStdVaporVolumeRate
getset

◆ LiquidSurfaceTension

float CCAPI.StreamInCurUnits.LiquidSurfaceTension
getset

◆ LiquidThermalConductivity

float CCAPI.StreamInCurUnits.LiquidThermalConductivity
getset

◆ LiquidViscosity

float CCAPI.StreamInCurUnits.LiquidViscosity
getset

◆ LiquidZfactor

float CCAPI.StreamInCurUnits.LiquidZfactor
getset

◆ MassVaporFraction

float CCAPI.StreamInCurUnits.MassVaporFraction
getset

◆ MeABP

float CCAPI.StreamInCurUnits.MeABP
getset

◆ MoleVaporFraction

float CCAPI.StreamInCurUnits.MoleVaporFraction
get

Mole vapor fraction.

◆ Name

string CCAPI.StreamInCurUnits.Name
get

Name of the stream.

◆ NetHValue

float CCAPI.StreamInCurUnits.NetHValue
getset

◆ PHValue

float CCAPI.StreamInCurUnits.PHValue
getset

◆ PourPoint

float CCAPI.StreamInCurUnits.PourPoint
getset

◆ Pressure

float CCAPI.StreamInCurUnits.Pressure
get

Pressure of the stream.

◆ ReidVaporPressure

float CCAPI.StreamInCurUnits.ReidVaporPressure
getset

◆ SolidActualVolume

float CCAPI.StreamInCurUnits.SolidActualVolume
getset

◆ SolidCp

float CCAPI.StreamInCurUnits.SolidCp
getset

◆ SolidDensity

float CCAPI.StreamInCurUnits.SolidDensity
getset

◆ SolidEnthalpy

float CCAPI.StreamInCurUnits.SolidEnthalpy
getset

◆ SolidMassRate

float CCAPI.StreamInCurUnits.SolidMassRate
getset

◆ SolidMoleRate

float CCAPI.StreamInCurUnits.SolidMoleRate
getset

◆ SolidMw

float CCAPI.StreamInCurUnits.SolidMw
getset

◆ SolidStdLiquidVolumeRate

float CCAPI.StreamInCurUnits.SolidStdLiquidVolumeRate
getset

◆ SolidStdVaporVolumeRate

float CCAPI.StreamInCurUnits.SolidStdVaporVolumeRate
getset

◆ Source

UnitOperation CCAPI.StreamInCurUnits.Source
get

Source of the stream.

◆ StreamCost

float CCAPI.StreamInCurUnits.StreamCost
get

Cost of the stream.

◆ StreamCostType

short CCAPI.StreamInCurUnits.StreamCostType
get

Type of cost of the stream.

◆ Target

UnitOperation CCAPI.StreamInCurUnits.Target
get

Target of the stream.

◆ Temperature

float CCAPI.StreamInCurUnits.Temperature
get

Temperature of the stream.

◆ TotalActualDensity

float CCAPI.StreamInCurUnits.TotalActualDensity
getset

◆ TotalActualVolumeRate

float CCAPI.StreamInCurUnits.TotalActualVolumeRate
getset

Total actual density.

◆ TotalEntropy

float CCAPI.StreamInCurUnits.TotalEntropy
getset

◆ TotalMassRate

float CCAPI.StreamInCurUnits.TotalMassRate
get

Total mass rate of this stream.

◆ TotalMoleRate

float CCAPI.StreamInCurUnits.TotalMoleRate
get

Total mole rate of this stream.

◆ TotalMw

float CCAPI.StreamInCurUnits.TotalMw
getset

◆ TotalStandardLiquidVolumeRate

float CCAPI.StreamInCurUnits.TotalStandardLiquidVolumeRate
get

Total standard liquid volume rate of this stream.

◆ TotalStandardVaporVolumeRate

float CCAPI.StreamInCurUnits.TotalStandardVaporVolumeRate
get

Total standard vapor volume rate of this stream.

◆ TotalStdLiquidVolumeRate

float CCAPI.StreamInCurUnits.TotalStdLiquidVolumeRate
getset

◆ TotalStdVaporVolumeRate

float CCAPI.StreamInCurUnits.TotalStdVaporVolumeRate
getset

◆ UOPK

float CCAPI.StreamInCurUnits.UOPK
getset

Characterization Factor

◆ VABP

float CCAPI.StreamInCurUnits.VABP
getset

◆ VaporActualDensity

float CCAPI.StreamInCurUnits.VaporActualDensity
getset

◆ VaporActualVolumeRate

float CCAPI.StreamInCurUnits.VaporActualVolumeRate
getset

◆ VaporCp

float CCAPI.StreamInCurUnits.VaporCp
getset

◆ VaporEnthalpy

float CCAPI.StreamInCurUnits.VaporEnthalpy
getset

◆ VaporEntropy

float CCAPI.StreamInCurUnits.VaporEntropy
getset

◆ VaporMassRate

float CCAPI.StreamInCurUnits.VaporMassRate
getset

◆ VaporMoleRate

float CCAPI.StreamInCurUnits.VaporMoleRate
getset

◆ VaporMw

float CCAPI.StreamInCurUnits.VaporMw
getset

◆ VaporThermalConductivity

float CCAPI.StreamInCurUnits.VaporThermalConductivity
getset

◆ VaporViscosity

float CCAPI.StreamInCurUnits.VaporViscosity
getset

◆ VaporZfactor

float CCAPI.StreamInCurUnits.VaporZfactor
getset

◆ VapStdLiquidVolumeRate

float CCAPI.StreamInCurUnits.VapStdLiquidVolumeRate
getset

◆ VapStdVaporVolumeRate

float CCAPI.StreamInCurUnits.VapStdVaporVolumeRate
getset


The documentation for this class was generated from the following file: