View Full Version : Plumbing Schedule - Formulas
dlancor
2007-04-10, 08:33 PM
I've hit a wall trying to create a schedule that automatically determines your minimum plumbing fixture counts based on the IBC. I've searched the forum and can't find this particular answer but know many of you must have gotten this far.
Here it is:
Plumbing code defines # of required fixtures per use group. For example, Use Group A-1 requires 1 Male Watercloset per 125 occupants.
So, first I created a key schedule that defines the associated rules for each use group (see attached).
Then I assigned a key (use group) to each area on my area plan.
Then I created a schedule that totals the number of occupants for each use group type and divides that by the associated # from the key schedule. (see attached).
But, when I get to Use Group B, I hit a wall I can't figure a workaround for.
The requirements for that group are not simply 1 in 125, but "1 per 25 for first 50 occupants and 1 per 50 for remaining occupants exceeding 50". Ugh.
If there is no workaround, we'll simply export a schedule to excel that tallied the # of occupants per use group - that in itself is a big help.
Thank you,
David
PBC+L Architecture
Asheville
twiceroadsfool
2007-04-10, 08:45 PM
But, when I get to Use Group B, I hit a wall I can't figure a workaround for.
The requirements for that group are not simply 1 in 125, but "1 per 25 for first 50 occupants and 1 per 50 for remaining occupants exceeding 50". Ugh.
Thank you,
David
PBC+L Architecture
Asheville
Hello David-
Its definetely doable in the Revit schedule, with an If statement.
if(OCC < 50), NUMBER/25, (((NUMBER-50)/50)+2)
Youre basically saying: If the occupancy is less than 50, use the formula "Number / 25", and if the Occupancy is greater than 50 (in this syntax im saying "not less than 50"), use the combination "first 50 people / 25 (i just used the integer 2), + the remaining / 50.
Does that work for what you need? Youll have to substitute your parameter names in...
dlancor
2007-04-10, 09:08 PM
Aaron,
Yes, that does make sense - Thank you. The problem is that I don't know where to put that formula.
The Key Schedule will not accept that as a value, as opposed to say 150, because formulas in a key schedule cannot contain parameters.
In excel, you could place that formula precisely in the 'Use Group B" and "Required Male Waterclosets" cell, but with schedules you need one rule that applies to all rows....
Is that right?
Thank you,
David
twiceroadsfool
2007-04-10, 09:17 PM
Im not quite understanding your schedules and what youre trying to achieve, but i *think* how i would do it is use the key schedule to determine values for parameters... Lets call they VARIABLES. Then the VARIABLES, depenind on the key schedule, would get input in to the formula i wrote, which would be in the actual schedule itself. For instance:
if(OCC < 50), NUMBER/VARIABLE1, (((NUMBER-50)/VARIABLE2)+2)
I would have the variable numbers (what youre dividing the total number of people by) to be affected by the key schedule, and have this actual formula in the schedule the key is being used for. The SCHEDULE KEY would be driving VARIABLE 1 and VARIABLE 2, the number of occupants per WC or lav.
Making sense?
dlancor
2007-04-11, 01:37 PM
Aaron,
Yes, what you describe is what I've done. The Key schedule determines VARIABLE1, which is associated with a certain use group (KEY) assigned to each area.
Got that. The way the schedule is set up at the moment is that it then returns "Required Male Waterclosets" as OCC/VARIABLE1. This works when the code simply requires 1 per 125. In these cases VARIABLE2 is not needed.
When the code requires what you and I have been discussing, I would need to create VARIABLE2 and I would need to enter
if(OCC<50), OCC/VARIABLE1, (((OCC-50)/VARIABLE2) +2)
The problem you see is that I can't enter both forumlas in the same spot on the schedule! The second formula will not work in the simple 1 in 125 situation.
Unless perhaps I set up an embedded if statement that looked something like this...
if(VARIABLE2>0), (if(OCC<50), OCC/VARIABLE1, (((OCC-50)/VARIABLE2) +2)), OCC?VARIABLE1)
Would this work? I'll go try it.
David
dlancor
2007-04-11, 02:08 PM
Aaron,
Thank you!
I had to fix the syntax a little bit, but the formula worked. The introduction of Variable 2 was key - thank you.
David
twiceroadsfool
2007-04-11, 02:37 PM
David-
I think i may be misunderstanding how you needed it to compute. What i was trying to write (albeit, i was ni a hurry), was an if statement that would use OCC/VARIABLE1 if the OCC value was less than 50.
Because of the if statement, you would never enter "OCC/VARIABLE1" in the Required Male Waterclosets. The If statement will return that value if the OCC is less than 50.
But even though im missing the boat on what you were trying to do, it sounds like you got it already. :)
I love formulas in Revit. With this forums help, i have it doing most of our Egress calcs, and warning uss if calcs are not accurately represented on our plans.
IMHO, this type of data leveraging is hugely necessary. An egress plan at 1/32" = 1'-0" makes it difficult to notice that a demise wall has shifted 4", or 8"... But that DOES affect the Egress calcs. Being able to do them automatically with the model data is very significant in situations like that...
saeborne
2008-12-02, 07:30 PM
Hi All,
At the risk of raising an old thread from the dead... I too am encountering an issue with revit calculating required plumbing fixtures from room generated occupant loads.
Here's the issue:
My floor has several rooms, and Area / 100 sf per person = 205 persons.
If I run IPC plumbing counts manually, that should result in 6 toilets total, or 3 per gender.
I created a calculated value parameter, that runs this equation:
if(TOTAL OCCUPANT LOAD< 50,(TOTAL OCCUPANT LOAD/25),(((TOTAL OCCUPANT LOAD-50)/50)+2))
This formula works great if I have one big room, with 205 persons. BUT... I have several small rooms. And Revit seems to run this equation for each room individually. Consequently, the schedule tells me that I have way more fixtures, than are actually necessary.
The problem is that this equation does not scale on a per room basis. If it was a straight multiplication equation, such as (1 per 125 people) then it would scale on a per room basis.
I'm afraid I know the answer... But can I have Revit apply this equation to the grand total number, not the individual room values?
twiceroadsfool
2008-12-02, 11:56 PM
Use the formula on an Area plan that treats the entire floor planas one large area...
saeborne
2008-12-03, 06:08 PM
Use the formula on an Area plan that treats the entire floor planas one large area...
Thanks Arron. Yes that will work... Until I have more than one, detached area on the same floor plan. Still no way to access the totals for formulae, eh?
BC
josh.made4worship
2011-12-02, 07:20 PM
I am seeing the same problem. The forumla works, but doesn't calculate correctly when working off a bunch of small rooms, since technically the calc is based on the total load for the occupancy B, and not each individual room.
well, that sucks...any other ideas?
cberteaux371801
2014-03-26, 11:43 PM
Is there any resolve or solution to this???
Does anyone have a schedule they could share???
cberteaux371801
2014-03-28, 06:17 PM
OK fellow Reviteers,
So here is the end result I came up with, it uses the 2012 IBC for reference. Please note that these formulas for the most part can be used in schedules as well. We chose a family because it more closely resembles our office standards. Have fun with it, If you use it, make it your own....
Thanks Everyone for the Help!!!!
BIM the World
bpolaski727680
2016-09-19, 06:29 PM
How can I add parameters for Unit Numbers and Provided Fixtures? I created the parameter and then linked it into your family but I gat an error "Failed to apply family parameters." I know it has to do with the generic annotation parameter that switches out the nested families, but I don't understand why I can't get it to work. I want to be able to have all of the info in one box since I am entering it manually any way.
aishwaryagnaneshwar
2023-03-07, 03:52 PM
Hi. I am working on a project that has A-2 assembly and B and I want them in the same schedule using an area plan. I am using the formula for B group that is also being used for A-2 which is not right. I have attached a screenshot for you to guide me on how to go about it.
FYI: Not all calculations are right. I am trying to figure out how it would work for one first.
109490
109491
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.