Sprinkler

Sprinkler

saber.elkassas
Contributor Contributor
2,796 Views
29 Replies
Message 1 of 30

Sprinkler

saber.elkassas
Contributor
Contributor

Hi everyone,

 

I want to set a constant values for X and Y spacing

If Light Hazard: X spacing = 4000 mm Y spacing = 4000 mm

If Ordinary Hazard: X spacing = 4000 mm Y spacing = 3000 mm

If Extra Hazard: X spacing = 3000 mm Y spacing = 3000 mm

 

Can anybody support with that?

 

@Kent1Cooper 

0 Likes
2,797 Views
29 Replies
Replies (29)
Message 2 of 30

_Tharwat
Advisor
Advisor

Have you come across my Fire Fighting Programs?

Here you go: https://autolispprograms.wordpress.com/fire-fighting/ 

0 Likes
Message 3 of 30

Kent1Cooper
Consultant
Consultant

Explain further.  The spacings in the drawing are not any of your "constant" values.  Do you mean to set maximum values at those you list, rather than those built into that code?

Kent Cooper, AIA
Message 4 of 30

saber.elkassas
Contributor
Contributor

Hi Kent,

I just want to make the values between the sprinkler is constant either 3 or 4 m .. for example if the user selected ordinary, then the lisp with distribute the sprinkler at every 4 m over x and 3 m over y .. and maintain a maximum spacing 2.3 m to the wall for light and ordinary and 1.85 m for extra hazard.

0 Likes
Message 5 of 30

saber.elkassas
Contributor
Contributor
Thanks Tharwat
Unfortunately, I can use only Lisp or VLX file due to my PC security .. If you have the same on these formats I would appreciate it.
0 Likes
Message 6 of 30

_Tharwat
Advisor
Advisor

Yeah certainly I do have the programs in .lsp and .vlx formats because I am the developer, so if you would like to try the Trial version then please let me know which ones you are after to email you the files in private message.

0 Likes
Message 7 of 30

saber.elkassas
Contributor
Contributor
Yes, please .. email it to: saber.elkassas@gmail.com
0 Likes
Message 8 of 30

_Tharwat
Advisor
Advisor

I have emailed you the files so please check your email inbox but if not found , then you may need to check spam folder.

0 Likes
Message 9 of 30

Kent1Cooper
Consultant
Consultant

@saber.elkassas wrote:

....
I just want to make the values between the sprinkler is constant either 3 or 4 m .. for example if the user selected ordinary, then the lisp with distribute the sprinkler at every 4 m over x and 3 m over y .. and maintain a maximum spacing 2.3 m to the wall for light and ordinary and 1.85 m for extra hazard.


So, not what the sample drawing showed after all, and now with an added element.  Next question:  Where it's not the same spacing in both directions, do you always want the 4m in the X direction and the 3m in the Y direction, regardless of the proportions of the space?  Or should the 4m spacing be in the direction of the longer dimension of the space [whether that's X or Y], which I expect would usually be a better outcome?  Or maybe some calculation could figure in which orientation the spacing to the walls would be closer to equal in both directions.

Kent Cooper, AIA
0 Likes
Message 10 of 30

saber.elkassas
Contributor
Contributor

"should the 4m spacing be in the direction of the longer dimension of the space [whether that's X or Y]" This is the right choice.

0 Likes
Message 11 of 30

Sea-Haven
Mentor
Mentor

A couple of maybe's the room is rotated not Hor & Ver, the room is not a rectang ? Should an answer take these into account ? 

0 Likes
Message 12 of 30

saber.elkassas
Contributor
Contributor
Maybe's the room is rotated not Hor & Ver?
Yes, this needs to be taken into account

The room is not a rectangle ?
Yes, this also needs to be considered

I think you know this lisp before:)
0 Likes
Message 13 of 30

saber.elkassas
Contributor
Contributor
To summarize the required modifications:
1- round down the x and y spacing to nearest 0.25 m (ignore the constant spacing modification).
2- When the spacing between the wall and the sprinkler is 2.3 m for light and ordinary or 1.85 m for extra, this should be accepted and no need to add more columns or rows.
3- Sometimes the rooms are rotated nor horizontal or vertical which needs to be considered.
4- sometimes the room is not rectangular which needs to be considered also.

0 Likes
Message 14 of 30

Kent1Cooper
Consultant
Consultant

Aside from the problem of being a moving target, your new set of criteria make it pretty much impossible to make a generic routine.  Suppose a room is shaped like this:

Kent1Cooper_0-1661859845769.png

What should the orientation of the sprinkler head rows/columns?  If not at equal spacing in both directions, which direction should have the longer spacing?  The spacing that divides at one dimension to work well with distances from the walls on one side [assuming that being parallel to some edge is desirable] will be wrong for the other side.  Etc., etc.  How could a routine be instructed to determine such things?

 

And the original routine uses ARRAY to make columns and rows of heads.  Even with an unambiguous room shape, that would not be able to do, for example, this:

Kent1Cooper_1-1661860030636.png

I suspect you can do a whole lot of layouts manually in far less time than it would take someone to come up with something to handle all possibilities that your criteria would allow.  I suggest an Array at the appropriate [maximum] spacings for the hazard level, covering a larger area than the room, which you can slide around and tweak the column and row spacings in, giving it multiple-of-0.25m values, until it "lands" at an arrangement in which those inside the room fall in what seem the best places.  Then Explode the Array object and delete the heads outside the room.

Kent Cooper, AIA
0 Likes
Message 15 of 30

saber.elkassas
Contributor
Contributor
Hi Kent,

I agree with you for the irregular room shape .. this type of rooms are not usually found .. so we can ignore it and it can be done manually one by one.

I think the other three criteria are possible since it can be general criteria .. Please let me know if something is not clear in this regard.

Thanks for your always support since starting this routine
0 Likes
Message 16 of 30

Kent1Cooper
Consultant
Consultant

Another question:  What should the spacings be for the Combustible/Non-combustible choices within the Light hazard level?  Or do you want only one Light setting, without that choice under it?

Kent Cooper, AIA
0 Likes
Message 17 of 30

saber.elkassas
Contributor
Contributor
Hi Kent,

The same existing values and options are ok and still valid.

Many thanks
0 Likes
Message 18 of 30

Kent1Cooper
Consultant
Consultant

@saber.elkassas wrote:
.... The same existing values and options are ok and still valid. ....

That doesn't quite answer my question, though it seems to confirm that you still want the Combustible/Non-Combustible choice within the Light-hazard category.  The values in the earlier code are for spacing [always the same in both directions] and maximum area that a head may cover.  Your settings as described are for spacing [in some cases different in the two directions] and maximum distance from walls around the perimeter.  What should those be for Light-Combustible vs. Light-Non-combustible?  I assume one of them should use the values you described originally for [just plain] Light, but which one, and what should they be for the other one?

Kent Cooper, AIA
0 Likes
Message 19 of 30

saber.elkassas
Contributor
Contributor

I think you concern is related to the 2.3 m requirement .. so, I will explain the issue with one example:
If I have room with with length (or width) of 9.2 m with light hazard .. then it can be cover by two heads spaced by 4.6 m and the spacing between the wall and the head is 2.3 m .. which us acceptable. But by using the current routine, it consider this is not acceptable and increase one more head .. so, the issue only appears if the room length or width is one of 4.6 m multiples and same for the extra hazard with 3.7 m multiples.

0 Likes
Message 20 of 30

Kent1Cooper
Consultant
Consultant

@saber.elkassas wrote:

I think you concern is related to the 2.3 m requirement .. .... room with with length (or width) of 9.2 m with light hazard .. then it can be cover by two heads spaced by 4.6 m .... which us acceptable. ....


No, my latest concern was about the difference between Combustible and Non-combustible within the "Light" hazard category.

 

But now you also have a contradiction:  4.6m as a head spacing would not be acceptable under item 1 in Message 13.

Kent Cooper, AIA
0 Likes