Model: CLASE.+stiff.+stiff
Version: 4
Date and Time: 09/10/2016 16:33:02.608000
Library: CLASE
Library dependency list: CLASE V0.0
Software: PROOSIS V3.6.19

GENERAL STATISTICS

INFO | #
Number of equations: | 2
Number of boxes (coupled subsystems of equations): | 0
Number of linear boxes: | 0
Number of nonlinear boxes: | 0
Number of input DATA: | 2
Number of input BOUNDARY: | 0
Number of output EXPLICIT : | 0
Number of output DYNAMIC/DERIVATIVE: | 2
Number of output ALGEBRAIC: | 0
Size of Jacobian matrix (DYNAMIC+ALGEBRAIC): | 2x2
Sparsity factor in Jacobian matrix (% of zeros): | 25
Default integration method: | DASSL

TYPE OF VARIABLES

TYPE | VARIABLE | DATA | CONSTANT
REAL | 8 | 2 | 0
INTEGER | 1 | 1 | 0
STRING | 0 | 0 | 0
TABLE | 0 | 0 | 0

GLOBAL FLAGS:

FLAG | VALUE
Remove derivatives | FALSE
Inhibit automatic reduction of equations | FALSE
Remove not used variables | FALSE
Generate code to check mathematical functions | TRUE
Generate code to analyse the performance of functions | FALSE
Obfuscate partition and experiment C++ generated code | FALSE

BOUNDARIES:

# | NAME | ALIAS | UNITS | DESCRIPTION | INITIAL

JACOBIAN INDEPENDENT VARIABLES:

POS | VARIABLE | ALIAS | CATEGORY | UNITS | DESCRIPTION | INITIAL | RESIDUE EQUATION | BOX
1 | x1 |  | DYNAMIC |  |  |  | x1' = -mu * x1 + 10. | 0
2 | x2 |  | DYNAMIC |  |  |  | x2' = x1 - x2 | 0

### USER DATA TYPES:

TYPES:

TYPE | NAME

### MODEL VARIABLES:

VARIABLES:

# | NAME | UNITS | EQUIV-TO | STATION | TYPE | MATH-TYPE | INITIAL | LRANGE | RRANGE | ALIAS | IS-ALIAS | EDIT | TRACE | STORE | DECK-IN | DECK-OUT
1 | delta_t |  |  |  | REAL | DATA_VAR | 0.005 |  |  |  | NO | YES | NO | NO | NO | NO
2 | explicitmethod |  |  |  | BOOLEAN | DATA_VAR | TRUE |  |  |  | NO | YES | NO | NO | NO | NO
3 | mu |  |  |  | REAL | DATA_VAR | 100 |  |  |  | NO | YES | NO | NO | NO | NO
4 | sample |  |  |  | BOOLEAN | DISCRETE |  |  |  |  | NO | YES | NO | NO | NO | NO
5 | x1 |  |  |  | REAL | DYNAMIC |  |  |  |  | NO | YES | NO | NO | NO | NO
6 | x1' |  |  |  | REAL | DERIVATIVE |  |  |  |  | NO | YES | NO | NO | NO | NO
7 | x1_next |  |  |  | REAL | DISCRETE |  |  |  |  | NO | YES | NO | NO | NO | NO
8 | x1_t |  |  |  | REAL | DISCRETE |  |  |  |  | NO | YES | NO | NO | NO | NO
9 | x2 |  |  |  | REAL | DYNAMIC |  |  |  |  | NO | YES | NO | NO | NO | NO
10 | x2' |  |  |  | REAL | DERIVATIVE |  |  |  |  | NO | YES | NO | NO | NO | NO
11 | x2_next |  |  |  | REAL | DISCRETE |  |  |  |  | NO | YES | NO | NO | NO | NO
12 | x2_t |  |  |  | REAL | DISCRETE |  |  |  |  | NO | YES | NO | NO | NO | NO

Note 1: Variables called "__aux_int_..." are internal integer variables, used to iterate
Note 2: FOR statements are converted to WHILE statements

### INIT STATEMENTS:

-- init(Stiff,0)
sample = TRUE
x1 = 2
x2 = 3
x1_t = x1
x2_t = x2

### DISCRETE STATEMENTS:

WHEN (sample == TRUE AND explicitmethod == TRUE ) THEN x1_next = x1_t + (-mu * x1_t + 10) * delta_t x1_t = x1_next x2_next = x2_t + (x1_t - x2_t) * delta_t x2_t = x2_next sample = FALSE sample = TRUE AFTER delta_t END WHEN
WHEN (sample == TRUE AND explicitmethod == FALSE ) THEN x1_next = (x1_t + 10 * delta_t) / (1 + mu * delta_t) x1_t = x1_next x2_next = (x2_t + x1_next * delta_t) / (1 + delta_t) x2_t = x2_next sample = FALSE sample = TRUE AFTER delta_t END WHEN
Note 3: In equations 'E' means explicit,'I' implicit,'L' linear,'F' function

### SORTED EQUATIONS:

###eqts 2
[E-1] x1' = -mu * x1 + 10.
[E-2] x2' = x1 - x2
EQUATIONS/VARIABLES MATRIX:

e/v | v 6 | v 1 0
e1 | E |  |
e2 |  | E |

Terminology:
X: Variable used in equation
E: Explict variable
A: Algebraic variable
L: Variable solved linearly
O: Calculated as output of a function or SEQUENTIAL block
NOTE: Some internal equations are not presented (typically with variables ending in ".")

Document generated automatically with PROOSIS Version: 3.6.19 Date: 2016:10:09 Time: 16:33:02