EBSILON®Professional Online Documentation
In This Topic
    General
    In This Topic

    Results


    General


    Functions

    The Number of Components and lines given here contains the number relevant here for the calculation kernel. This can be different from the number visible in the user interface, because the objects are deactivated or else the calculation kernel simplifies the logical connections, as it also completes the unconnected lines.

    The "Type of last calculation" is either "Simulation" or "Validation", or it may be "Not calculated" if a profile was not calculated before. Note that this information in this tab is stored as long as you perform a new calculation. If you want to access this information from EbsScript, you have to use the following integer values:

    1: Simulation
    2: Validation

    The "Status of calculation" indicates whether your last calculation was successful or whether there were errors. This includes a field, which shows that the calculation has ended. If you want to access this information from EbsScript, you have to use the following integer values:

    The return codes :

    of the old calculation-result-variable "@calcoptions.res.status"

    and the new

    calculation-result variable "@calcotions.res.status2" (as of Release 10 - Patch 3)

    show whether the last calculation was successful or whether errors occurred (see table below). In addition there is a field which indicates  that the calculation has been completed.

    New calculation result variable "@calcoptions.res.status2", is identical to the results of the EbsScript functions "simulate[WithErrorAnalysis]" or "validate[WithErrorAnalysis]" in terms of the meaning of the values .

    "@calcoptions.res.status" is obsolete, use "@calcoptions.res.status2" instead (which is also used here at "Model Settings->Results- >General->Status of the calculation")

     

    converges

    Return code for

    "@calcoptions.res.status"
     outdated            

    Text output:

    Ebsilon-Calculation

    Return code for

    "@calcoptions.res.status2"
     new            

    Text output:

    Ebsilon-Calculation

    yes           0 Success                     0 Successful
    yes           0 Comment                      1 Successful with Comments
    yes           1 Success with warnings                   2 Successful with Warnings
    yes           4 Error in Calculation                   3 Error in Calculation
    -           5 Calculation not possible              4 Error before Calculation /    Calculation not possible
    -           6 Error before Calculation              5 General Error
    no           2 Maximum number of iterations reached              6 Maximum of Iterations reached
    no           2 Maximum number of iterations reached              7 Maximum of Iterations reached with Warnings
    no           3 Maximum number of iterations reached with warnings              8 Maximal Calculation-Time exceeded
    no           7 Max. Calculation time exceeded              9 Maximum of Iterations reached with Errors
    no             10 License-Error
    no             11 Already in Simulation Error
    no             12 Internal-Error

     

    Additional functions and enumeration that use the calculation result variable "@ calcotions.res.status2" are:

    Functions:

     

    • simulate: calculationResultEnum
    • simulateWithErrorAnalysis: integer
    • simulateWithErrorAnalysisNew: calculationResultEnum

     

    • validate: calculationResultEnum
    • validateWithErrorAnalysis: integer
    • validateWithErrorAnalysisNew: calculationResultEnum

    Enumeration:

    • CalculationResultEnum (defined in internal Unit @System)

    EbsOpen:   The interface EbsOpen.IModel contains two new functions "Simulate2" and "Validate2", which also to have the identical return  values.

    • Die Enumeration "EbsOpen.EpCalculationResultStatus2

    The "Number of iterations" indicates the number of iteration steps that are needed to get the requested precision. If this number reaches the maximum number of iteration steps, the maximum should be increased to reach convergence (or some convergence improving actions should be done).

    The "Calculation time (in ms)" indicates the real time used by the Ebsilon calculation kernel. Of course, this value is dependent on your computer and on the current load on your computer.

    "Maximal storage rest time"
    This is the maximum time (RTIME), in which the component 118 (Direct storage) can be operated in the current profile and the current operating mode.
    RTIME is the time in which the storage could be loaded / unloaded until the level reaches the MIN or MAX value.
    If the number of storage> 1 in the model, the minimum of the result values RTIME is taken of all storage.