How passive gate works?

How, what and why to code in BYOND.

Moderators: MisterPerson, Code Maintainers

OFQ
 
Joined: Wed Aug 07, 2019 11:16 pm
Byond Username: OFQ

How passive gate works?

Postby OFQ » Fri Nov 22, 2019 10:19 pm #525187

Sometimes I do SM setup with 1 passive gate under SM crystal + 8 scrubbers and instead of filtering in useful gasses I filter out useless. Filters have bypass pipe so the entire cooling ring is one big pipe. The question is, how exactly calculation done? I assume that it is tick based and all devices calculated each tick. So when all of my 8 scrubbers push gas inside the system all my filters work with the entirety of the pushed air but:

1. At what point it gets leaked back via passive gate? After the filters computed or before?
2. Wiki says that it is caped at 4500 kPa transfer rate but given how good it is at spreading fusion flood it looks like there is no cap, am I wrong?
3. I assume passive gate will start to work like a scrubber if room pressure is higher than the pressure of the pipe that passive gate connected to?



User avatar
Cobby
Code Maintainer
 
Joined: Sat Apr 19, 2014 7:19 pm
Byond Username: ExcessiveUseOfCobby
Github Username: ExcessiveUseOfCobblestone

Re: How passive gate works?

Postby Cobby » Fri Nov 22, 2019 10:38 pm #525194

you lost me at "passive gate works"
Voted best trap in /tg/ 2014-current

OFQ
 
Joined: Wed Aug 07, 2019 11:16 pm
Byond Username: OFQ

Re: How passive gate works?

Postby OFQ » Fri Nov 22, 2019 10:53 pm #525199

Actually I also have an image (thingy below SM crystal is a passive gate) Image

User avatar
skoglol
Code Maintainer
 
Joined: Wed Jun 13, 2018 5:25 am
Byond Username: Skoglol
Github Username: kriskog

Re: How passive gate works?

Postby skoglol » Fri Nov 22, 2019 11:52 pm #525218

Its a passive vent, not gate. That may have caused some wiki confusion.

1: depends where it is in the processing queue. There is no consistent answer to this, but you can try hooking it up last to put it at the bottom.
2: It has no pressure limit, it equalizes the pressure outside and inside the pipeline. Even pumps/vents with pressure limits only check the pressure before moving gas, which means that they will always get at least one tick of gas out before the limit applies.
3: If you can make the internal pressure lower than external, the passive vent will effectively suck in gas. Combined with a volume pump or ten, it makes for an effective high pressure gas purger, but is a bit lacking at lower pressures.

OFQ
 
Joined: Wed Aug 07, 2019 11:16 pm
Byond Username: OFQ

Re: How passive gate works?

Postby OFQ » Sat Nov 23, 2019 5:49 am #525242

skoglol wrote:Its a passive vent, not gate. That may have caused some wiki confusion.

1: depends where it is in the processing queue. There is no consistent answer to this, but you can try hooking it up last to put it at the bottom.
2: It has no pressure limit, it equalizes the pressure outside and inside the pipeline. Even pumps/vents with pressure limits only check the pressure before moving gas, which means that they will always get at least one tick of gas out before the limit applies.
3: If you can make the internal pressure lower than external, the passive vent will effectively suck in gas. Combined with a volume pump or ten, it makes for an effective high pressure gas purger, but is a bit lacking at lower pressures.


Big thanks.


Return to Coding

Who is online

Users browsing this forum: No registered users