Change the color of buildings by exceeding sound limits

Change the color of buildings by exceeding sound limits

It is common for different areas with their respective soil uses, each having sound limits for the different time intervals (Day, Afternoon and Night). For example, like the project below:



To represent the building of a particular color, depending on whether the sound limit is exceeded (or quality index)acoustics) in a particular land use area, a formula should be defined in the Appearance of the Building object type (specifically in the filling):


The complete formula is as follows:

Notes
iif(HB_LP1> MEMO_Limite_dia, rgb(0,255,0), iif(HB_LP2> MEMO_Limite_tarde,rgb(0,255), iif(HB_LP3> MEMO_Limite_night, rgb(255,0.0), rgb(255,255,255))

Where:
• • •Hb_lp1: LP1 parameter level for building evaluation (day interval).
• • •Hb_lp2: LP2 parameter level for building evaluation (late interval).
• • •Hp_lp: LP3 parameter level for building evaluation (night interval).
• • •MEMO_Limite_dia: MEMO variable where we will include the day limit for thatarea of use.
• • •MEMO_Limite_tarde: MEMO variable where we will include the afternoon limit forthat area of use.
• • •MEMO_Limite_night: MEMO variable where we will include the night limit forthat area of use.
• • •rgb(r,g,b): procedure for introducing RGB encoding with whichpaint the building (r: red, g: green, b: blue).

For each building with a Building Assessment configured, the formula beginscomparing the facade levels of the LP1 function with the limitby day introduced in the MEMO variable. If any of the levels exceed the limit,paints the building green. Otherwise, compares the LP2 value to thein the MEMO variable. If any of the levels exceed the limit, it paints theblue building. Otherwise, compares the LP3 value with the night limit inthe MEMO variable. If any of the levels exceed the limit, paint the building ofred. Otherwise, he paints it white.

For this formula to work, it is necessary to introduce the value of sound limits within the MEMO variable of each Building based on its land use. A strategy for taking this step in a medium-fast way is as follows:
1) Select the area of use, right-click on the perimeterfrom this, select Modify Objects and configure as follows:

2) Configure these parameters:

3) Verify the process in one of the buildings in the respective land-use area:

4) Repeat the process for Late_night limitation in the different areas of soil use.

By performing a receiver calculation, we will get results such as:






    • Related Articles

    • Define a new Color Palette

      New color palettes are defined by the menu Tables | Bookstores (local/global) | Color palettes. The Color Palette table is managed, as usual in CadnaA, through its context menu. A new color palette is defined by inserting a new line. Double-clicking ...
    • Import and allocation of spectral sound levels to point sources

      The import and allocation of spectral sound levels to a set of point sources in a CadnaA project can be carried out using the database functionality. In this case, two databases located within the same EXCEL book will be needed: Sound Level ...
    • Attributes of population distribution in buildings (FAC_EINW_x)

      CadnaAhas different attributes to quantify the distribution of the population at facade points(FAC_EINW_x) where you want to calculate and export data: We can distribute the population equally to each facade point: FAC_EINW_C ("c" of "count") or ...
    • Represent Objects by colors based on "Floor use"

      In CadnaA it is possible to represent different objects by colors depending on which soil area they belong to. One way to do this is as follows: 1) Define the "Lil-use areas" of the project: In the example, 2 soil uses which have been defined: Mixed ...
    • Generate Conflict Map with CadnaA

      A conflict map is a graphical representation showing areas where noise levels exceed established sound limits, facilitating the identification of critical areasand helping to make decisions to mitigate such overcrowding. The preparation of a conflict ...