Integrator

Symbol

Working principle

The integrator applies the mathematical integration function to its input, with the output being reset to zero when reset equals one. This component can e.g. be used for the generation of counters.

 

The block requires 2 input parameters:

Input: The value that must be integrated

Reset: A boolean (0 or 1) time series. When zero, nothing happens. When one, the output value will reset to zero so in fact, we reinitialize the integration.

 

The block has 1 output parameter:

Value: The integrated value of the input over time, with time in seconds.

Example usage

I would like to transform a power variable in kW to an energy graph in kWh.

For this purpose, I can use the integrator block where I feed my power signal into the integrator. I am not interested in reset, so I connect a zero block to it.

As the integration happens over time in seconds, the output value will have kW*s or thus kJ as unit. We can then use another multiplication to transform kJ to kWh.

Â