occupants calculation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-07-11
05:29 PM
- last edited on
‎2023-07-17
11:46 PM
by
Laszlo Nagy
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
 

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-07-11 05:31 PM
AC28 Port |
AC26 Port | Ryzen 9 5900x | RTX3080 | Win

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-07-12 07:54 AM - edited ‎2023-07-12 07:59 AM
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.
Architect : Digital Development : Graphisoft Cert. BIM-Manager
ETTELVA Arkitekter : Eriks LinkedIn
DELL Precision 5570; i7-12700H; 64 GB; RTX A2000 [8GB] : AC12 - future

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-07-12 08:26 AM - edited ‎2023-07-12 08:27 AM
Your data type should be 'Number' not 'Integer'.
Also you want to divide the calculated area by the area per person, not multiply.
Barry.
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-07-17 11:53 PM - edited ‎2023-07-17 11:54 PM
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.
 
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-07-17 11:58 PM
"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.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28