Difference between revisions of "What's new in Analytica 5.4?"

(COMEnumerate)
(Edited the Error underlining section and added the Module color inheritance section.)
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
===Error underlining===  
 
===Error underlining===  
 
Syntax errors within an expression are underlined in red while editing.
 
Syntax errors within an expression are underlined in red while editing.
 +
 +
You can turn this on and off using [[Sys EnableErrorUnder]]. Access the system variable using Definition / System variables / Settings / Enable error underlining.
 +
 +
===Module color inheritance===
 +
There is a change in 5.4 in how module nodes inherit their colors. Now instead of using a containing module, modules use Node style default. This doesn't have to affect module colors in pre-5,4 legacy models. See [[Sys UseLegacyColors]] for details.
  
 
=== Multichoice option ===
 
=== Multichoice option ===

Revision as of 21:26, 12 February 2020

Analytica 5.4 will be the next future release of Analytica. It is currently under development. The current release is Analytica 5.3. This page is under construction, but will list the enhancements that are new to Analytica 5.4 since Analytica 5.3. If you have an Analytica subscription, you will be able to test drive a preliminary version when Analytica 5.4 goes beta -- check the Beta Tester Page for status.

Editing expressions

Fixed-spaced font

Attributes that hold expressions such as Definition, Check, OnClick, etc., are now shown in a fixed-width font.

There is a user-preference setting to turn this off: Definition / System variables / Settings / Enable fixed font

Syntax coloration

Coloration is now used within an expression to differentiate identifiers, keywords, comments, text literals, etc.

Customize the actual colors used at Definition / System variables / Settings / Syntax colors. Changes here apply to your computer only, and are not saved with the model.

Error underlining

Syntax errors within an expression are underlined in red while editing.

You can turn this on and off using Sys EnableErrorUnder. Access the system variable using Definition / System variables / Settings / Enable error underlining.

Module color inheritance

There is a change in 5.4 in how module nodes inherit their colors. Now instead of using a containing module, modules use Node style default. This doesn't have to affect module colors in pre-5,4 legacy models. See Sys UseLegacyColors for details.

Multichoice option

On the definition-type pulldown for an index node, the options now include MultiChoice. This is very useful for "selected scenario" indexes.

Graphing

Custom axis/key titles

By default, Analytica uses a variable's title and units to form the axis or key title as it appears on the graph. But you can now override this, and use different text for your axis title or key title on the graph. Just right-click (in edit mode) on the key title or axis title and select Change axis title or Change key title.

When you type the new title, there is a checkbox that allows you to set your new text as the title for every graph that uses the given index or variable as an axis or key. Or, you can clear the title text entire to either hide the title, or reset to the default title.

You can also set the text used for axes and key titles for a specific object, in all graphs where that variable is used, from the Object window or Attribute panel by setting the Axis/Key Title attribute. You need to show this attribute first from the Attribute panel. However, you can also change this as described in the previous paragraph.

Exceedance probability

The Exceedance probability (at x) of an uncertain quantity is the probability the outcome is greater than or equal to x. This is a dual to the cumulative probability, which is the probability that the outcome is less than or equal to x. Some fields prefer the use of Exceedance probability to CDFs.

Exceedance probability has been added to the available uncertainty views.

Built-in Functions

Changes to existing functions

  • The UncertainLMH distribution has been changed to use the Hadlock-Bickel-Johnson Quantile Parameterized Distribution by default, rather than the Keelin SPT distribution. The HBJ-QPD is preferred since it is maximally feasible. This impacts UncertainLMH, DensUncertainLMH, CumUncertainLMH and CumUncertainLMHInv functions.
    • A new system variable has been added: UncertainLMH_Method, which selects the default algorithm used by these functions. If you need backward compatibility with 5.3 with this distribution, your can set this to 2. But note: Due to a small improvement, DensUncertainLMH with keelin algorithm is slightly more accurate, so numbers may differ out around the 9th decimal point compared to previously.
    • A new optional parameter, «method», was added to each of these functions, which you can use to select the algorithm (HBJ-QPD or K-SPT) for the specific call.
  • AskMsgText and AskMsgNumber: Added an option to include a checkbox on the dialog.
  • Cdf Added an option to return the exceedance curve.
  • Eliminated a spurious "dynamic-loop cyclic dependency" error message that appeared in a 2-D Dynamic loop. This is a case where there wasn't really a cyclic dependency, so the error message was a false positive. A 2-D dynamic loop is where two dynamic loops on different dynamic indexes intersect, so that the nodes in that loop have to iterate over two dynamic indexes (fairly rare).

New functions

  • COMEnumerate -- enumerates the elements of an enumerable COM object.

Other Misc

  • When you have currency turned on in the number format, it now omits the currency symbol for non-finite values, i.e., it prints INF instead of $INF and NAN instead of $NAN.
Comments


You are not allowed to post comments.