Occupancy calc shown in schedule and in tag

Occupancy calc shown in schedule and in tag

skyeg321
Collaborator Collaborator
6,015 Views
34 Replies
Message 1 of 35

Occupancy calc shown in schedule and in tag

skyeg321
Collaborator
Collaborator

I know this topic has been beaten to death but I haven't seen a great solution. We are calculating room occupancy in a room schedule by dividing area by the room's occupancy factor. We also want this calculated value to appear in the room tag. I'm not aware that you can create a shared parameter from a calculated parameter so my my current solution (or workaround) is to just have the tag re-calc the occupancy within itself. Doesn't seem like the most elegant solution. How are other people doing this? Is there a plugin we can buy that makes this easy? 

 

Life Safety Fun.PNG

0 Likes
Accepted solutions (2)
6,016 Views
34 Replies
Replies (34)
Message 2 of 35

ToanDN
Consultant
Consultant

Yes you can add a label in the tag, load the shared parameter for the occupant load factor, add a calculated value parameter to the label and use the formula: roundup (Area/Occupant load factor).

 

ToanDN_0-1664516618140.png

 

Message 3 of 35

skyeg321
Collaborator
Collaborator

@ToanDN What type are you using for your factor? Area? or Integer? And what type are you using for your calculated parameter? My calculated label isnt returning anything in my project. My factor parameter is an area and my calculated occupancy is an integer. 

 

Life Safety Tag in project.PNGCalculated Occ.PNG

0 Likes
Message 4 of 35

ToanDN
Consultant
Consultant

I use an area shared parameter for occupant load factor.  The values are driven by a key schedule in the project based on occupancy groups.

 

Your image showing occupant load factor in project and occupancy factor in family.  It doesn't work.  You have to use the same shared parameter in family and project.

0 Likes
Message 5 of 35

barthbradley
Consultant
Consultant

@skyeg321 wrote:

Doesn't seem like the most elegant solution.


 

"Elegant"? Is that the bar?  😉

 

Automating Occupancy: A Smarter Way | Autodesk University 

0 Likes
Message 6 of 35

mhiserZFHXS
Advisor
Advisor

What's wrong with having the tag calculate the value?

0 Likes
Message 7 of 35

barthbradley
Consultant
Consultant

@mhiserZFHXS wrote:

What's wrong with having the tag calculate the value?


 

That's what I was wondering. I guess it ain't "elegant".  Works fine for us though.  "Work fine" is our bar.  Too low?  😉    

0 Likes
Message 8 of 35

skyeg321
Collaborator
Collaborator

@ToanDN It is the same shared parameter in the tag and in the project. (If it wasn't before it is now) Load factor is an area and I know it works in the tag because I can see it reporting the load factor. What I don't understand is why its giving me this crazy number for the calculated occupant load. Its just an area divided by an area. My project units are set to zero decimal places for area. Very much appreciate your help on this.

Crazy Number.PNGCalculated Occupancy.PNG

0 Likes
Message 9 of 35

skyeg321
Collaborator
Collaborator

@barthbradley At this point I'll do whatever works

0 Likes
Message 10 of 35

ToanDN
Consultant
Consultant

@skyeg321 wrote:

@ToanDN It is the same shared parameter in the tag and in the project. (If it wasn't before it is now) Load factor is an area and I know it works in the tag because I can see it reporting the load factor. What I don't understand is why its giving me this crazy number for the calculated occupant load. Its just an area divided by an area. My project units are set to zero decimal places for area. Very much appreciate your help on this.

 


Try Number with roundup for the Occupant Load, not Integer.

0 Likes
Message 11 of 35

lim.wendy
Alumni
Alumni

Hi Skye,


Good day to you! Thank you for submitting your question in our discussion forums. Have you had a chance to look over the suggestions provided by our experts?

Please let me know if you require further assistance.

If the suggestions helped you, please hit the "Accept Solution" button, as it helps make the solution easier to find for others who might have the same issue. Knowing which topics are solved or not can also help our many users find the questions that still need to be answered. It’s also a great way to say thank you and give recognition to whoever helped you. 

 



Wendy Lim

Data Nerd | Community Advocate | AEC Industry


facebook twitter twitter blogs pm


Join the new online Rail Community


Rails Summit




Message 12 of 35

skyeg321
Collaborator
Collaborator
Accepted solution

Thanks for the reminder @lim.wendy. I could never get the formula to work when the shared parameter for occupancy factor was set to area. So I ended up making that an integer and using the following equation for my calculated occupancy both in the schedule and in the tag. 

 

roundup((Area / 1 SF) / Occupancy Factor Integer)

 

Calculated Occupancy.PNG

0 Likes
Message 13 of 35

ToanDN
Consultant
Consultant
Accepted solution

To cap it off:

 

Calculated Occupancy = Number parameter

 

- Option 1: Occupant Load factor =  Area parameter; formula for Calculated Occupancy = roundup (Area / Occupant Load factor)

- Option 2: Occupant Load factor = Integer or Number parameter; formula for Calculated Occupancy = roundup ((Area/1)/Occupant Load factor)

 

0 Likes
Message 14 of 35

karilyn_andersonD5GU3
Community Visitor
Community Visitor

I try to put this formula, and I get an error saying "Improper use of Boolean expressions".

0 Likes
Message 15 of 35

Duke_W
Enthusiast
Enthusiast

I'm reviving this because I am having an issue getting this to work.

 

I have a shared parameter for Occ Load Factor.  It's a Type parameter in Number format.

 

In the tag family, I have a calculated value for Occupants using the formula:  ROUNDUP ((Area / 1 SF) / Occ Load Factor).

 

In the tag family, the formula doesn't seem to have any errors.  But when inserted into the project, the Occupants value returns a "?" in the tag.  Area shows correctly, but the calculated value doesn't.

 

Any idea what I'm doing wrong?  File attached.  Thanks.

0 Likes
Message 16 of 35

ToanDN
Consultant
Consultant

The OCC Load Factor must be a shared parameter, loaded in the tag family and in the project, under Rooms category.

0 Likes
Message 17 of 35

Duke_W
Enthusiast
Enthusiast

Hi, and thanks for the quick response.

 

It is a shared parameter already, which I put under the Life Safety category.

 

Does it specifically have to be under Rooms?

0 Likes
Message 18 of 35

ToanDN
Consultant
Consultant

@Duke_W wrote:

Hi, and thanks for the quick response.

 

It is a shared parameter already, which I put under the Life Safety category.

 

Does it specifically have to be under Rooms?


There is no such thing as Life Safety category in Revit project.  Can you share the screenshot of the parameter in the project, similar to below?

 

ToanDN_0-1715716423330.png

 

0 Likes
Message 19 of 35

Duke_W
Enthusiast
Enthusiast

Here is the shared parameter:

Duke_W_0-1715717329890.png

 

Here is the parameter in the tag family:

Duke_W_1-1715717480312.png

And the formula:

Duke_W_2-1715717529073.png

 

0 Likes
Message 20 of 35

ToanDN
Consultant
Consultant

@Duke_W 

Please read my question carefully.  I am asking for the screenshot of the parameter in the project, not the family.  I even shared my screenshot so that you would know what I was asking.

0 Likes