Cumulative meter value in Python:Plugin
How can we get the cumulative value of a Output:meter in Python:Plugin?
. which API function? . which calling point?
First time here? Check out the Help page!
How can we get the cumulative value of a Output:meter in Python:Plugin?
. which API function? . which calling point?
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2022-01-28 06:14:01 -0600
Seen: 69 times
Last updated: Jan 28 '22
I recall some brief discussion about this here.
@S.Wang would using the
Output:Meter:Cumulative
object work? This will contain the running total of anOutput:Meter
starting from the beginning of the simulation. Either that or use Python code to accumulateOutput:Meter
values as you desire.Thank you for replying!
I would like to get the cumulative value in my python plugin programs, but the Output:Meter:Cumulative is not accessible. (no such API.)
I also tried to get _meter_value on a calling point 'after Zone reporting', and accumulated it to generate an output variable. But this output result is not equal to the one from Output:Meter:Cumulative.