Visual programming to the rescue

Visual programming to the rescue

According to the Danish building code, BR18, you need to verify/simulate how many hours the operative temperature exceeds certain values during the year.

This is not very difficult to determine with post processing once you have the simulated temperature result in a structured way, for example as an Excel table, but what if you want the result in real time during a simulation?

The obvious way would be some coding. To do this you need to define some variables, write the logic and a good understanding of the simulation tool you are using. Not very difficult but still I think a number of people would prefer post processing in Excel.

Still, there is an alternative method, visual programming. As an example, this is the macro a college of mine, Samer Hassanie , wrote yesterday calculating thermal comfort according to the Danish building code using IDA ICE.

No alt text provided for this image

To do this we need two signals, the input signal (the operative temperature for each time step of the simulation) and a comparator signal that determines if we should store the time to duration or not. The good thing is that there is a component in IDA ICE called Duration so all we need to do is to get the signals. First, we grab two signals from the simulation, the operative temperature in a room and if the room is occupied or not.

Using visual programming this is just dragging components from a palette and in this example, connecting them by drawing lines.

We split and multiply these signals with two schedules, summer and winter with different selected time intervals. The clever thing about multiplying two signals is that if one of the signals is 0 the resulting signal is also 0. The Duration component contains the different temperature levels that we compare against, so this is it, all we need to do is to write the result to a report, table, or something else and we are done. No coding required at all. 

To view or add a comment, sign in

More articles by Max Tillberg

  • Stop Guessing Passive Gains: Use detailed Zone Modeling for Accuracy

    How do you accurately predict the performance of a Trombe wall or other passive solar designs? Join me on March 4th at…

  • LOD for BIM and BEM

    Level of detail, LOD, in BIM is an interesting discussion but today I would like to talk about level of detail…

    2 Comments
  • Learning by simulating

    One of my favorite aspects of simulation tools is that they are great ways to learn difficult things. For example, most…

  • Area definitions in thermal building simulations

    Area definitions in building design are extremely important since they are key financial metrics and regulated by…

    1 Comment
  • Critical Review of Impacts of Greenhouse Gas Emissions on the U.S. Climate

    For many of us, United States Department of Energy (DOE), is known for developing the building energy simulation…

  • Keeping up with BIM, a new version of ICEBridge is released

    Keeping up with BIM is hard. Tools, methods and standards are being developed at a rapid speed, especially in open BIM.

    1 Comment
  • Proprietary formats are killing the AEC industry

    If you follow me on LinkedIn, you know that I really dislike proprietary formats used in for example AutoCAD, Revit and…

    4 Comments
  • Façade modelling with IDA ICE

    I think IDA ICE is the best thing since sliced bread. The main reason for this is that it solves a lot of my problems…

    1 Comment
  • BIM without walls, slabs and windows

    Some time ago my favorite BIM pirate, Simon Dilhas, made a post about the essentials in a BIM model. The main argument…

    8 Comments
  • Can you trust IFC files at all?

    For almost 20 years I have used IFC files as input for building simulations and the quality of the files I see is…

    29 Comments

Others also viewed

Explore content categories