FlowsheetSolver Methods

Methods

CalculateMaterialStream Material Stream calculation routine 1. This routine check all input values and calculates all remaining properties of the stream.
CalculateMaterialStreamAsync Calculates a material stream object asynchronously. This function is always called from a task or a different thread other than UI's.
CalculateObject(Object, String) Calculates a single object in the Flowsheet.
CalculateObject(Object, CalculationArgs, Object, Boolean) Flowsheet calculation routine 1. Calculates the object using information sent by the queue and updates the flowsheet.
CalculateObjectAsync(Object, CalculationArgs, CancellationToken) Calculates the flowsheet objects asynchronously. This function is always called from a task or a different thread other than UI's.
CalculateObjectAsync(Object, String, CancellationToken) Calculates a single object in the Flowsheet.
CalculateObjectSync Calculates a single object in the Flowsheet.
CheckCalculatorStatus Checks the calculator status to see if the user did any stop/abort request, and throws an exception to force aborting, if necessary.
CheckExceptionForAdditionalInfo 
FunctionGradientAsync Gradient function called asynchronously by the simultaneous adjust solver. Retrieves the gradient of the error function value for each adjust object.
FunctionGradientSync Gradient function called by the simultaneous adjust solver. Retrieves the gradient of the error function value for each adjust object.
FunctionValueAsync Function called asynchronously by the simultaneous adjust solver. Retrieves the error function value for each adjust object.
FunctionValueSync Function called by the simultaneous adjust solver. Retrieves the error function value for each adjust object.
GetCtlVarValue Gets the controlled variable value for the selected adjust op.
GetMnpVarValue Gets the manipulated variable value for the selected adjust op.
GetRefVarValue Gets the referenced variable value for the selected adjust op.
GetSolvingList Retrieves the list of objects to be solved in the flowsheet.
ProcessCalculationQueue Process the calculation queue of the Flowsheet passed as an argument. Checks all elements in the queue and calculates them.
ProcessQueueInternal This is the internal routine called by ProcessCalculationQueue when the UI thread is used to calculate the flowsheet.
ProcessQueueInternalAsync This is the internal routine called by ProcessCalculationQueue when a background thread is used to calculate the flowsheet.
ProcessQueueInternalAsyncParallel This is the internal routine called by ProcessCalculationQueue when background parallel threads are used to calculate the flowsheet.
RegisterCallback 
SetMnpVarValue Sets the manipulated variable value for the selected adjust op.
SolveFlowsheet Calculate all objects in the Flowsheet using an ordering method.
SolveSimultaneousAdjusts Simultaneous adjust solver routine.
SolveSimultaneousAdjustsAsync Async simultaneous adjust solver routine.
UpdateDisplayStatus This routine updates the display status of a list of graphic objects in the flowsheet according to their calculated status.

Extension Methods

GetEnumNames
(Defined by General)
IsValidDouble
(Defined by General)

See Also