Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 705

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 705

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/clients/fc00b35069112567fd28baa9a60aff76/web/mediawikidev/includes/MagicWord.php on line 722
Metis Smart Modeling - Models - Metis Documentation

Metis Smart Modeling - Models

From Metis Documentation

Jump to: navigation, search
Line 1: Line 1:
Description of the different functionalities and their impact on the other windows/menus of Metis.
Description of the different functionalities and their impact on the other windows/menus of Metis.
== What is a model? ==
== What is a model? ==
-
A model is the building block of Metis. It allows the application to generate a list of material, service items and configure maintenance based in logic rules defined by the business.
+
A model is the building block of Metis. It allows the application to generate a list of material, service items and configure maintenance based on logic rules defined by the business.
[[Image:Model Pres 1.png|thumb|upright=0.5|alt=Metis Smart Quote Model Description|Metis Smart Quote Model Description]]
[[Image:Model Pres 1.png|thumb|upright=0.5|alt=Metis Smart Quote Model Description|Metis Smart Quote Model Description]]
Line 7: Line 7:
This section explains all parameters and techniques to build and maintain models, giving a full understanding of the possibilities behind this functionality. The following sections of this manual will present all aspects related to this task. They are structured based on the different elements required to create full featured models.
This section explains all parameters and techniques to build and maintain models, giving a full understanding of the possibilities behind this functionality. The following sections of this manual will present all aspects related to this task. They are structured based on the different elements required to create full featured models.
-
The current section describes how a model works and how one can create and maintain it. Based on that information, the following sections describe model building blocks like rules, groups of rules, variables and [[Metis_Smart_Modeling_-_Masks|masks]]. For consistency purposes, all aspects of the creation of models are based on a full featured example.
+
The current section describes how a model works and how one can create and maintain it. Based on that information, the following sections describe model building blocks like [[Metis_Smart_Modeling_-_Rules|rules]], [[Metis_Smart_Modeling_-_Groups_of_Rules|groups of rules]], [[Metis_Smart_Modeling_-_Variables|variables]] and [[Metis_Smart_Modeling_-_Masks|masks]]. For consistency purposes, all aspects of the creation of models are based on a full featured example.
== How does a model work? ==
== How does a model work? ==
Line 38: Line 38:
-
Now that the ground work of the model concept is laid down, it is necessary to understand a bit how such a model works in the Metis environment. As described in figure [[:File:Model_Exec_1.png|Model execution overview]], outside of the [[Metis_Smart_Modeling_-_Masks|masks]], a [[Metis_Smart_Modeling_-_Model|model]] is built on specific objects. Each model includes at least one “[[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]]”, which is a container for individual rules. Those rules are the logic part of the models. Each rule uses input values ([[Metis_Smart_Modeling_-_Variables|variables]], [[Metis_Smart_Modeling_-_Attributes|attributes]], positions) coming from the [[Metis_Smart_Modeling_-_Masks|masks]], default or calculated information to process a logic “formula”. A [[Metis_Smart_Modeling_-_Group_of_Rules|Group of rules]] can include as many rules as necessary, with the only constrain that the result of a given rule will only be available in the next [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]] in the process. As described in figure [[:File:Model_Exec_2.png|Group of rules execution overview]], a [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]] feeds on input values which are instantiated before its execution. Once inside, all rules will use those values to process the formulas. When all rules are processed, the resulting [[Metis_Smart_Modeling_-_Variables|variables]] and/or material positions are prepared for the next [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]].Before starting the execution of the next [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]], the engine instantiates the new input values and lets the various rules included in the group feed on them.  
+
Now that the ground work of the model concept is laid down, it is necessary to understand a bit how such a model works in the Metis environment. As described in figure [[:File:Model_Exec_1.png|Model execution overview]], outside of the [[Metis_Smart_Modeling_-_Masks|masks]], a [[Metis_Smart_Modeling_-_Model|model]] is built on specific objects. Each model includes at least one “[[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]]”, which is a container for individual [[Metis_Smart_Modeling_-_Rules|rules]]. Those [[Metis_Smart_Modeling_-_Rules|rules]] are the logic part of the models. Each [[Metis_Smart_Modeling_-_Rules|rule]] uses input values ([[Metis_Smart_Modeling_-_Variables|variables]], [[Metis_Smart_Modeling_-_Attributes|attributes]], positions) coming from the [[Metis_Smart_Modeling_-_Masks|masks]], default or calculated information to process a logic “formula”. A [[Metis_Smart_Modeling_-_Group_of_Rules|Group of rules]] can include as many [[Metis_Smart_Modeling_-_Rules|rules]] as necessary, with the only constrain that the result of a given [[Metis_Smart_Modeling_-_Rules|rule]] will only be available in the next [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]] in the process. As described in figure [[:File:Model_Exec_2.png|Group of rules execution overview]], a [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]] feeds on input values which are instantiated before its execution. Once inside, all [[Metis_Smart_Modeling_-_Rules|rules]] will use those values to process the formulas. When all [[Metis_Smart_Modeling_-_Rules|rules]] are processed, the resulting [[Metis_Smart_Modeling_-_Variables|variables]] and/or material positions are prepared for the next [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]].Before starting the execution of the next [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]], the engine instantiates the new input values and lets the various [[Metis_Smart_Modeling_-_Rules|rules]] included in the group feed on them.  
[[Image:IMG_BLANK.png|500x226px|link=]][[Image:Model_Exec_1.png|500x226px|link=]]  [[Image:Model_Exec_2.png|500x226px|link=]]
[[Image:IMG_BLANK.png|500x226px|link=]][[Image:Model_Exec_1.png|500x226px|link=]]  [[Image:Model_Exec_2.png|500x226px|link=]]
Line 50: Line 50:
== Model types ==
== Model types ==
-
The Metis environment supports and enables the use of three different types of rules. Overall, the type of the model will determine the "moment" the model will be executed and information it can base itself on. When creating a new model, the user has to select the appropriate type before defining the model.
+
The Metis environment supports and enables the use of three different types of [[Metis_Smart_Modeling_-_Rules|rules]]. Overall, the type of the model will determine the "moment" the model will be executed and information it can base itself on. When creating a new model, the user has to select the appropriate type before defining the model.
Line 57: Line 57:
=== Material ===
=== Material ===
-
A model defined as being of type "material" is defined in Metis Smart Modeling to generate a list of material in Metis Smart Quote based on input [[Metis_Smart_Modeling_-_Masks|masks]], rules and logic. The result will be displayed in the latest.
+
A model defined as being of type "material" is defined in Metis Smart Modeling to generate a list of material in Metis Smart Quote based on input [[Metis_Smart_Modeling_-_Masks|masks]], [[Metis_Smart_Modeling_-_Rules|rules]] and logic. The result will be displayed in the latest.
The main concept behind this type of model is for the Metis Smart Quote user to be able to enter in a simple and graphic way his customer's requirements and then let the application generate the list of necessary positions. This type can be used in many different ways. For example, in the case of a business selling computer [[Metis_Smart_Modeling_-_Systems|systems]], a model can be created which will ask for basic configuration properties and then let the application calculate the various possibilities which may fulfill the customer’s need. The [[Metis_Smart_Modeling_-_Systems|system]] may then even pre-select the less expensive solution. The other possibility is to define a model which could basically be compared to a component catalog and let the user select the required items manually, but in a graphical environment.
The main concept behind this type of model is for the Metis Smart Quote user to be able to enter in a simple and graphic way his customer's requirements and then let the application generate the list of necessary positions. This type can be used in many different ways. For example, in the case of a business selling computer [[Metis_Smart_Modeling_-_Systems|systems]], a model can be created which will ask for basic configuration properties and then let the application calculate the various possibilities which may fulfill the customer’s need. The [[Metis_Smart_Modeling_-_Systems|system]] may then even pre-select the less expensive solution. The other possibility is to define a model which could basically be compared to a component catalog and let the user select the required items manually, but in a graphical environment.
Line 92: Line 92:
-
After defining all basic information for the model, like name, descriptions and versioning, the lower part of the window allows to setup the [[Metis_Smart_Modeling_-_Variables|variables]] to be used and formula which will be calculated. As for formula based rules, the first step is to define which input [[Metis_Smart_Modeling_-_Variables|variables]] should be used in the formula. by clicking on the add button on the left of the table, the application will show a new window where the user can the type and the item to be used as input variable for the formula. In addition to the standard input items, a tax model can also use prices. The list of price types which can be used is available when selecting the "Items" radio button.
+
After defining all basic information for the model, like name, descriptions and versioning, the lower part of the window allows to setup the [[Metis_Smart_Modeling_-_Variables|variables]] to be used and formula which will be calculated. As for formula based [[Metis_Smart_Modeling_-_Rules|rules]], the first step is to define which input [[Metis_Smart_Modeling_-_Variables|variables]] should be used in the formula. by clicking on the add button on the left of the table, the application will show a new window where the user can the type and the item to be used as input variable for the formula. In addition to the standard input items, a tax model can also use prices. The list of price types which can be used is available when selecting the "Items" radio button.
When all required input variable are defined, the formula can be typed in the dedicated field below the table. In the above example, the "Net Sales Price" is multiplied by "1.08" in order to calculated the swiss VAT (8%).
When all required input variable are defined, the formula can be typed in the dedicated field below the table. In the above example, the "Net Sales Price" is multiplied by "1.08" in order to calculated the swiss VAT (8%).
Line 134: Line 134:
Click on the add button [[File:MetisSmartModelingAddButton.PNG|link=]]. The Model window opens.  
Click on the add button [[File:MetisSmartModelingAddButton.PNG|link=]]. The Model window opens.  
Select a model type, for example “MAT”. Provide a name for the model, for example “Entry-Level Desktop”, enter a version, for example “1.0”. Enter a description for each available language.
Select a model type, for example “MAT”. Provide a name for the model, for example “Entry-Level Desktop”, enter a version, for example “1.0”. Enter a description for each available language.
-
The tables below allow the user to define the two main parts of the model, those being the “[[Metis_Smart_Modeling_-_Masks|masks]]” and the “groups of rules”
+
The tables below allow the user to define the two main parts of the model, those being the “[[Metis_Smart_Modeling_-_Masks|masks]]” and the “[[Metis_Smart_Modeling_-_Groups_of_Rules|groups of rules]]”
For the [[Metis_Smart_Modeling_-_Masks|masks]] table, click on the add button.
For the [[Metis_Smart_Modeling_-_Masks|masks]] table, click on the add button.
A window opens where [[Metis_Smart_Modeling_-_Masks|masks]] and groups of [[Metis_Smart_Modeling_-_Masks|masks]] can be selected and linked to the model.
A window opens where [[Metis_Smart_Modeling_-_Masks|masks]] and groups of [[Metis_Smart_Modeling_-_Masks|masks]] can be selected and linked to the model.
Select the desired [[Metis_Smart_Modeling_-_Masks|masks]], for example, “D-Basic Hardware” and “D-Peripherals” and then confirm to continue.
Select the desired [[Metis_Smart_Modeling_-_Masks|masks]], for example, “D-Basic Hardware” and “D-Peripherals” and then confirm to continue.
For the [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]] table, click on the add button.
For the [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]] table, click on the add button.
-
A window similar to the [[Metis_Smart_Modeling_-_Masks|masks]] window opens, but for groups of rules.
+
A window similar to the [[Metis_Smart_Modeling_-_Masks|masks]] window opens, but for [[Metis_Smart_Modeling_-_Groups_of_Rules|groups of rules]].
-
Select the desired groups of rules and confirm.
+
Select the desired groups of [[Metis_Smart_Modeling_-_Rules|rules]] and confirm.
-
The green up and down arrows found above each table allow the user to modify the display order of the [[Metis_Smart_Modeling_-_Masks|masks]] as well as the execution order of the groups of rules.
+
The green up and down arrows found above each table allow the user to modify the display order of the [[Metis_Smart_Modeling_-_Masks|masks]] as well as the execution order of the groups of [[Metis_Smart_Modeling_-_Rules|rules]].
{{Note
{{Note
-
| A proper execution of the model depends entirely on the order of the groups of rules.
+
| A proper execution of the model depends entirely on the order of the groups of [[Metis_Smart_Modeling_-_Rules|rules]].
}}  
}}  
Line 162: Line 162:
List of [[Metis_Smart_Modeling_-_Masks|masks]] used in this model. Once the model is linked to a [[Metis_Smart_Modeling_-_Systems|system]], the listed [[Metis_Smart_Modeling_-_Masks|mask]] will appear in Metis Smart Quotes when configuring the [[Metis_Smart_Modeling_-_Systems|system]] in the "Design" section.
List of [[Metis_Smart_Modeling_-_Masks|masks]] used in this model. Once the model is linked to a [[Metis_Smart_Modeling_-_Systems|system]], the listed [[Metis_Smart_Modeling_-_Masks|mask]] will appear in Metis Smart Quotes when configuring the [[Metis_Smart_Modeling_-_Systems|system]] in the "Design" section.
* '''[[Metis_Smart_Modeling_-_Group_of_Rules|Group of rules]]''' :
* '''[[Metis_Smart_Modeling_-_Group_of_Rules|Group of rules]]''' :
-
List of [[Description_of_the_Sub-Menu_Group_of_Rules|groups of rules]] to be used when executing the model in Metis Smart Quotes. The order of the groups of rules is very important for the model to generate concrete and valid results.
+
List of [[Description_of_the_Sub-Menu_Group_of_Rules|groups of rules]] to be used when executing the model in Metis Smart Quotes. The order of the groups of [[Metis_Smart_Modeling_-_Rules|rules]] is very important for the model to generate concrete and valid results.
{{Video
{{Video
| <mediaplayer width='400' height='300' image='http://www.xpert-technologies.ch/mediawikidev/images/7/71/VID_CreatingAModel.PNG'>File:Creating a model OK.mp4</mediaplayer>
| <mediaplayer width='400' height='300' image='http://www.xpert-technologies.ch/mediawikidev/images/7/71/VID_CreatingAModel.PNG'>File:Creating a model OK.mp4</mediaplayer>
-
| Creation of a new model, selection of linked groups of rules and [[Metis_Smart_Modeling_-_Masks|masks]].
+
| Creation of a new model, selection of linked groups of [[Metis_Smart_Modeling_-_Rules|rules]] and [[Metis_Smart_Modeling_-_Masks|masks]].
}}
}}
{{Note
{{Note
-
| A model service or material model doesn't have influence on a configuration without fully configured groups of rules and in the case on material models [[Metis_Smart_Modeling_-_Masks|masks]].
+
| A model service or material model doesn't have influence on a configuration without fully configured groups of [[Metis_Smart_Modeling_-_Rules|rules]] and in the case on material models [[Metis_Smart_Modeling_-_Masks|masks]].
}}
}}
Line 195: Line 195:
{{Note
{{Note
-
| Deleting a model only removes the "container" form the Metis Database, all [[Metis_Smart_Modeling_-_Masks|masks]] and groups of rules which were linked to it will not be deleted!
+
| Deleting a model only removes the "container" form the Metis Database, all [[Metis_Smart_Modeling_-_Masks|masks]] and groups of [[Metis_Smart_Modeling_-_Rules|rules]] which were linked to it will not be deleted!
}}
}}

Revision as of 13:53, 19 December 2011

Personal tools