Metis Smart Modeling - Models
From Metis Documentation
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 | + | 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. |
[[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 138: | Line 138: | ||
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 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 groups of rules. | ||
Select the desired groups of rules and confirm. | Select the desired groups of rules and confirm. | ||
Line 151: | Line 151: | ||
[[File:MetisSmartModelingSCModelsDef.PNG|center|764x860px]] | [[File:MetisSmartModelingSCModelsDef.PNG|center|764x860px]] | ||
- | A model is basically constructed of 3 main information. Basic properties will define such information as description, type and versioning. The logical part is made of " | + | A model is basically constructed of 3 main information. Basic properties will define such information as description, type and versioning. The logical part is made of "[[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]]" which will be used to run the calculation and [[Metis_Smart_Modeling_-_Masks|masks]] which will be displayed in Metis Smart Quotes to allow for input in the model. |
* '''Description''' (mandatory) : | * '''Description''' (mandatory) : | ||
Line 161: | Line 161: | ||
* '''[[Metis_Smart_Modeling_-_Masks|masks]]''' : | * '''[[Metis_Smart_Modeling_-_Masks|masks]]''' : | ||
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. | ||
- | * '''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 rules is very important for the model to generate concrete and valid results. | ||
Line 191: | Line 191: | ||
== Deleting a model == | == Deleting a model == | ||
- | A model can be deleted by using the "Delete" button on the main screen. When deleting a model from there, the [[Metis_Smart_Modeling_-_Masks|masks]] and group of rules which were linked to it are not deleted. The reason for this is that those parts could be used in other models or re-used in a new one. This way only the binding object is removed from the application. | + | A model can be deleted by using the "Delete" button on the main screen. When deleting a model from there, the [[Metis_Smart_Modeling_-_Masks|masks]] and [[Metis_Smart_Modeling_-_Group_of_Rules|group of rules]] which were linked to it are not deleted. The reason for this is that those parts could be used in other models or re-used in a new one. This way only the binding object is removed from the application. |