WOLFRAM SYSTEM MODELER

Integrator

Output the integral of the input signal with optional reset

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Continuous.Integrator"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This blocks computes output y as integral of the input u multiplied with the gain k:

    k
y = - u
    s

It might be difficult to initialize the integrator in steady state. This is discussed in the description of package Continuous.

If the reset port is enabled, then the output y is reset to set or to y_start (if the set port is not enabled), whenever the reset port has a rising edge.

Parameters (5)

k

Value: 1

Type: Real

Description: Integrator gain

use_reset

Value: false

Type: Boolean

Description: = true, if reset port enabled

use_set

Value: false

Type: Boolean

Description: = true, if set port enabled and used as reinitialization value when reset

initType

Value: Init.InitialState

Type: Init

Description: Type of initialization (1: no init, 2: steady state, 3,4: initial output)

y_start

Value: 0

Type: Real

Description: Initial or guess value of output (= state)

Connectors (6)

u

Type: RealInput

Description: Connector of Real input signal

y

Type: RealOutput

Description: Connector of Real output signal

reset

Type: BooleanInput

Description: Optional connector of reset signal

set

Type: RealInput

Description: Optional connector of set signal

local_reset

Type: BooleanOutput

Description: 'output Boolean' as connector

local_set

Type: RealOutput

Description: 'output Real' as connector

Used in Examples (8)

PID_Controller

Modelica.Blocks.Examples

Demonstrates the usage of a Continuous.LimPID controller

SlewRateLimiter

Modelica.Blocks.Examples

Demonstrate usage of Nonlinear.SlewRateLimiter

SinCosEncoder

Modelica.Blocks.Examples

Evaluation of a sinusoidal encoder

BatteryDischargeCharge

Modelica.Electrical.Batteries.Examples

Discharge and charge idealized battery

SuperCapDischargeCharge

Modelica.Electrical.Batteries.Examples

Discharge and charge idealized supercap

CCCVcharging

Modelica.Electrical.Batteries.Examples

Charge a battery with constant current - constant voltage characteristic

CCCV_Cell

Modelica.Electrical.Batteries.Examples

Charge a cell with constant current - constant voltage characteristic

CCCV_CellRC

Modelica.Electrical.Batteries.Examples

Charge a transient cell with constant current - constant voltage characteristic

Used in Components (6)

PID

Modelica.Blocks.Continuous

PID-controller in additive description form

LimPID

Modelica.Blocks.Continuous

P, PI, PD, and PID controller with limited output, anti-windup compensation, setpoint weighting and optional feed-forward

CylinderAirCharge

Modelica.Clocked.Examples.Systems.Utilities.ComponentsThrottleControl

Integrates the air mass flow into a cylinder. After the charge for one cylinder is complete, resets the mass to 0.

LimitedPI

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

Limited PI-controller with anti-windup and feed-forward

IdealDcDc

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

Ideal DC-DC inverter

SinCosEvaluation

Modelica.Electrical.Machines.Utilities

Evaluation of the signals of a sin-cos-resolver