Pricefx Classic UI is no longer supported. It has been replaced by Pricefx Unity UI.

 

How to Set up New Simulation


Aim of this articleExplains how to create and configure a new simulation.
Related sections

Simulations in Price Setting (Reference Manual)

Steps:

  1. Go to Price Setting > Simulations.
  2. Click the New  icon.
  3. Enter a Label for the new simulation.
  4. Select a value from the drop-down list in either Base Price List or Base Price Grid columns. This base price list/grid defines which products and price list/grid parameters will be used for the simulation.
  5. Optionally, you can use the Simulation Set column to specify a formula or parameters that are going to be used if all other keys are the same. Using this column you can define/name various scenarios based on used data (e.g. "Best Case", "Worst Case").
    You can leave the field empty. In this case all Company Parameters and logics not assigned to a 'Simulation Set' will be used.
  6. Optionally, use the Ignore Secondary Key Filtering checkbox if you use a matrix price list and you change the simulation logic in a way that it returns more secondary keys. (For simple price lists or if the logic changes other parameters than the keys, leave this option unchecked.)
  7. Enter a valid Target date. The date specifies the Company Parameters and calculation logics to be used.
  8. Change the Company Parameters and calculation logics you want to use (see How to Edit Simulation).
    The simulation will use all Company Parameters and price logics with the status 'Active' for which no equivalent with status 'Simulation Only' can be found. 

    Company Parameter (or logic) with the status Simulation Only must have the Valid After date later than the Active one. Otherwise it will not be used and the Active one will be used.

  9. Click the Calculate  icon to run the simulation (see How to Calculate Simulation).

Components of the simulations setup:

  1. Initial logic used for the Base Price List/Grid.
  2. Calculation logics prepared for simulations. We use the Simulation Set value to select the required one in a particular Simulation.
  3. The Valid After date of the Simulation Only logics must be later than that of the Active logic to ensure that the Simulation Logics are used.
  4. Company Parameters prepared for simulations. We use the Simulation Set value to select the required one in a particular Simulation.
  5. The Valid After date of the Simulation Only Company Parameter must be later than that of the Active logic to ensure that Simulation Company Parameter is used.

What is going to be used for a specific simulation is determined by following priority flow:

Name → Target Date / Valid After → Status → Simulation Set

search.addSort("validAfter", true); //validity date overrules all other
search.addSort("status", false); // status: Active over SimOnly; null means active and is top of list
search.addSort("simulationSet", true); //desc = true => null at the bottom; i.e. sim name match precedes
See also a step-by-step example /wiki/spaces/KB/pages/20512802.


Found an issue in documentation? Write to us.

Â