Download RAND MODEL DESIGNER
Transcript
Output variables: Z: double := 0; Function: This block outputs the sum of the inputs, implementing the function 5.1.3 CSubtractor Figure 252 CSubtractor Class name: CSubtractor Parameters: X0: double := 0; -- the initial value of X Y0: double := 0; -- the initial value of Y Input variables: X: double := X0; Y: double := Y0; Output variables: Z: double := 0; Function: This block implements the function Z = X −Y . 5.1.4 CIntegrator Figure 253 CIntegrator Class name: CIntegrator Parameters: K: double := 1; -- the gain factor X0: double := 0; -- the initial value of X Y0: double := 0; -- the initial value of Y 224 Z = X +Y .