Click or drag to resize

FlowsheetSolver Methods

The FlowsheetSolver type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCalculateMaterialStream Material Stream calculation routine 1. This routine check all input values and calculates all remaining properties of the stream.
Public methodStatic memberCalculateMaterialStreamAsync Calculates a material stream object asynchronously. This function is always called from a task or a different thread other than UI's.
Public methodStatic memberCalculateObject(Object, String) Calculates a single object in the Flowsheet.
Public methodStatic memberCalculateObject(Object, CalculationArgs, Object, Boolean) Flowsheet calculation routine 1. Calculates the object using information sent by the queue and updates the flowsheet.
Public methodStatic memberCalculateObjectAsync(Object, CalculationArgs, CancellationToken) Calculates the flowsheet objects asynchronously. This function is always called from a task or a different thread other than UI's.
Public methodStatic memberCalculateObjectAsync(Object, String, CancellationToken) Calculates a single object in the Flowsheet.
Public methodStatic memberCalculateObjectSync Calculates a single object in the Flowsheet.
Public methodStatic memberCheckCalculatorStatus Checks the calculator status to see if the user did any stop/abort request, and throws an exception to force aborting, if necessary.
Private methodStatic memberCheckExceptionForAdditionalInfo 
Private methodStatic memberFunctionGradientAsync Gradient function called asynchronously by the simultaneous adjust solver. Retrieves the gradient of the error function value for each adjust object.
Private methodStatic memberFunctionGradientSync Gradient function called by the simultaneous adjust solver. Retrieves the gradient of the error function value for each adjust object.
Private methodStatic memberFunctionValueAsync Function called asynchronously by the simultaneous adjust solver. Retrieves the error function value for each adjust object.
Private methodStatic memberFunctionValueSync Function called by the simultaneous adjust solver. Retrieves the error function value for each adjust object.
Private methodStatic memberGetCtlVarValue Gets the controlled variable value for the selected adjust op.
Private methodStatic memberGetMnpVarValue Gets the manipulated variable value for the selected adjust op.
Private methodStatic memberGetRefVarValue Gets the referenced variable value for the selected adjust op.
Public methodStatic memberGetSolvingList Retrieves the list of objects to be solved in the flowsheet.
Public methodStatic memberProcessCalculationQueue Process the calculation queue of the Flowsheet passed as an argument. Checks all elements in the queue and calculates them.
Private methodStatic memberProcessQueueInternal This is the internal routine called by ProcessCalculationQueue when the UI thread is used to calculate the flowsheet.
Private methodStatic memberProcessQueueInternalAsync This is the internal routine called by ProcessCalculationQueue when a background thread is used to calculate the flowsheet.
Private methodStatic memberProcessQueueInternalAsyncParallel This is the internal routine called by ProcessCalculationQueue when background parallel threads are used to calculate the flowsheet.
Private methodStatic memberSetMnpVarValue Sets the manipulated variable value for the selected adjust op.
Public methodStatic memberSolveFlowsheet Calculate all objects in the Flowsheet using an ordering method.
Private methodStatic memberSolveSimultaneousAdjusts Simultaneous adjust solver routine.
Private methodStatic memberSolveSimultaneousAdjustsAsync Async simultaneous adjust solver routine.
Public methodStatic memberUpdateDisplayStatus This routine updates the display status of a list of graphic objects in the flowsheet according to their calculated status.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also