pwAddP


m = pwAddP(m, rhs, ID, unit, name, description)

 Adds a derived parameter to a model.

 Like derived variables, also derived parameters can be defined. This is
 interesting for example if only the fraction of two parameters can
 unambiguously be determined.

 

Arguments for pwAddP

 m           struct  Model struct
 rhs         string  Right hand side of the derived parameter, e.g.
                     'Stat_act / Stat_deact'
 ID          ID      ID of the parameter, e.g. 'Stat_act_over_deact'
 unit        string  (Currently ignored)
 name        string  descriptive name
 description string  A description.

 

Description

 The right hand side may contain IDs of dynamic parameters, dynamic variables,
 and scaling parameters. Since the set of scaling parameters may change if
 a new observation function is used for the model, pleas make only use of scaling
 parameters if you are working with the default observation, i.e. with the
 observation defined in the model definition file. Else, the behavior is not
 defined!

 

Example

 m = pwAddP(m, 'Stat_act / Stat_deact', 'Stat_act_over_deact');

See also

pwAddK
pwAddR
pwAddZ
pwAddY
pwCalculateDerivedParameters