<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Basic models</title><link>https://sourceforge.net/p/freemuse/wiki/Basic%2520models/</link><description>Recent changes to Basic models</description><atom:link href="https://sourceforge.net/p/freemuse/wiki/Basic%20models/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 04 Jun 2011 07:58:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/freemuse/wiki/Basic%20models/feed" rel="self" type="application/rss+xml"/><item><title>&lt;pre&gt;--- v7 
+++ v8 
@@ -120,7 +120,7 @@
   &lt;/calculation&gt;
 &lt;/simulation&gt;
 ~~~~~~
-First we say, we want an instance and override the default parameters of the file. Parameter __#1__ will now be set to a formula, parameter __#2__ to a constant of 2. The variable __time__ used in the first parameter is defined in the [Process section](process section), where it uses the global variable __start__ as another varying factor. In the end we have an influence gaussian distributed with a drifting mean with values 0, 1, 2, . . . , 10, 11, 12 and a standard deviation of 2.
+First we say, we want an instance and override the default parameters of the file. Parameter __#1__ will now be set to a formula, parameter __#2__ to a constant of 2. The variable __time__ used in the first parameter is defined in the [process section](Process section), where it uses the global variable __start__ as another varying factor. In the end we have an influence gaussian distributed with a drifting mean with values 0, 1, 2, . . . , 10, 11, 12 and a standard deviation of 2.
 
 Parametrization using variables
 ---
&lt;/pre&gt;</title><link>https://sourceforge.net/p/freemuse/wiki/Basic%2520models/</link><description>&lt;pre&gt;--- v7 
+++ v8 
@@ -120,7 +120,7 @@
   &lt;/calculation&gt;
 &lt;/simulation&gt;
 ~~~~~~
-First we say, we want an instance and override the default parameters of the file. Parameter __#1__ will now be set to a formula, parameter __#2__ to a constant of 2. The variable __time__ used in the first parameter is defined in the [Process section](process section), where it uses the global variable __start__ as another varying factor. In the end we have an influence gaussian distributed with a drifting mean with values 0, 1, 2, . . . , 10, 11, 12 and a standard deviation of 2.
+First we say, we want an instance and override the default parameters of the file. Parameter __#1__ will now be set to a formula, parameter __#2__ to a constant of 2. The variable __time__ used in the first parameter is defined in the [process section](Process section), where it uses the global variable __start__ as another varying factor. In the end we have an influence gaussian distributed with a drifting mean with values 0, 1, 2, . . . , 10, 11, 12 and a standard deviation of 2.
 
 Parametrization using variables
 ---
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marco Wolf</dc:creator><pubDate>Sat, 04 Jun 2011 07:58:36 -0000</pubDate><guid>https://sourceforge.net18d1870e33ee2ee82fba87bd9fb15b55e06cf0e2</guid></item><item><title>&lt;pre&gt;--- v6 
+++ v7 
@@ -77,6 +77,7 @@
 Basic models are an abstract form of defining the dependencies of parts of a measurement with influences and distributions. [Instances of basic models](Initializing section) may need different value settings for the parameters of the distributions and one may not like to change basic models directly, but set parameters from outside, say from the part where one instanciates the basic models.
 
 __MUSE__ supports two different types of parametrization:
+
 1. ___Parameters___: A parameter replaces the setting of a value in a distribution of an instance of a basic model with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
 * ___Variables___: A variable represents exactly one value at a time. As parameters can also push formula definitions to the library files, variables just replace the variable name by their current value.
 As the distinction of these two concepts is not that easy to understand, it should be clarified using an example.
&lt;/pre&gt;</title><link>https://sourceforge.net/p/freemuse/wiki/Basic%2520models/</link><description>&lt;pre&gt;--- v6 
+++ v7 
@@ -77,6 +77,7 @@
 Basic models are an abstract form of defining the dependencies of parts of a measurement with influences and distributions. [Instances of basic models](Initializing section) may need different value settings for the parameters of the distributions and one may not like to change basic models directly, but set parameters from outside, say from the part where one instanciates the basic models.
 
 __MUSE__ supports two different types of parametrization:
+
 1. ___Parameters___: A parameter replaces the setting of a value in a distribution of an instance of a basic model with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
 * ___Variables___: A variable represents exactly one value at a time. As parameters can also push formula definitions to the library files, variables just replace the variable name by their current value.
 As the distinction of these two concepts is not that easy to understand, it should be clarified using an example.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marco Wolf</dc:creator><pubDate>Sat, 04 Jun 2011 07:58:08 -0000</pubDate><guid>https://sourceforge.net78be66bc30826e67644176e51030557db275e289</guid></item><item><title>&lt;pre&gt;--- v5 
+++ v6 
@@ -21,7 +21,7 @@
 
 Body of a model
 ---
-In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [probability distributions](Distributions), if neccessary. The distribution of each influence can be [Logging influences](logged).
+In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [probability distributions](Distributions), if neccessary. The distribution of each influence can be [logged](Logging influences).
 
 Example 1: Simple influence structure
 ---
&lt;/pre&gt;</title><link>https://sourceforge.net/p/freemuse/wiki/Basic%2520models/</link><description>&lt;pre&gt;--- v5 
+++ v6 
@@ -21,7 +21,7 @@
 
 Body of a model
 ---
-In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [probability distributions](Distributions), if neccessary. The distribution of each influence can be [Logging influences](logged).
+In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [probability distributions](Distributions), if neccessary. The distribution of each influence can be [logged](Logging influences).
 
 Example 1: Simple influence structure
 ---
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marco Wolf</dc:creator><pubDate>Sat, 04 Jun 2011 07:56:45 -0000</pubDate><guid>https://sourceforge.net48779a7367941f6072ea6e1f4d7c0b0ea7625bca</guid></item><item><title>&lt;pre&gt;--- v4 
+++ v5 
@@ -74,11 +74,10 @@
 
 Parametrizing basic models
 ---
-Basic models are an abstract form of defining the dependencies of parts of a measurement with influences and distributions. [Initialization section](Instances of basic models) may need different value settings for the parameters of the distributions and one may not like to change basic models directly, but set parameters from outside, say from the part where one instanciates the basic models.
-
+Basic models are an abstract form of defining the dependencies of parts of a measurement with influences and distributions. [Instances of basic models](Initializing section) may need different value settings for the parameters of the distributions and one may not like to change basic models directly, but set parameters from outside, say from the part where one instanciates the basic models.
+
 __MUSE__ supports two different types of parametrization:
-
-1. ___Parameters___: A parameter replaces the setting of a value in a distribution of an instance of a [Basic models](basic model) with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
+1. ___Parameters___: A parameter replaces the setting of a value in a distribution of an instance of a basic model with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
 * ___Variables___: A variable represents exactly one value at a time. As parameters can also push formula definitions to the library files, variables just replace the variable name by their current value.
 As the distinction of these two concepts is not that easy to understand, it should be clarified using an example.
 
&lt;/pre&gt;</title><link>https://sourceforge.net/p/freemuse/wiki/Basic%2520models/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -74,11 +74,10 @@
 
 Parametrizing basic models
 ---
-Basic models are an abstract form of defining the dependencies of parts of a measurement with influences and distributions. [Initialization section](Instances of basic models) may need different value settings for the parameters of the distributions and one may not like to change basic models directly, but set parameters from outside, say from the part where one instanciates the basic models.
-
+Basic models are an abstract form of defining the dependencies of parts of a measurement with influences and distributions. [Instances of basic models](Initializing section) may need different value settings for the parameters of the distributions and one may not like to change basic models directly, but set parameters from outside, say from the part where one instanciates the basic models.
+
 __MUSE__ supports two different types of parametrization:
-
-1. ___Parameters___: A parameter replaces the setting of a value in a distribution of an instance of a [Basic models](basic model) with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
+1. ___Parameters___: A parameter replaces the setting of a value in a distribution of an instance of a basic model with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
 * ___Variables___: A variable represents exactly one value at a time. As parameters can also push formula definitions to the library files, variables just replace the variable name by their current value.
 As the distinction of these two concepts is not that easy to understand, it should be clarified using an example.
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marco Wolf</dc:creator><pubDate>Sat, 04 Jun 2011 07:56:03 -0000</pubDate><guid>https://sourceforge.net1850e8805613539c187b6e35b36691393e11b264</guid></item><item><title>&lt;pre&gt;--- v3 
+++ v4 
@@ -21,7 +21,7 @@
 
 Body of a model
 ---
-In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [Distributions](probability distributions), if neccessary. The distribution of each influence can be [Logging influences](logged).
+In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [probability distributions](Distributions), if neccessary. The distribution of each influence can be [Logging influences](logged).
 
 Example 1: Simple influence structure
 ---
&lt;/pre&gt;</title><link>https://sourceforge.net/p/freemuse/wiki/Basic%2520models/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -21,7 +21,7 @@
 
 Body of a model
 ---
-In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [Distributions](probability distributions), if neccessary. The distribution of each influence can be [Logging influences](logged).
+In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [probability distributions](Distributions), if neccessary. The distribution of each influence can be [Logging influences](logged).
 
 Example 1: Simple influence structure
 ---
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marco Wolf</dc:creator><pubDate>Thu, 02 Jun 2011 12:31:26 -0000</pubDate><guid>https://sourceforge.net48d423ccbdd4bcc487de3942cf130e89c24f6a31</guid></item><item><title>&lt;pre&gt;--- v2 
+++ v3 
@@ -39,7 +39,7 @@
   &lt;/influence&gt;
 &lt;/model&gt;
 ~~~~~~
-To see what kind of distributions are support please refer to the chapter about [Distributions](supported distributions).
+To see what kind of distributions are support please refer to the chapter about [supported distributions](Distributions).
 
 Example 2: Subinfluences
 ---
&lt;/pre&gt;</title><link>https://sourceforge.net/p/freemuse/wiki/Basic%2520models/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -39,7 +39,7 @@
   &lt;/influence&gt;
 &lt;/model&gt;
 ~~~~~~
-To see what kind of distributions are support please refer to the chapter about [Distributions](supported distributions).
+To see what kind of distributions are support please refer to the chapter about [supported distributions](Distributions).
 
 Example 2: Subinfluences
 ---
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marco Wolf</dc:creator><pubDate>Thu, 02 Jun 2011 12:29:32 -0000</pubDate><guid>https://sourceforge.net728a88cbe751cad16a236c6ccbc5bee9b927a209</guid></item><item><title>&lt;pre&gt;--- v1 
+++ v2 
@@ -15,16 +15,16 @@
 ~~~~~~
 The first line is used to identify the file as correct xml file, the second line tells the parser how to check the validity of the syntax in the model. Users do not have to understand these lines in detail. The interesting part follows after these two standard lines.
 
-The ''model'' tag opens a basic model, in the example named ''length'' and the tag ''targetname'' tells the parser which influence is the main influence.
-
+The __model__ tag opens a basic model, in the example named __length__ and the tag __targetname__ tells the parser which influence is the main influence.
+
 In the following subsections we omitt the xml opening lines and concentrate more on the details of the sections of interest.
 
 Body of a model
 ---
-In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [[Distributions|probability distributions]], if neccessary. The distribution of each influence can be [[Logging_influences|logged]].
+In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [Distributions](probability distributions), if neccessary. The distribution of each influence can be [Logging influences](logged).
 
 Example 1: Simple influence structure
 ---
 The following example is a really simple one. The model only consists of the main influence. It is gaussian distributed with parameters 5.0 for mu and 2.0 for sigma.
 
 ~~~~~~
@@ -32,37 +32,37 @@
   &lt;influence comment="result" name="l"&gt;
     &lt;distribution&gt;
       &lt;gauss&gt;
         &lt;mu&gt;5.0&lt;/mu&gt;
         &lt;sigma&gt;2.0&lt;/sigma&gt;
       &lt;/gauss&gt;
     &lt;/distribution&gt;
   &lt;/influence&gt;
 &lt;/model&gt;
 ~~~~~~
-To see what kind of distributions are support please refer to the chapter about [[Distributions|supported distributions]].
+To see what kind of distributions are support please refer to the chapter about [Distributions](supported distributions).
 
 Example 2: Subinfluences
 ---
-A more advanced example uses two subinfluences ''g1'' and ''g2'', where the main influence adds those two subinfluences using the ''function'' tag.
+A more advanced example uses two subinfluences __g1__ and __g2__, where the main influence adds those two subinfluences using the __function__ tag.
 
 ~~~~~~
 &lt;model name="length" targetname="l"&gt;
   &lt;influence comment="result" name="l"&gt;
     &lt;formula&gt;g1 + g2&lt;/formula&gt;
     &lt;influences&gt;
       &lt;influence name="Gauss 1" id="g1"&gt;
         &lt;distribution&gt;
           &lt;gauss&gt;
             &lt;mu&gt;5.0&lt;/mu&gt;
             &lt;sigma&gt;2.0&lt;/sigma&gt;
           &lt;/gauss&gt;
         &lt;/distribution&gt;
       &lt;/influence&gt;
 
       &lt;influence comment="Gauss 2" name="g2"&gt;
         &lt;distribution&gt;
           &lt;gauss&gt;
             &lt;mu&gt;10.0&lt;/mu&gt;
             &lt;sigma&gt;1.0&lt;/sigma&gt;
           &lt;/gauss&gt;
         &lt;/distribution&gt;
@@ -72,16 +72,16 @@
 &lt;/model&gt;
 ~~~~~~
 
 Parametrizing basic models
 ---
 Basic models are an abstract form of defining the dependencies of parts of a measurement with influences and distributions. [Initialization section](Instances of basic models) may need different value settings for the parameters of the distributions and one may not like to change basic models directly, but set parameters from outside, say from the part where one instanciates the basic models.
 
-''MUSE'' supports two different types of parametrization:
-
-1. '''Parameters''': A parameter replaces the setting of a value in a distribution of an instance of a [[Basic_models|basic model]] with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
-* '''Variables''': A variable represents exactly one value at a time. As parameters can also push formula definitions to the library files, variables just replace the variable name by their current value.
+__MUSE__ supports two different types of parametrization:
+
+1. ___Parameters___: A parameter replaces the setting of a value in a distribution of an instance of a [Basic models](basic model) with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
+* ___Variables___: A variable represents exactly one value at a time. As parameters can also push formula definitions to the library files, variables just replace the variable name by their current value.
 As the distinction of these two concepts is not that easy to understand, it should be clarified using an example.
 
 Parametrization using parameters
 ---
 ~~~~~~
@@ -89,30 +89,30 @@
   &lt;influence comment="influence" name="v"&gt;
     &lt;distribution&gt;
       &lt;gauss&gt;
         &lt;mu parameter="#1"/&gt;
         &lt;sigma parameter="#2"/&gt;
       &lt;/gauss&gt;
     &lt;/distribution&gt;
   &lt;/influence&gt;
 &lt;/model&gt;
 ~~~~~~
-So in the model definition we define one influence named ''influence'' which is gaussian distributed. The mean and standard deviation are parametrized. That means the value (or formula!) of parameter ''#1'' or respectively ''#2'' will be used for the parameters of the distribution. Let us continue with the simulation file:
+So in the model definition we define one influence named __influence__ which is gaussian distributed. The mean and standard deviation are parametrized. That means the value (or formula!) of parameter __#1__ or respectively __#2__ will be used for the parameters of the distribution. Let us continue with the simulation file:
 
 ~~~~~~
 &lt;simulation&gt;
   &lt;instances&gt;
     &lt;instance model="influence" name="v1"&gt;
       &lt;parameters&gt;
         &lt;parameter id = "#1"&gt;time 0.1*&lt;/parameter&gt;
         &lt;parameter id = "#2"&gt;2&lt;/parameter&gt;
       &lt;/parameters&gt;
     &lt;/instance&gt;
   &lt;/instances&gt;
   &lt;processes&gt;
     &lt;process name="v1"&gt;
       &lt;variable name="time"&gt; start 10+ &lt;/variable&gt;
       &lt;formula&gt;time&lt;/formula&gt;
     &lt;/process&gt;
   &lt;/processes&gt;
   &lt;calculation&gt;
     &lt;variation name="start" from="0" to="120" step="10"/&gt;
@@ -120,10 +120,10 @@
   &lt;/calculation&gt;
 &lt;/simulation&gt;
 ~~~~~~
-First we say, we want an instance and override the default parameters of the file. Parameter ''#1'' will now be set to a formula, parameter ''#2'' to a constant of 2. The variable ''time'' used in the first parameter is defined in the [[Process_section|process section]], where it uses the global variable ''start'' as another varying factor. In the end we have an influence gaussian distributed with a drifting mean with values 0, 1, 2, . . . , 10, 11, 12 and a standard deviation of 2.
+First we say, we want an instance and override the default parameters of the file. Parameter __#1__ will now be set to a formula, parameter __#2__ to a constant of 2. The variable __time__ used in the first parameter is defined in the [Process section](process section), where it uses the global variable __start__ as another varying factor. In the end we have an influence gaussian distributed with a drifting mean with values 0, 1, 2, . . . , 10, 11, 12 and a standard deviation of 2.
 
 Parametrization using variables
 ---
 The definiton of the model file using just variables, not parameters, would look like this.
 
 ~~~~~~
@@ -131,62 +131,62 @@
   &lt;influence comment="influence" name="v"&gt;
     &lt;distribution&gt;
       &lt;gauss&gt;
         &lt;mu parameter="#1"&gt;mymu&lt;/mu&gt;
         &lt;sigma parameter="#2"&gt;mysigma&lt;/sigma&gt;
       &lt;/gauss&gt;
     &lt;/distribution&gt;
   &lt;/influence&gt;
 &lt;/model&gt;
 ~~~~~~
-In this file we use to variables ''mymu'' and ''mysigma'' that are not defined in the model file. Therefore the system expects their definitions in the simulation file.
+In this file we use to variables __mymu__ and __mysigma__ that are not defined in the model file. Therefore the system expects their definitions in the simulation file.
 
 ~~~~~~
 &lt;simulation&gt;
   &lt;instances&gt;
     &lt;instance model="influence" name="v1"/&gt;
   &lt;/instances&gt;
   &lt;process&gt;
     &lt;step name="v1"&gt;
       &lt;variable name="mymu"&gt; start 10+ &lt;/variable&gt;
     &lt;/step&gt;
   &lt;/process&gt;
   &lt;calculation&gt;
     &lt;variation name="start" from="0" to="120" step="10"/&gt;
     &lt;variable name="mysigma"&gt; 1.5 &lt;/variable&gt;
     &lt;measurand&gt; v1 &lt;/measurand&gt;
   &lt;/calculation&gt;
 &lt;/simulation&gt;
 ~~~~~~
-The values of ''mymu'' and ''mysigma'' will be used as defined in the simulation file. If you do not define missing variables of the models in the simulation file, the system will respond with an error message.
-
-'''''Hint:''''' We recommend to use parametrization, as you can define default values and for better readability of your models. A parameter is explicitly declared once in the model file and then in the simulation file, if you do not use its default value.
-
-'''''Hint:''''' If you take a model using variables and have not defined the named variables properly in the calcualtion section, the parser will return an error message everytime the formula is parsed.
+The values of __mymu__ and __mysigma__ will be used as defined in the simulation file. If you do not define missing variables of the models in the simulation file, the system will respond with an error message.
+
+_____Hint:_____ We recommend to use parametrization, as you can define default values and for better readability of your models. A parameter is explicitly declared once in the model file and then in the simulation file, if you do not use its default value.
+
+_____Hint:_____ If you take a model using variables and have not defined the named variables properly in the calcualtion section, the parser will return an error message everytime the formula is parsed.
 
 Recursive definition of basic models
 ---
 It is possible to use basic models as influences in basic models. Like this you can define a nice hierarchy of models. See section [Recursive definition of basicmodels] for more information.
 
 Static influences
 ---
-Sometimes it seems reasonable to define not a complete [Initialization section](instance) as static, but only parts of it. That means, if you use an instance of a basic model for example the temperature should be kept to the same value for all calculations using this instance. You can do that by defining an influence in mode ''static''.
+Sometimes it seems reasonable to define not a complete [Initialization section](instance) as static, but only parts of it. That means, if you use an instance of a basic model for example the temperature should be kept to the same value for all calculations using this instance. You can do that by defining an influence in mode __static__.
 
 ~~~~~~
 &lt;model ...&gt;
   &lt;influence comment="concentration" name="c"&gt;
     ...
     &lt;influences&gt;
       &lt;influence comment="temperature" name="t" mode="static"&gt;
         ...
       &lt;/influence&gt;
       ...
     &lt;/influences&gt;
   &lt;/influence&gt;
 &lt;/model&gt;
 ~~~~~~
-'''''Attention:''''' If you define an influence as ''static'' in a basic model, all subsequent influences to that one will also be defined as ''static''.
-
-'''''Attention:''''' The keyword ''static'' always only applies to the current instance. If you use for example two instances of a volume device with a basic model that uses static influences, they are only static for each of the volume devices.
+_____Attention:_____ If you define an influence as __static__ in a basic model, all subsequent influences to that one will also be defined as __static__.
+
+_____Attention:_____ The keyword __static__ always only applies to the current instance. If you use for example two instances of a volume device with a basic model that uses static influences, they are only static for each of the volume devices.
 
 Missing topic
 ===
&lt;/pre&gt;</title><link>https://sourceforge.net/p/freemuse/wiki/Basic%2520models/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -15,16 +15,16 @@
 ~~~~~~
 The first line is used to identify the file as correct xml file, the second line tells the parser how to check the validity of the syntax in the model. Users do not have to understand these lines in detail. The interesting part follows after these two standard lines.
 
-The ''model'' tag opens a basic model, in the example named ''length'' and the tag ''targetname'' tells the parser which influence is the main influence.
-
+The __model__ tag opens a basic model, in the example named __length__ and the tag __targetname__ tells the parser which influence is the main influence.
+
 In the following subsections we omitt the xml opening lines and concentrate more on the details of the sections of interest.
 
 Body of a model
 ---
-In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [[Distributions|probability distributions]], if neccessary. The distribution of each influence can be [[Logging_influences|logged]].
+In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [Distributions](probability distributions), if neccessary. The distribution of each influence can be [Logging influences](logged).
 
 Example 1: Simple influence structure
 ---
 The following example is a really simple one. The model only consists of the main influence. It is gaussian distributed with parameters 5.0 for mu and 2.0 for sigma.
 
 ~~~~~~
@@ -32,37 +32,37 @@
   &lt;influence comment="result" name="l"&gt;
     &lt;distribution&gt;
       &lt;gauss&gt;
         &lt;mu&gt;5.0&lt;/mu&gt;
         &lt;sigma&gt;2.0&lt;/sigma&gt;
       &lt;/gauss&gt;
     &lt;/distribution&gt;
   &lt;/influence&gt;
 &lt;/model&gt;
 ~~~~~~
-To see what kind of distributions are support please refer to the chapter about [[Distributions|supported distributions]].
+To see what kind of distributions are support please refer to the chapter about [Distributions](supported distributions).
 
 Example 2: Subinfluences
 ---
-A more advanced example uses two subinfluences ''g1'' and ''g2'', where the main influence adds those two subinfluences using the ''function'' tag.
+A more advanced example uses two subinfluences __g1__ and __g2__, where the main influence adds those two subinfluences using the __function__ tag.
 
 ~~~~~~
 &lt;model name="length" targetname="l"&gt;
   &lt;influence comment="result" name="l"&gt;
     &lt;formula&gt;g1 + g2&lt;/formula&gt;
     &lt;influences&gt;
       &lt;influence name="Gauss 1" id="g1"&gt;
         &lt;distribution&gt;
           &lt;gauss&gt;
             &lt;mu&gt;5.0&lt;/mu&gt;
             &lt;sigma&gt;2.0&lt;/sigma&gt;
           &lt;/gauss&gt;
         &lt;/distribution&gt;
       &lt;/influence&gt;
 
       &lt;influence comment="Gauss 2" name="g2"&gt;
         &lt;distribution&gt;
           &lt;gauss&gt;
             &lt;mu&gt;10.0&lt;/mu&gt;
             &lt;sigma&gt;1.0&lt;/sigma&gt;
           &lt;/gauss&gt;
         &lt;/distribution&gt;
@@ -72,16 +72,16 @@
 &lt;/model&gt;
 ~~~~~~
 
 Parametrizing basic models
 ---
 Basic models are an abstract form of defining the dependencies of parts of a measurement with influences and distributions. [Initialization section](Instances of basic models) may need different value settings for the parameters of the distributions and one may not like to change basic models directly, but set parameters from outside, say from the part where one instanciates the basic models.
 
-''MUSE'' supports two different types of parametrization:
-
-1. '''Parameters''': A parameter replaces the setting of a value in a distribution of an instance of a [[Basic_models|basic model]] with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
-* '''Variables''': A variable represents exactly one value at a time. As parameters can also push formula definitions to the library files, variables just replace the variable name by their current value.
+__MUSE__ supports two different types of parametrization:
+
+1. ___Parameters___: A parameter replaces the setting of a value in a distribution of an instance of a [Basic models](basic model) with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
+* ___Variables___: A variable represents exactly one value at a time. As parameters can also push formula definitions to the library files, variables just replace the variable name by their current value.
 As the distinction of these two concepts is not that easy to understand, it should be clarified using an example.
 
 Parametrization using parameters
 ---
 ~~~~~~
@@ -89,30 +89,30 @@
   &lt;influence comment="influence" name="v"&gt;
     &lt;distribution&gt;
       &lt;gauss&gt;
         &lt;mu parameter="#1"/&gt;
         &lt;sigma parameter="#2"/&gt;
       &lt;/gauss&gt;
     &lt;/distribution&gt;
   &lt;/influence&gt;
 &lt;/model&gt;
 ~~~~~~
-So in the model definition we define one influence named ''influence'' which is gaussian distributed. The mean and standard deviation are parametrized. That means the value (or formula!) of parameter ''#1'' or respectively ''#2'' will be used for the parameters of the distribution. Let us continue with the simulation file:
+So in the model definition we define one influence named __influence__ which is gaussian distributed. The mean and standard deviation are parametrized. That means the value (or formula!) of parameter __#1__ or respectively __#2__ will be used for the parameters of the distribution. Let us continue with the simulation file:
 
 ~~~~~~
 &lt;simulation&gt;
   &lt;instances&gt;
     &lt;instance model="influence" name="v1"&gt;
       &lt;parameters&gt;
         &lt;parameter id = "#1"&gt;time 0.1*&lt;/parameter&gt;
         &lt;parameter id = "#2"&gt;2&lt;/parameter&gt;
       &lt;/parameters&gt;
     &lt;/instance&gt;
   &lt;/instances&gt;
   &lt;processes&gt;
     &lt;process name="v1"&gt;
       &lt;variable name="time"&gt; start 10+ &lt;/variable&gt;
       &lt;formula&gt;time&lt;/formula&gt;
     &lt;/process&gt;
   &lt;/processes&gt;
   &lt;calculation&gt;
     &lt;variation name="start" from="0" to="120" step="10"/&gt;
@@ -120,10 +120,10 @@
   &lt;/calculation&gt;
 &lt;/simulation&gt;
 ~~~~~~
-First we say, we want an instance and override the default parameters of the file. Parameter ''#1'' will now be set to a formula, parameter ''#2'' to a constant of 2. The variable ''time'' used in the first parameter is defined in the [[Process_section|process section]], where it uses the global variable ''start'' as another varying factor. In the end we have an influence gaussian distributed with a drifting mean with values 0, 1, 2, . . . , 10, 11, 12 and a standard deviation of 2.
+First we say, we want an instance and override the default parameters of the file. Parameter __#1__ will now be set to a formula, parameter __#2__ to a constant of 2. The variable __time__ used in the first parameter is defined in the [Process section](process section), where it uses the global variable __start__ as another varying factor. In the end we have an influence gaussian distributed with a drifting mean with values 0, 1, 2, . . . , 10, 11, 12 and a standard deviation of 2.
 
 Parametrization using variables
 ---
 The definiton of the model file using just variables, not parameters, would look like this.
 
 ~~~~~~
@@ -131,62 +131,62 @@
   &lt;influence comment="influence" name="v"&gt;
     &lt;distribution&gt;
       &lt;gauss&gt;
         &lt;mu parameter="#1"&gt;mymu&lt;/mu&gt;
         &lt;sigma parameter="#2"&gt;mysigma&lt;/sigma&gt;
       &lt;/gauss&gt;
     &lt;/distribution&gt;
   &lt;/influence&gt;
 &lt;/model&gt;
 ~~~~~~
-In this file we use to variables ''mymu'' and ''mysigma'' that are not defined in the model file. Therefore the system expects their definitions in the simulation file.
+In this file we use to variables __mymu__ and __mysigma__ that are not defined in the model file. Therefore the system expects their definitions in the simulation file.
 
 ~~~~~~
 &lt;simulation&gt;
   &lt;instances&gt;
     &lt;instance model="influence" name="v1"/&gt;
   &lt;/instances&gt;
   &lt;process&gt;
     &lt;step name="v1"&gt;
       &lt;variable name="mymu"&gt; start 10+ &lt;/variable&gt;
     &lt;/step&gt;
   &lt;/process&gt;
   &lt;calculation&gt;
     &lt;variation name="start" from="0" to="120" step="10"/&gt;
     &lt;variable name="mysigma"&gt; 1.5 &lt;/variable&gt;
     &lt;measurand&gt; v1 &lt;/measurand&gt;
   &lt;/calculation&gt;
 &lt;/simulation&gt;
 ~~~~~~
-The values of ''mymu'' and ''mysigma'' will be used as defined in the simulation file. If you do not define missing variables of the models in the simulation file, the system will respond with an error message.
-
-'''''Hint:''''' We recommend to use parametrization, as you can define default values and for better readability of your models. A parameter is explicitly declared once in the model file and then in the simulation file, if you do not use its default value.
-
-'''''Hint:''''' If you take a model using variables and have not defined the named variables properly in the calcualtion section, the parser will return an error message everytime the formula is parsed.
+The values of __mymu__ and __mysigma__ will be used as defined in the simulation file. If you do not define missing variables of the models in the simulation file, the system will respond with an error message.
+
+_____Hint:_____ We recommend to use parametrization, as you can define default values and for better readability of your models. A parameter is explicitly declared once in the model file and then in the simulation file, if you do not use its default value.
+
+_____Hint:_____ If you take a model using variables and have not defined the named variables properly in the calcualtion section, the parser will return an error message everytime the formula is parsed.
 
 Recursive definition of basic models
 ---
 It is possible to use basic models as influences in basic models. Like this you can define a nice hierarchy of models. See section [Recursive definition of basicmodels] for more information.
 
 Static influences
 ---
-Sometimes it seems reasonable to define not a complete [Initialization section](instance) as static, but only parts of it. That means, if you use an instance of a basic model for example the temperature should be kept to the same value for all calculations using this instance. You can do that by defining an influence in mode ''static''.
+Sometimes it seems reasonable to define not a complete [Initialization section](instance) as static, but only parts of it. That means, if you use an instance of a basic model for example the temperature should be kept to the same value for all calculations using this instance. You can do that by defining an influence in mode __static__.
 
 ~~~~~~
 &lt;model ...&gt;
   &lt;influence comment="concentration" name="c"&gt;
     ...
     &lt;influences&gt;
       &lt;influence comment="temperature" name="t" mode="static"&gt;
         ...
       &lt;/influence&gt;
       ...
     &lt;/influences&gt;
   &lt;/influence&gt;
 &lt;/model&gt;
 ~~~~~~
-'''''Attention:''''' If you define an influence as ''static'' in a basic model, all subsequent influences to that one will also be defined as ''static''.
-
-'''''Attention:''''' The keyword ''static'' always only applies to the current instance. If you use for example two instances of a volume device with a basic model that uses static influences, they are only static for each of the volume devices.
+_____Attention:_____ If you define an influence as __static__ in a basic model, all subsequent influences to that one will also be defined as __static__.
+
+_____Attention:_____ The keyword __static__ always only applies to the current instance. If you use for example two instances of a volume device with a basic model that uses static influences, they are only static for each of the volume devices.
 
 Missing topic
 ===
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marco Wolf</dc:creator><pubDate>Thu, 02 Jun 2011 12:01:26 -0000</pubDate><guid>https://sourceforge.netf5d7c0eccb8466fa380f80f44164775330d1c078</guid></item><item><title>Basic Models 
===
The ideas behind basic models is that logical elements of a measurement, e.g. devices, substances, can be encapsulated in abstract moduls and be instanciated for the definition of a concrete measurement scenario. Each basic model is defined in one xml file and can be parametrised so that if used parameters can be set without touching the file itself.

Format of basic model files
===
Frame of a model
---
The frame of a basic model consist of the following few lines.

~~~~~~
&lt;model name="length" targetname="l"&gt;
  ...
&lt;/model&gt;
~~~~~~
The first line is used to identify the file as correct xml file, the second line tells the parser how to check the validity of the syntax in the model. Users do not have to understand these lines in detail. The interesting part follows after these two standard lines.

The ''model'' tag opens a basic model, in the example named ''length'' and the tag ''targetname'' tells the parser which influence is the main influence.

In the following subsections we omitt the xml opening lines and concentrate more on the details of the sections of interest.

Body of a model
---
In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [[Distributions|probability distributions]], if neccessary. The distribution of each influence can be [[Logging_influences|logged]].

Example 1: Simple influence structure
---
The following example is a really simple one. The model only consists of the main influence. It is gaussian distributed with parameters 5.0 for mu and 2.0 for sigma.

~~~~~~
&lt;model name="length" targetname="l"&gt;
  &lt;influence comment="result" name="l"&gt;
    &lt;distribution&gt;
      &lt;gauss&gt;
        &lt;mu&gt;5.0&lt;/mu&gt;
        &lt;sigma&gt;2.0&lt;/sigma&gt;
      &lt;/gauss&gt;
    &lt;/distribution&gt;
  &lt;/influence&gt;
&lt;/model&gt;
~~~~~~
To see what kind of distributions are support please refer to the chapter about [[Distributions|supported distributions]].

Example 2: Subinfluences
---
A more advanced example uses two subinfluences ''g1'' and ''g2'', where the main influence adds those two subinfluences using the ''function'' tag.

~~~~~~
&lt;model name="length" targetname="l"&gt;
  &lt;influence comment="result" name="l"&gt;
    &lt;formula&gt;g1 + g2&lt;/formula&gt;
    &lt;influences&gt;
      &lt;influence name="Gauss 1" id="g1"&gt;
        &lt;distribution&gt;
          &lt;gauss&gt;
            &lt;mu&gt;5.0&lt;/mu&gt;
            &lt;sigma&gt;2.0&lt;/sigma&gt;
          &lt;/gauss&gt;
        &lt;/distribution&gt;
      &lt;/influence&gt;

      &lt;influence comment="Gauss 2" name="g2"&gt;
        &lt;distribution&gt;
          &lt;gauss&gt;
            &lt;mu&gt;10.0&lt;/mu&gt;
            &lt;sigma&gt;1.0&lt;/sigma&gt;
          &lt;/gauss&gt;
        &lt;/distribution&gt;
      &lt;/influence&gt;
    &lt;/influences&gt;
  &lt;/influence&gt;
&lt;/model&gt;
~~~~~~

Parametrizing basic models
---
Basic models are an abstract form of defining the dependencies of parts of a measurement with influences and distributions. [Initialization section](Instances of basic models) may need different value settings for the parameters of the distributions and one may not like to change basic models directly, but set parameters from outside, say from the part where one instanciates the basic models.

''MUSE'' supports two different types of parametrization:

1. '''Parameters''': A parameter replaces the setting of a value in a distribution of an instance of a [[Basic_models|basic model]] with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
* '''Variables''': A variable represents exactly one value at a time. As parameters can also push formula definitions to the library files, variables just replace the variable name by their current value.
As the distinction of these two concepts is not that easy to understand, it should be clarified using an example.

Parametrization using parameters
---
~~~~~~
&lt;model ...&gt;
  &lt;influence comment="influence" name="v"&gt;
    &lt;distribution&gt;
      &lt;gauss&gt;
        &lt;mu parameter="#1"/&gt;
        &lt;sigma parameter="#2"/&gt;
      &lt;/gauss&gt;
    &lt;/distribution&gt;
  &lt;/influence&gt;
&lt;/model&gt;
~~~~~~
So in the model definition we define one influence named ''influence'' which is gaussian distributed. The mean and standard deviation are parametrized. That means the value (or formula!) of parameter ''#1'' or respectively ''#2'' will be used for the parameters of the distribution. Let us continue with the simulation file:

~~~~~~
&lt;simulation&gt;
  &lt;instances&gt;
    &lt;instance model="influence" name="v1"&gt;
      &lt;parameters&gt;
        &lt;parameter id = "#1"&gt;time 0.1*&lt;/parameter&gt;
        &lt;parameter id = "#2"&gt;2&lt;/parameter&gt;
      &lt;/parameters&gt;
    &lt;/instance&gt;
  &lt;/instances&gt;
  &lt;processes&gt;
    &lt;process name="v1"&gt;
      &lt;variable name="time"&gt; start 10+ &lt;/variable&gt;
      &lt;formula&gt;time&lt;/formula&gt;
    &lt;/process&gt;
  &lt;/processes&gt;
  &lt;calculation&gt;
    &lt;variation name="start" from="0" to="120" step="10"/&gt;
    &lt;measurand&gt; v1 &lt;/measurand&gt;
  &lt;/calculation&gt;
&lt;/simulation&gt;
~~~~~~
First we say, we want an instance and override the default parameters of the file. Parameter ''#1'' will now be set to a formula, parameter ''#2'' to a constant of 2. The variable ''time'' used in the first parameter is defined in the [[Process_section|process section]], where it uses the global variable ''start'' as another varying factor. In the end we have an influence gaussian distributed with a drifting mean with values 0, 1, 2, . . . , 10, 11, 12 and a standard deviation of 2.

Parametrization using variables
---
The definiton of the model file using just variables, not parameters, would look like this.

~~~~~~
&lt;model ...&gt;
  &lt;influence comment="influence" name="v"&gt;
    &lt;distribution&gt;
      &lt;gauss&gt;
        &lt;mu parameter="#1"&gt;mymu&lt;/mu&gt;
        &lt;sigma parameter="#2"&gt;mysigma&lt;/sigma&gt;
      &lt;/gauss&gt;
    &lt;/distribution&gt;
  &lt;/influence&gt;
&lt;/model&gt;
~~~~~~
In this file we use to variables ''mymu'' and ''mysigma'' that are not defined in the model file. Therefore the system expects their definitions in the simulation file.

~~~~~~
&lt;simulation&gt;
  &lt;instances&gt;
    &lt;instance model="influence" name="v1"/&gt;
  &lt;/instances&gt;
  &lt;process&gt;
    &lt;step name="v1"&gt;
      &lt;variable name="mymu"&gt; start 10+ &lt;/variable&gt;
    &lt;/step&gt;
  &lt;/process&gt;
  &lt;calculation&gt;
    &lt;variation name="start" from="0" to="120" step="10"/&gt;
    &lt;variable name="mysigma"&gt; 1.5 &lt;/variable&gt;
    &lt;measurand&gt; v1 &lt;/measurand&gt;
  &lt;/calculation&gt;
&lt;/simulation&gt;
~~~~~~
The values of ''mymu'' and ''mysigma'' will be used as defined in the simulation file. If you do not define missing variables of the models in the simulation file, the system will respond with an error message.

'''''Hint:''''' We recommend to use parametrization, as you can define default values and for better readability of your models. A parameter is explicitly declared once in the model file and then in the simulation file, if you do not use its default value.

'''''Hint:''''' If you take a model using variables and have not defined the named variables properly in the calcualtion section, the parser will return an error message everytime the formula is parsed.

Recursive definition of basic models
---
It is possible to use basic models as influences in basic models. Like this you can define a nice hierarchy of models. See section [Recursive definition of basicmodels] for more information.

Static influences
---
Sometimes it seems reasonable to define not a complete [Initialization section](instance) as static, but only parts of it. That means, if you use an instance of a basic model for example the temperature should be kept to the same value for all calculations using this instance. You can do that by defining an influence in mode ''static''.

~~~~~~
&lt;model ...&gt;
  &lt;influence comment="concentration" name="c"&gt;
    ...
    &lt;influences&gt;
      &lt;influence comment="temperature" name="t" mode="static"&gt;
        ...
      &lt;/influence&gt;
      ...
    &lt;/influences&gt;
  &lt;/influence&gt;
&lt;/model&gt;
~~~~~~
'''''Attention:''''' If you define an influence as ''static'' in a basic model, all subsequent influences to that one will also be defined as ''static''.

'''''Attention:''''' The keyword ''static'' always only applies to the current instance. If you use for example two instances of a volume device with a basic model that uses static influences, they are only static for each of the volume devices.

Missing topic
===
 * [Correlated_input_quantities].
</title><link>https://sourceforge.net/p/freemuse/wiki/Basic%2520models/</link><description>Basic Models 
===
The ideas behind basic models is that logical elements of a measurement, e.g. devices, substances, can be encapsulated in abstract moduls and be instanciated for the definition of a concrete measurement scenario. Each basic model is defined in one xml file and can be parametrised so that if used parameters can be set without touching the file itself.

Format of basic model files
===
Frame of a model
---
The frame of a basic model consist of the following few lines.

~~~~~~
&lt;model name="length" targetname="l"&gt;
  ...
&lt;/model&gt;
~~~~~~
The first line is used to identify the file as correct xml file, the second line tells the parser how to check the validity of the syntax in the model. Users do not have to understand these lines in detail. The interesting part follows after these two standard lines.

The ''model'' tag opens a basic model, in the example named ''length'' and the tag ''targetname'' tells the parser which influence is the main influence.

In the following subsections we omitt the xml opening lines and concentrate more on the details of the sections of interest.

Body of a model
---
In the body of a model you define your influences to the measurement by defining recursively subinfluences and quantifying them by setting parameters of their [[Distributions|probability distributions]], if neccessary. The distribution of each influence can be [[Logging_influences|logged]].

Example 1: Simple influence structure
---
The following example is a really simple one. The model only consists of the main influence. It is gaussian distributed with parameters 5.0 for mu and 2.0 for sigma.

~~~~~~
&lt;model name="length" targetname="l"&gt;
  &lt;influence comment="result" name="l"&gt;
    &lt;distribution&gt;
      &lt;gauss&gt;
        &lt;mu&gt;5.0&lt;/mu&gt;
        &lt;sigma&gt;2.0&lt;/sigma&gt;
      &lt;/gauss&gt;
    &lt;/distribution&gt;
  &lt;/influence&gt;
&lt;/model&gt;
~~~~~~
To see what kind of distributions are support please refer to the chapter about [[Distributions|supported distributions]].

Example 2: Subinfluences
---
A more advanced example uses two subinfluences ''g1'' and ''g2'', where the main influence adds those two subinfluences using the ''function'' tag.

~~~~~~
&lt;model name="length" targetname="l"&gt;
  &lt;influence comment="result" name="l"&gt;
    &lt;formula&gt;g1 + g2&lt;/formula&gt;
    &lt;influences&gt;
      &lt;influence name="Gauss 1" id="g1"&gt;
        &lt;distribution&gt;
          &lt;gauss&gt;
            &lt;mu&gt;5.0&lt;/mu&gt;
            &lt;sigma&gt;2.0&lt;/sigma&gt;
          &lt;/gauss&gt;
        &lt;/distribution&gt;
      &lt;/influence&gt;

      &lt;influence comment="Gauss 2" name="g2"&gt;
        &lt;distribution&gt;
          &lt;gauss&gt;
            &lt;mu&gt;10.0&lt;/mu&gt;
            &lt;sigma&gt;1.0&lt;/sigma&gt;
          &lt;/gauss&gt;
        &lt;/distribution&gt;
      &lt;/influence&gt;
    &lt;/influences&gt;
  &lt;/influence&gt;
&lt;/model&gt;
~~~~~~

Parametrizing basic models
---
Basic models are an abstract form of defining the dependencies of parts of a measurement with influences and distributions. [Initialization section](Instances of basic models) may need different value settings for the parameters of the distributions and one may not like to change basic models directly, but set parameters from outside, say from the part where one instanciates the basic models.

''MUSE'' supports two different types of parametrization:

1. '''Parameters''': A parameter replaces the setting of a value in a distribution of an instance of a [[Basic_models|basic model]] with its default value or a new value set in the main program. It allows to override default settings in the library files that are optional.
* '''Variables''': A variable represents exactly one value at a time. As parameters can also push formula definitions to the library files, variables just replace the variable name by their current value.
As the distinction of these two concepts is not that easy to understand, it should be clarified using an example.

Parametrization using parameters
---
~~~~~~
&lt;model ...&gt;
  &lt;influence comment="influence" name="v"&gt;
    &lt;distribution&gt;
      &lt;gauss&gt;
        &lt;mu parameter="#1"/&gt;
        &lt;sigma parameter="#2"/&gt;
      &lt;/gauss&gt;
    &lt;/distribution&gt;
  &lt;/influence&gt;
&lt;/model&gt;
~~~~~~
So in the model definition we define one influence named ''influence'' which is gaussian distributed. The mean and standard deviation are parametrized. That means the value (or formula!) of parameter ''#1'' or respectively ''#2'' will be used for the parameters of the distribution. Let us continue with the simulation file:

~~~~~~
&lt;simulation&gt;
  &lt;instances&gt;
    &lt;instance model="influence" name="v1"&gt;
      &lt;parameters&gt;
        &lt;parameter id = "#1"&gt;time 0.1*&lt;/parameter&gt;
        &lt;parameter id = "#2"&gt;2&lt;/parameter&gt;
      &lt;/parameters&gt;
    &lt;/instance&gt;
  &lt;/instances&gt;
  &lt;processes&gt;
    &lt;process name="v1"&gt;
      &lt;variable name="time"&gt; start 10+ &lt;/variable&gt;
      &lt;formula&gt;time&lt;/formula&gt;
    &lt;/process&gt;
  &lt;/processes&gt;
  &lt;calculation&gt;
    &lt;variation name="start" from="0" to="120" step="10"/&gt;
    &lt;measurand&gt; v1 &lt;/measurand&gt;
  &lt;/calculation&gt;
&lt;/simulation&gt;
~~~~~~
First we say, we want an instance and override the default parameters of the file. Parameter ''#1'' will now be set to a formula, parameter ''#2'' to a constant of 2. The variable ''time'' used in the first parameter is defined in the [[Process_section|process section]], where it uses the global variable ''start'' as another varying factor. In the end we have an influence gaussian distributed with a drifting mean with values 0, 1, 2, . . . , 10, 11, 12 and a standard deviation of 2.

Parametrization using variables
---
The definiton of the model file using just variables, not parameters, would look like this.

~~~~~~
&lt;model ...&gt;
  &lt;influence comment="influence" name="v"&gt;
    &lt;distribution&gt;
      &lt;gauss&gt;
        &lt;mu parameter="#1"&gt;mymu&lt;/mu&gt;
        &lt;sigma parameter="#2"&gt;mysigma&lt;/sigma&gt;
      &lt;/gauss&gt;
    &lt;/distribution&gt;
  &lt;/influence&gt;
&lt;/model&gt;
~~~~~~
In this file we use to variables ''mymu'' and ''mysigma'' that are not defined in the model file. Therefore the system expects their definitions in the simulation file.

~~~~~~
&lt;simulation&gt;
  &lt;instances&gt;
    &lt;instance model="influence" name="v1"/&gt;
  &lt;/instances&gt;
  &lt;process&gt;
    &lt;step name="v1"&gt;
      &lt;variable name="mymu"&gt; start 10+ &lt;/variable&gt;
    &lt;/step&gt;
  &lt;/process&gt;
  &lt;calculation&gt;
    &lt;variation name="start" from="0" to="120" step="10"/&gt;
    &lt;variable name="mysigma"&gt; 1.5 &lt;/variable&gt;
    &lt;measurand&gt; v1 &lt;/measurand&gt;
  &lt;/calculation&gt;
&lt;/simulation&gt;
~~~~~~
The values of ''mymu'' and ''mysigma'' will be used as defined in the simulation file. If you do not define missing variables of the models in the simulation file, the system will respond with an error message.

'''''Hint:''''' We recommend to use parametrization, as you can define default values and for better readability of your models. A parameter is explicitly declared once in the model file and then in the simulation file, if you do not use its default value.

'''''Hint:''''' If you take a model using variables and have not defined the named variables properly in the calcualtion section, the parser will return an error message everytime the formula is parsed.

Recursive definition of basic models
---
It is possible to use basic models as influences in basic models. Like this you can define a nice hierarchy of models. See section [Recursive definition of basicmodels] for more information.

Static influences
---
Sometimes it seems reasonable to define not a complete [Initialization section](instance) as static, but only parts of it. That means, if you use an instance of a basic model for example the temperature should be kept to the same value for all calculations using this instance. You can do that by defining an influence in mode ''static''.

~~~~~~
&lt;model ...&gt;
  &lt;influence comment="concentration" name="c"&gt;
    ...
    &lt;influences&gt;
      &lt;influence comment="temperature" name="t" mode="static"&gt;
        ...
      &lt;/influence&gt;
      ...
    &lt;/influences&gt;
  &lt;/influence&gt;
&lt;/model&gt;
~~~~~~
'''''Attention:''''' If you define an influence as ''static'' in a basic model, all subsequent influences to that one will also be defined as ''static''.

'''''Attention:''''' The keyword ''static'' always only applies to the current instance. If you use for example two instances of a volume device with a basic model that uses static influences, they are only static for each of the volume devices.

Missing topic
===
 * [Correlated_input_quantities].
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marco Wolf</dc:creator><pubDate>Thu, 02 Jun 2011 11:56:52 -0000</pubDate><guid>https://sourceforge.net85b926b504fed1715576b94e65bc7eb5fab0a038</guid></item></channel></rss>