modelTimeIntegral

Calculation of the integral of a value on a given time step
Diagram of TimeIntegral

Information

Hypothesis and equations

none

Bibliography

none

Instructions for use

Use the output Integral only when the box "Store variables at events" is checked in the simulation setup. Otherwise, use the output TotalIntegral.

Known limits / Use precautions

none

Validations

Validated model (on condition that the recovery time step is identical to the integration time step) - Aurélie Kaemmerlen 03/2011

--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Aurélie KAEMMERLEN, EDF (2011)
--------------------------------------------------------------

Parameters

TypeNameDefaultDescription
IntegerDt3600Integration step (hourly step by default)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu
Modelica.Blocks.Interfaces.RealOutputIntegral
Modelica.Blocks.Interfaces.RealOutputTotalIntegral

Components

TypeNameDefaultDescription
RealItTotal integral
RealIt0Total integral at the previous time
RealpreItTotal integral at the previous time step Dt

Revisions

Anne-Sophie Coince 12/2014 : correction du calcul de l'intégrale pour que le pas de temps renseigné (Dt) soit bien pris en compte

Benoît Charrier 05/2017 : adding TotalIntegral as output to get the total value of integrated signal