Category:Variable: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This category uses the form [[Has default form::VariableForm]].
This category uses the form {{#default_form:VariableForm}}.


==Types==
==Types==
There are four types: driver, model, parameter, external model. An integrity test should be written her to check the consistency
* drivers are external model variables that are used for the core models. Constraint: may not occur in the range of hasOutputVar property
* drivers are external model variables that are used for the core models. Constraint: may not occur in the range of hasOutputVar property
* parameters are variables that are rather static and mostly used as input for one modelcomponent; Constraint: may not occur in the range of hasOutputVar property
* parameters are variables that are rather static and mostly used as input for one modelcomponent; Constraint: may not occur in the range of hasOutputVar property
Line 8: Line 7:
* external model variables are variables that originates from external models (or databases) and are used in the impact components. Constraint: may not occur in the range of hasOutputVar property
* external model variables are variables that originates from external models (or databases) and are used in the impact components. Constraint: may not occur in the range of hasOutputVar property


==Not used==
See [[Variable_consistency_overview]]
===Not used Drivers===
 
If no results here, then it is ok
{{#drilldowninfo:filters=Type (property=HasVariableType),
{{#arraymap:
Is input for (property=IsInputFor),
{{#ask:[[Category:Variable]][[HasVariableType::driver]]
Is output of (property=IsOutputOf)
| format=list
|display parameters=? HasDescription=;? HasVariableType= type; format=ul
| link=none
| sep=;
| limit=100
}}|;|x|
{{#ifeq:{{#ask:[[Category:Component]][[HasInputVar::x]]|format=count}}|0|[[x]]  |}}
}}
===Not used parameters===
If no results here, then it is ok<br/>
{{#arraymap:
{{#ask:[[Category:Variable]][[HasVariableType::parameter]]
| format=list
| link=none
| sep=;
| limit=100
}}|;|x|
{{#ifeq:{{#ask:[[Category:Component]][[HasParameter::x]]|format=count}}|0|[[x]]  |}}
}}
=== model variables not used as input: final output ===
This is not wrong, but the list can be checked 
{{#arraymap:
{{#ask:[[Category:Variable]][[HasVariableType::model]]
| format=list
| link=none
| sep=;
| limit=100
}}|;|x|
{{#ifeq:{{#ask:[[Category:Component]][[HasInputVar::x]]|format=count}}|0|[[x]]  |}}
}}
===Not used  External model variables===
If no results here, then it is ok
{{#arraymap:
{{#ask:[[Category:Variable]][[HasVariableType::external model]]
| format=list
| link=none
| sep=;
| limit=100
}}|;|x|
{{#ifeq:{{#ask:[[Category:Component]][[HasInputVar::x]]|format=count}}|0|[[x]]  |}}
}}
}}
==Consistency check==
===Model variables that are not an output===
{{#arraymap:
{{#ask:[[Category:Variable]][[HasVariableType::model]]
| format=list
| link=none
| sep=;
| limit=100
}}|;|x|
{{#ifeq:{{#ask:[[Category:Component]][[HasOutputVar::x]]|format=count}}|0|[[x]]  |}}
}}
===Drivers that are an output===
{{#arraymap:
{{#ask:[[Category:Variable]][[HasVariableType::driver]]
| format=list
| link=none
| sep=;
| limit=100
}}|;|x|
{{#ifeq:{{#ask:[[Category:Component]][[HasOutputVar::x]]|format=count}}|0||[[x]]}}
}}
===Parameters that are an output===
{{#arraymap:
{{#ask:[[Category:Variable]][[HasVariableType::parameter]]
| format=list
| link=none
| sep=;
| limit=100
}}|;|x|
{{#ifeq:{{#ask:[[Category:Component]][[HasOutputVar::x]]|format=count}}|0||[[x]]}}
}}
===External models that are an output of component===
{{#arraymap:
{{#ask:[[Category:Variable]][[HasVariableType::external model]]
| format=list
| link=none
| sep=;
| limit=100
}}|;|x|
{{#ifeq:{{#ask:[[Category:Component]][[HasOutputVar::x]]|format=count}}|0||[[x]]}}
}}
==Impacts==
Model variables that are not used in another model component: Impacts?
[[Has filter::Filter:Variable type| ]]
[[Has filter::Filter:Driver group| ]]

Latest revision as of 16:49, 13 July 2017

This category uses the form This category uses the form VariableForm..

Types

  • drivers are external model variables that are used for the core models. Constraint: may not occur in the range of hasOutputVar property
  • parameters are variables that are rather static and mostly used as input for one modelcomponent; Constraint: may not occur in the range of hasOutputVar property
  • model variables are variables that are calculated by a model or impact component, Some are used as input for another model component, others are final output. Constraint: must occur in the range of hasOutputVar property
  • external model variables are variables that originates from external models (or databases) and are used in the impact components. Constraint: may not occur in the range of hasOutputVar property

See Variable_consistency_overview

Semantic Drilldown
Filters
0
1
2
Title
Display parameters
? HasDescription=;? HasVariableType= type;format=ul

Pages in category "Variable"

The following 200 pages are in this category, out of 220 total.

(previous page) (next page)
(previous page) (next page)