cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
License Delivery maintenance is expected to occur on Saturday, October 19, between 4 and 6 PM CEST. This may cause a short 60-minute outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool may not function properly. We apologize for any inconvenience.
Project data & BIM
About BIM-based management of attributes, schedules, templates, favorites, hotlinks, projects in general, quality assurance, etc.

occupants calculation

mhoude
Booster

Need help to resolve my calculation problem. In canada we have to multiply area per person. Let say that 0.75 m2 per person. So I multiply my zone calculated area  by area per person. Error this argument expect a Non-unit value.

 

Anyone can help me

Expression_Report_and_Property_Manager.jpg

5 REPLIES 5
JLopes
Participant

I'm just wondering whether your Data Type should be [Area] instead of [Integer].
Your expression is dealing with two values that are both areas - so the resulting product should also be an area...

 

 

...*EDIT* Ignore that - it should work anyway.

Erik Bjornhage : SwedishChef, ETTELVA Arkitekter, Gothenburg, Sweden
Architect : Digital Development : Graphisoft Cert. BIM-Manager
ETTELVA Arkitekter : Eriks LinkedIn
DELL Precision 5570; i7-12700H; 64 GB; RTX A2000 [8GB] : AC12 - future
Barry Kelly
Moderator

Your data type should be 'Number' not 'Integer'.

 

BarryKelly_0-1689143032493.png

 

Also you want to divide the calculated area by the area per person, not multiply.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Laszlo Nagy
Community Admin
Community Admin

mhoude, 

 

You have to divide "Calculated Area" by "Area per person", not multiply it.

The unit of "Calculated Area" is Area (m2).

The unit of "Area per person" should also be Area (m2).

The result of this division will be a Number, which will be converted to an Integer by the ROUNDDOWN function so the Data Type of the "Number of Occupants" needs to be Integer.

 

Actually, I just checked this in Archicad 26, and the Property Manager already contains Properties for this purpose.

Under the "ZONES" Property Group, you will find the "Area per Occupant" and "Number of Occupants" Properties.

PropertyManager-NumbefOfOccupants.png

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27

"Area" divided by "Area" is not "Area".

The "Area" Data Type is in m2.

The "Area per Occupant" Data Type is also m2.

When you divide one with the other, the result is not another "Area" Data Type, it is a "Number" Data Type, since m2 / m2 is a number without any unit of measurement.

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27