Buildings.Utilities.Math.TrapezoidalIntegration

25 views
Skip to first unread message

luana...@id.uff.br

unread,
Feb 3, 2018, 11:32:41 AM2/3/18
to Modelica-BuildingSystems
Hey Guys anyone familiar with this block?
I am trying to use it but it does not work at all...
I have a curve Q_Flow x time and I want total energy consumption over the time I determine.

Thanks

Matthis Thorade

unread,
Feb 3, 2018, 1:57:19 PM2/3/18
to Modelica-BuildingSystems
Hi,
this model was developed in the IBPSA library and then copied to all the extending libraries, like Buildings, BuildingSystems, AixLib, IDEAS. Your path makes me think you are using the Buildings library, but this is the BuildingSystems user group. Not a problem though, because the model is the same in all libraries...
There should be three models: The function that does the integration, a block that uses the function, and an example that uses the block:
https://github.com/UdK-VPT/BuildingSystems/blob/master/BuildingSystems/Utilities/Math/Functions/trapezoidalIntegration.mo
https://github.com/UdK-VPT/BuildingSystems/blob/master/BuildingSystems/Utilities/Math/TrapezoidalIntegration.mo
but the example is missing, it should be in this directory:
https://github.com/ibpsa/modelica-ibpsa/tree/master/IBPSA/Utilities/Math/Examples
Therefore, I opened an issue for you, asking to add an example:
https://github.com/ibpsa/modelica-ibpsa/issues/885
Best,
Matthis
Reply all
Reply to author
Forward
0 new messages