**Life Cycle of MBD (Model based Development) :-**

**What is SCADE :-**

SCADE : Safety Critical Application Development Environment

SCADE Suite in Aerospace & Defense Applications.

SCADE in Automotive Applications

SCADE in Rail Transportation Applications.

SCADE in Nuclear Applications.

Life Cycle of SCADE Code Generator :-

**SCADE Operators :-**

a-b operator :

a+b Operator :

-a+b Operator :

NOT Equal to symbol :

Multiplication Operator :

Division Operator :

This operator is means for the division of integer values

Graphical representation

This operator is means for the division of real values

Local Variable representation :

Global Variable :

OUTPUT is carrying to next INPUT :

Accessing one member in a structure :

here X mode is the member of the structure X2_Input, only this member should be enabled as IN in TIE and all others members can be irrelevant.

Accessing the complete structure members :

here , the all members of structure “complex :: yaw_damp_ioc” is accessing

IF Else Symbol :

- If the condition is TRUE then BLACK spot input value is passed.
- If the condition is FALSE the White/Blue spot input value is passed.

Three Input IF-ELSE Condition :

- If the Condition is TRUE then BLACK spot of 3 input values are passed OUT.
- If the condition is FALSE then BLUE/White spot of 3 input values are passed OUT.

IF ELSE IF Ladder :

- If Second IF condition is TRUE then all other IF conditions should make as FALSEit should show independently because output has to observe independently .

Absolute operator :

This operator converts the negative values in to positive values.

Switch Case :

If the control input variable “es” is equal to 1 then the output will be set to e1 . Similarly e2, e3 and e4 values will be connected to output when the conditions are 3, 7 and any other value other than 2,3 and 7 respectively.

Unsymmetrical Limiter :

The limiting operation will be performed depends on the lower limit and upper limit. There is no link between the lower and upper limits.

suppose the lower limit is -4 and upper limit is +8 are given. If input is in between -4 to 8 then the output is equal to input. If input is <= -4 and >=8 the output will be limited to -4 and 8 respectively.

Symmetrical Limiter :

The limiting operation will be performed depends on the origin and Tolerance. There is a link between the lower and upper limits.

Upper limit = origin + Tolerance;

Lower limit = origin – Tolerance;

i.e origin is always center point between Upper limit and Lower limit.

Interpolation and Extrapolation:

**Interpolation** is a method of constructing new data points within the range of a discrete set of known data points.

**Extrapolation** is the process of constructing new data points outside a discrete set of known data points.

- values of the constants LIM_X_C, LIM_Y_C will be provided in MSPEC Ex: X = {2,4,6,8,10} ; Y = {10,20,30,40,50}
- FALSE means extrapolation should not be done.
- TRUE means extrapolation is needed.
- <<10>> denotes size of the constant array

- The formula for interpolation is

(Y-Y1)/(Y2-Y1) = (X-X1)/(X2-X1)

Initialization Block Operator :

In first test case, output ‘x’ will take the default value ‘X0’ irrespective of the input value ‘a’.

From second test case onwards, the input ‘a’ will be directly connected to the output ‘x’.

PRE Operator :

PRE operator Functionality.

- PRE operator will delay the input by one cycle. So in first test case, output of the PRE block is unpredictable value.
- From second test case onwards, previous cycle values will be available at the output (x).