.NET Interface to CHEMCAD
1.1.11
|
Represents a unit operation in a flowsheet. More...
Public Member Functions | |
UnitOperation (UnitOperation o) | |
ColumnHydraulicsResult | GetColumnHydraulicsFromSizing (ColumnType columnType) |
Get hydraulics of a column unit op. The values are in current flowsheet units. More... | |
ColumnHydraulicsResult | GetColumnHydraulicsFromSizingInternalUnits (ColumnType columnType) |
Get hydraulics of a column unit op. The values are in internal units. More... | |
void | GetEquilibriumReactionParameter (float parVal, short rxnNo, EquilibriumRxnParamter parID, short compIdx) |
Get equilibrium reaction parameter. More... | |
void | PutEquilibriumReactionParameter (float parVal, EquilibriumRxnParamter parID, short rxnNo, short compIdx) |
Set an equilibrium reaction parameter of the unit op. More... | |
float | GetKineticReactionParameter (short rxnNo, KineticRxnParameter parID, short compIdx) |
Get kinetic reaction parameter of the unit op. More... | |
void | PutKineticReactionPar (float parVal, KineticRxnParameter parID, short rxnNo, short compIdx) |
Set kinetic reaction parameter of the unit op. More... | |
void | SetFoulingFactors (double tFouling, double sFouling) |
Set fouling factors of the unit op. More... | |
void | SetColumnPressureProfile (float[] pressureCurrentUnits) |
Set the column pressure of a profile in current flowsheet Units. More... | |
void | SetParameterInCurUnits (short parameterId, float parVal) |
Set parameter of unit op in current flowsheet units. More... | |
void | SetParameterInInternalUnits (short parameterId, float parVal) |
Set parameter of unit op in internal units. More... | |
float | GetParameterInCurUnits (short parameterId) |
Get parameter of unit op in current flowsheet units. More... | |
float | GetParameterInInernalUnits (short parameterId) |
Get parameter of unit op in internal units. More... | |
float | GetTrayProperty (ColumnType columnType, int trayNumber, StreamProperty property) |
Get tray property of the defined tray in the distillation column. More... | |
Properties | |
short | Id [get] |
Id of the unit operation. More... | |
string | Name [get] |
Name of the unit operation. More... | |
string | CategoryName [get] |
Type of the unit op. More... | |
int | CategoryId [get] |
Type of the unit op. More... | |
StreamCollectionCurUnits | InletStreams [get] |
Returns all inlet streams of this unit op. More... | |
StreamCollectionCurUnits | OutletStreams [get] |
Returns all outlet streams of this unit op. More... | |
string | RuntimeErrorString [get] |
Runtime error string. More... | |
int | RuntimeErrorCode [get] |
Runtime error code. More... | |
int | NumberOfStages [get] |
Number of stages of this unit operation. More... | |
Represents a unit operation in a flowsheet.
ColumnHydraulicsResult CCAPI.UnitOperation.GetColumnHydraulicsFromSizing | ( | ColumnType | columnType | ) |
Get hydraulics of a column unit op. The values are in current flowsheet units.
columnType |
ColumnHydraulicsResult CCAPI.UnitOperation.GetColumnHydraulicsFromSizingInternalUnits | ( | ColumnType | columnType | ) |
Get hydraulics of a column unit op. The values are in internal units.
columnType |
void CCAPI.UnitOperation.GetEquilibriumReactionParameter | ( | float | parVal, |
short | rxnNo, | ||
EquilibriumRxnParamter | parID, | ||
short | compIdx | ||
) |
Get equilibrium reaction parameter.
float CCAPI.UnitOperation.GetKineticReactionParameter | ( | short | rxnNo, |
KineticRxnParameter | parID, | ||
short | compIdx | ||
) |
Get kinetic reaction parameter of the unit op.
float CCAPI.UnitOperation.GetParameterInCurUnits | ( | short | parameterId | ) |
Get parameter of unit op in current flowsheet units.
parameterId |
float CCAPI.UnitOperation.GetParameterInInernalUnits | ( | short | parameterId | ) |
Get parameter of unit op in internal units.
parameterId |
float CCAPI.UnitOperation.GetTrayProperty | ( | ColumnType | columnType, |
int | trayNumber, | ||
StreamProperty | property | ||
) |
Get tray property of the defined tray in the distillation column.
void CCAPI.UnitOperation.PutEquilibriumReactionParameter | ( | float | parVal, |
EquilibriumRxnParamter | parID, | ||
short | rxnNo, | ||
short | compIdx | ||
) |
Set an equilibrium reaction parameter of the unit op.
void CCAPI.UnitOperation.PutKineticReactionPar | ( | float | parVal, |
KineticRxnParameter | parID, | ||
short | rxnNo, | ||
short | compIdx | ||
) |
Set kinetic reaction parameter of the unit op.
void CCAPI.UnitOperation.SetColumnPressureProfile | ( | float[] | pressureCurrentUnits | ) |
Set the column pressure of a profile in current flowsheet Units.
void CCAPI.UnitOperation.SetFoulingFactors | ( | double | tFouling, |
double | sFouling | ||
) |
Set fouling factors of the unit op.
void CCAPI.UnitOperation.SetParameterInCurUnits | ( | short | parameterId, |
float | parVal | ||
) |
Set parameter of unit op in current flowsheet units.
void CCAPI.UnitOperation.SetParameterInInternalUnits | ( | short | parameterId, |
float | parVal | ||
) |
Set parameter of unit op in internal units.
|
get |
Type of the unit op.
|
get |
Type of the unit op.
|
get |
Id of the unit operation.
|
get |
Returns all inlet streams of this unit op.
|
get |
Name of the unit operation.
|
get |
Number of stages of this unit operation.
|
get |
Returns all outlet streams of this unit op.
|
get |
Runtime error code.
|
get |
Runtime error string.