Difference between revisions of "Active Vent"
From Unofficial Stationeers Wiki
m (Several readability improvements) |
|||
Line 4: | Line 4: | ||
[[Category:Atmospherics]] | [[Category:Atmospherics]] | ||
{{Itembox | {{Itembox | ||
− | | name = Active Vent | + | | name = Kit (Active Vent) |
| image = [[File:ItemActiveVent.png]] | | image = [[File:ItemActiveVent.png]] | ||
− | | createdwith = [[Hydraulic Pipe Bender | + | | createdwith = [[Hydraulic Pipe Bender]] |
− | | cost = | + | | cost = {{Icon|Iron|5}} {{Icon|Copper|5}} {{Icon|Gold|1}} |
− | | stacks = 5 | + | | stacks = {{Icon|Active Vent|5}} |
+ | | paintable = Yes | ||
+ | | hashid = -842048328 | ||
}} | }} | ||
{{Structurebox | {{Structurebox | ||
| name = Active Vent | | name = Active Vent | ||
− | | power_usage = 100W | + | | power_usage = {{Icon|Energy|100}} (100W) |
| image = [[File:StructureActiveVent.png]] | | image = [[File:StructureActiveVent.png]] | ||
+ | | paintable = Yes | ||
| placed_with_item = [[Kit (Active Vent)]] | | placed_with_item = [[Kit (Active Vent)]] | ||
| placed_on_grid = Small Grid | | placed_on_grid = Small Grid | ||
Line 21: | Line 24: | ||
== Description == <!--T:2--> | == Description == <!--T:2--> | ||
− | |||
− | |||
− | |||
− | "PressureExternal" and "PressureInternal" values | + | The Active Vent moves gas between the connected [[Pipe Network]] and the surrounding atmosphere. |
+ | It requires electric power to work (100 Watt). | ||
+ | Its functionality depends on the selected mode: | ||
+ | |||
+ | * In "Outward mode" (switch in blue), it increases the external pressure by moving gas from the pipe network to the surrounding atmosphere, up to "PressureExternal", by default(*) equal to 101 kPa | ||
+ | * In "Inward mode" (switch in red), it decreases the external pressure by moving gas from the surrounding atmosphere to the pipe network, down to "PressureExternal", by default(*) equal to 0 kPa | ||
+ | |||
+ | The "PressureExternal" | ||
+ | |||
+ | "PressureExternal" and "PressureInternal" values can be modified using [[Kit (Logic I/O)|logic chips]] or programmatically via IC10 scripts. | ||
+ | |||
+ | '''Note''': These values reset to default values on mode change. Values can be set through logic chips, if the value is modified after a mode change. | ||
+ | |||
+ | '''Note''': Switching logic chips off then on will not modify values on the active vent, the values supplied to the chips must be altered for the values to be written. | ||
(*) This is the reason why airlocks need an internal pressure of at least 100 kPa to work correctly. This behavior can also be inconvenient on worlds like Loulan whose atmosphere is well above 101kPa. Manually-operated "airlocks" for greenhouses can not pump back up to Loulan atmosphere during the exit cycle. If the pressure is already >101kPa the vent will have no effect, and if it is <101kPa the vent will stop when it reaches 101kPa. | (*) This is the reason why airlocks need an internal pressure of at least 100 kPa to work correctly. This behavior can also be inconvenient on worlds like Loulan whose atmosphere is well above 101kPa. Manually-operated "airlocks" for greenhouses can not pump back up to Loulan atmosphere during the exit cycle. If the pressure is already >101kPa the vent will have no effect, and if it is <101kPa the vent will stop when it reaches 101kPa. | ||
To calculate the moles per tick, use the following equation: | To calculate the moles per tick, use the following equation: | ||
+ | |||
n = (P * V) / (R * T) | n = (P * V) / (R * T) | ||
− | |||
− | |||
− | |||
Where (Inward vent): | Where (Inward vent): | ||
* P = Min(Room pressure, 10.1325 kPa) | * P = Min(Room pressure, 10.1325 kPa) | ||
− | * V = 8000 | + | * V = 8000 l |
* n = Moles per tick | * n = Moles per tick | ||
* R = Gas constant (8.3144) | * R = Gas constant (8.3144) | ||
Line 44: | Line 55: | ||
Where (Outward vent): | Where (Outward vent): | ||
* P = Min(Pipe pressure, 10.1325 kPa) | * P = Min(Pipe pressure, 10.1325 kPa) | ||
− | * V = Pipe volume in | + | * V = Pipe volume in l |
* n = Moles per tick | * n = Moles per tick | ||
* R = Gas constant (8.3144) | * R = Gas constant (8.3144) | ||
* T = Pipe temperature | * T = Pipe temperature | ||
+ | |||
+ | (These do not take into account the constraints imposed by "PressureExternal" and "PressureInternal") | ||
+ | |||
+ | '''Note''': In order to get the proper units out of this calculation you need to use either kilopascal (kPa) and litre (l), or Pascal (Pa) and cubic meters (m<sup>3</sup>). | ||
'''Note''': The insert slot currently takes any item and seems to have no effect. | '''Note''': The insert slot currently takes any item and seems to have no effect. | ||
{{Data Network Header}} | {{Data Network Header}} | ||
− | |||
=== Mode Values === | === Mode Values === | ||
These lists the values and meanings for the "Mode" property of the Active Vent. | These lists the values and meanings for the "Mode" property of the Active Vent. | ||
{| class="wikitable" | {| class="wikitable" | ||
− | |- | + | |- |
− | ! Value !! Meaning | + | ! Value !! Meaning |
− | |- | + | |- |
− | | 0 || "Outward" mode ( | + | | 0 || "Outward" mode (Moves gas from the connected pipe network to the surrounding atmosphere.) |
− | |- | + | |- |
− | | 1 || "Inward" mode ( | + | | 1 || "Inward" mode (Moves gas from the surrounding atmosphere to the connected pipe network.) |
− | + | |} | |
− | |||
− | |} | ||
{{Data Parameters}} | {{Data Parameters}} | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! Parameter Name !! Data Type !! Description | + | ! Parameter Name !! Data Type !! Description |
|- | |- | ||
− | | Open || Boolean || Does not function. | + | | Open || Boolean || Does not function. |
|- | |- | ||
− | | Mode || Integer || | + | | Mode || Integer || Set the Active Vent mode. (See [[#Mode_Values|Mode Values]]) |
|- | |- | ||
− | | PressureExternal || Float || | + | | PressureExternal || Float || "Outward" mode: Maximum pressure of the surrounding atmosphere. The default value is 101.325 (kPa).<br>"Inward" mode: Minimum pressure of the surrounding atmosphere. The default value is 0 (kPa). |
|- | |- | ||
− | | PressureInternal || Float || | + | | PressureInternal || Float || "Outward" mode: Minimum pipe network pressure. The default value is 0 (kPa).<br>"Inward" mode: Maximum pipe network pressure. The default value is 50662.5 (kPa). |
|- | |- | ||
− | | Lock || Boolean || | + | | Lock || Boolean || Lock the Active Vent when set to 1. Manual operation is not possible while locked. |
|- | |- | ||
− | | Setting || Float || Does not function. | + | | Setting || Float || Does not function. |
|- | |- | ||
− | | On || Boolean || | + | | On || Boolean || Turn on the Active Vent when set to 1. |
|} | |} | ||
+ | |||
+ | '''Note''': The value of "PressureExternal" and "PressureInternal" will be reset to the default when changing modes. | ||
+ | '''Note''': If turned on, the vent will still consume energy when the target pressure is reached. | ||
{{Data Outputs}} | {{Data Outputs}} | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! Output Name !! Data Type !! Description | + | ! Output Name !! Data Type !! Description |
|- | |- | ||
− | | Power || Boolean || Returns whether the Active Vent is receiving power and is turned on. (0 for no, 1 for yes) | + | | Power || Boolean || Returns whether the Active Vent is receiving power and is turned on. (0 for no, 1 for yes) |
|- | |- | ||
− | | Open || Boolean || Returns whether the Active Vent is open. (0 for no, 1 for yes) (Untested) | + | | Open || Boolean || Returns whether the Active Vent is open. (0 for no, 1 for yes) (Untested) |
|- | |- | ||
− | | Mode || Integer || Returns | + | | Mode || Integer || Returns the current mode of the Active Vent. (See [[#Mode_Values|Mode Values]]) |
|- | |- | ||
− | | Error || Boolean || Returns whether the Active Vent is currently flashing an error. (0 for no, 1 for yes) | + | | Error || Boolean || Returns whether the Active Vent is currently flashing an error. (0 for no, 1 for yes) |
|- | |- | ||
− | | PressureExternal || Float || Returns the desired external pressure of the Active Vent. | + | | PressureExternal || Float || Returns the desired external pressure of the Active Vent. |
|- | |- | ||
− | | PressureInternal || Float || Returns the desired internal pressure of the Active vent. (Untested) | + | | PressureInternal || Float || Returns the desired internal pressure of the Active vent. (Untested) |
|- | |- | ||
− | | Lock || Boolean || Returns whether the Active Vent is locked. (0 for no, 1 for yes) | + | | Lock || Boolean || Returns whether the Active Vent is locked. (0 for no, 1 for yes) |
|- | |- | ||
− | | Setting || Float || Returns a range from 0.0 to 100.0. (Assumption) Returns the percentage amount of pumping throughput of the Active Vent. | + | | Setting || Float || Returns a range from 0.0 to 100.0. (Assumption) Returns the percentage amount of pumping throughput of the Active Vent. |
|- | |- | ||
− | | Maximum || Integer || Returns 100. (Assumption) Returns the maximum throughput percentage of the Active Vent. | + | | Maximum || Integer || Returns 100. (Assumption) Returns the maximum throughput percentage of the Active Vent. |
|- | |- | ||
− | | Ratio || Float || Returns a range from 0.0 to 1.0. (Assumption) Returns the percentage amount of pumping throughput of the Active Vent. | + | | Ratio || Float || Returns a range from 0.0 to 1.0. (Assumption) Returns the percentage amount of pumping throughput of the Active Vent. |
|- | |- | ||
− | | On || Boolean || Returns whether the Active Vent is set to on. (0 for no, 1 for yes) | + | | On || Boolean || Returns whether the Active Vent is set to on. (0 for no, 1 for yes) |
|- | |- | ||
− | | RequiredPower || Integer || Returns the current amount of power needed for the Active Vent. | + | | RequiredPower || Integer || Returns the current amount of power needed for the Active Vent. |
|} | |} | ||
</translate> | </translate> |
Revision as of 06:26, 5 August 2023
Properties | |
---|---|
Stacks | |
Paintable | Yes |
Recipe | |
Created With | Hydraulic Pipe Bender |
Cost |
|
Logic | |
Item Hash | -842048328 |
Paintable | Yes |
---|---|
Operation | |
Power Usage | (100W) |
Construction | |
Placed with | Kit (Active Vent) |
Placed on | Small Grid |
Stage 1 | |
Deconstruction | |
Deconstructed with | Hand Drill |
Item received | Kit (Active Vent) |
Contents
Description
The Active Vent moves gas between the connected Pipe Network and the surrounding atmosphere. It requires electric power to work (100 Watt). Its functionality depends on the selected mode:
- In "Outward mode" (switch in blue), it increases the external pressure by moving gas from the pipe network to the surrounding atmosphere, up to "PressureExternal", by default(*) equal to 101 kPa
- In "Inward mode" (switch in red), it decreases the external pressure by moving gas from the surrounding atmosphere to the pipe network, down to "PressureExternal", by default(*) equal to 0 kPa
The "PressureExternal"
"PressureExternal" and "PressureInternal" values can be modified using logic chips or programmatically via IC10 scripts.
Note: These values reset to default values on mode change. Values can be set through logic chips, if the value is modified after a mode change.
Note: Switching logic chips off then on will not modify values on the active vent, the values supplied to the chips must be altered for the values to be written.
(*) This is the reason why airlocks need an internal pressure of at least 100 kPa to work correctly. This behavior can also be inconvenient on worlds like Loulan whose atmosphere is well above 101kPa. Manually-operated "airlocks" for greenhouses can not pump back up to Loulan atmosphere during the exit cycle. If the pressure is already >101kPa the vent will have no effect, and if it is <101kPa the vent will stop when it reaches 101kPa.
To calculate the moles per tick, use the following equation:
n = (P * V) / (R * T)
Where (Inward vent):
- P = Min(Room pressure, 10.1325 kPa)
- V = 8000 l
- n = Moles per tick
- R = Gas constant (8.3144)
- T = Room temperature
Where (Outward vent):
- P = Min(Pipe pressure, 10.1325 kPa)
- V = Pipe volume in l
- n = Moles per tick
- R = Gas constant (8.3144)
- T = Pipe temperature
(These do not take into account the constraints imposed by "PressureExternal" and "PressureInternal")
Note: In order to get the proper units out of this calculation you need to use either kilopascal (kPa) and litre (l), or Pascal (Pa) and cubic meters (m3).
Note: The insert slot currently takes any item and seems to have no effect.
Data Network Properties
These are all Data Network properties of this device.
Mode Values
These lists the values and meanings for the "Mode" property of the Active Vent.
Value | Meaning |
---|---|
0 | "Outward" mode (Moves gas from the connected pipe network to the surrounding atmosphere.) |
1 | "Inward" mode (Moves gas from the surrounding atmosphere to the connected pipe network.) |
Data Parameters
These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).
Parameter Name | Data Type | Description |
---|---|---|
Open | Boolean | Does not function. |
Mode | Integer | Set the Active Vent mode. (See Mode Values) |
PressureExternal | Float | "Outward" mode: Maximum pressure of the surrounding atmosphere. The default value is 101.325 (kPa). "Inward" mode: Minimum pressure of the surrounding atmosphere. The default value is 0 (kPa). |
PressureInternal | Float | "Outward" mode: Minimum pipe network pressure. The default value is 0 (kPa). "Inward" mode: Maximum pipe network pressure. The default value is 50662.5 (kPa). |
Lock | Boolean | Lock the Active Vent when set to 1. Manual operation is not possible while locked. |
Setting | Float | Does not function. |
On | Boolean | Turn on the Active Vent when set to 1. |
Note: The value of "PressureExternal" and "PressureInternal" will be reset to the default when changing modes. Note: If turned on, the vent will still consume energy when the target pressure is reached.
Data Outputs
These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
Output Name | Data Type | Description |
---|---|---|
Power | Boolean | Returns whether the Active Vent is receiving power and is turned on. (0 for no, 1 for yes) |
Open | Boolean | Returns whether the Active Vent is open. (0 for no, 1 for yes) (Untested) |
Mode | Integer | Returns the current mode of the Active Vent. (See Mode Values) |
Error | Boolean | Returns whether the Active Vent is currently flashing an error. (0 for no, 1 for yes) |
PressureExternal | Float | Returns the desired external pressure of the Active Vent. |
PressureInternal | Float | Returns the desired internal pressure of the Active vent. (Untested) |
Lock | Boolean | Returns whether the Active Vent is locked. (0 for no, 1 for yes) |
Setting | Float | Returns a range from 0.0 to 100.0. (Assumption) Returns the percentage amount of pumping throughput of the Active Vent. |
Maximum | Integer | Returns 100. (Assumption) Returns the maximum throughput percentage of the Active Vent. |
Ratio | Float | Returns a range from 0.0 to 1.0. (Assumption) Returns the percentage amount of pumping throughput of the Active Vent. |
On | Boolean | Returns whether the Active Vent is set to on. (0 for no, 1 for yes) |
RequiredPower | Integer | Returns the current amount of power needed for the Active Vent. |