Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question

Revision history [back]

Hi,

Attached is a model which discards the first (0.0) of a series of values. I used the Counter actor to detect the first firing. I then used an Expression actor to evaluate the condition which when true will activate a Boolean Switch. This switch will then serve a bypass for the desired output values. I think you can use such a construct for your case. If you remove the Switch, the Counter,C:\fakepath\system_DiscardInitial.jpg and the Expression actor, and connect the CurrentTime actor to the Display actor, you will see the first value which has been removed. Please renamed the file extension from .jpg to xml to test it.

Thanks!

Thierry

Hi,

Attached is a model which discards the first (0.0) of a series of values. I used the Counter actor to detect the first firing. I then used an Expression actor to evaluate the condition which when true will activate a Boolean Switch. This switch will then serve a bypass for the desired output values. I think you can use such a construct for your case. case. The system model is at C:\fakepath\system_DiscardInitial.jpg. If you remove the Switch, the Counter,C:\fakepath\system_DiscardInitial.jpg and Counter, the Expression actor, and connect the CurrentTime actor to the Display actor, you will see the first value which has been removed. Please renamed the file extension from .jpg to xml to test it.the system model.

Thanks!

Thierry