Design
WebsiteGitHubGitBook
  • ✍️Design Intro
    • Gameplay Summary
    • Art Style
  • 🕹️Basic Game Mechanics
    • 🖥️User Interface
      • Server Hub
      • Server Lobby
        • Edit Character
      • Game
        • Player HUD
        • In-game Settings
        • Inventory
        • Radial Menu
        • Misc. UI Elements
        • Windows
    • 🎮Controls
    • 🔦Field of Vision
    • 🔍Examine
    • 🖐️Interactions
      • Move
      • Activate
      • Access
    • ⏳Rounds
  • 🛰️Environment
    • 🗺️Tilemaps
      • Stations
      • Planets
      • Tile Objects
        • Airlocks
    • ☁️Atmospherics
      • Gas Substances
    • 🧩Connectables
      • Basic Adjacency Connections
      • Advanced Adjacency Connections
      • Window Divider Adjacency Connections
      • Counter Adjacency Connections
      • Directional Adjacency Connections
      • Disposal Adjacency Connections
        • Disposal Furniture Connections
      • Pipe Adjacency Connections
        • Pipe Furniture Connections
      • Transit Tube Adjacency Connections
      • Wire Adjacency Connections
      • Airlock Adjacency Connections
    • 🏗️Construction
      • Construction Recipes
        • Walls / Windows
        • Doors
      • Menu and User Case
      • Propositions and Suggestions
    • 🔓Crew Access
    • ⚡Electricity
      • Power Grid
    • 📞Communication Systems
  • 👫Entities
    • 🎥Roles
      • 📋Crew
        • Nanotrasen
        • Command
        • Security
        • Engineering
        • Medical
        • Science
        • Supply
        • Civilian
        • Silicons
      • Antagonists
        • Primary Antags
        • Secondary Antags
      • Ghosts
    • 🧙‍♂️Characters
      • Player Characters
      • NPCs
    • 🌡️Health
      • Stamina
      • Damage
      • Body Systems
        • Organs
          • Lungs
          • Heart
        • Blood
        • Oxygen
        • Pain
        • Death
        • Body parts volume
      • Healing
        • Surgery
    • ⚔️Combat
      • Combat Mode
        • Help
        • Harm
        • Grab
        • Hold
        • Push
        • Toss and Throw
        • Items
          • Melee
          • Ranged
      • Melee combat
  • 🔦Items
    • 📌Hold Positions
    • 🍕Food
    • 🧰Containers
  • 🎬Actions
    • 🛠️Crafting
      • Makeshift, simple Crafting
      • Advanced Crafting
      • Specialized Crafting
    • ⚗️Chemistry
Powered by GitBook
On this page
  • Terminology & Physics
  • Power System

Was this helpful?

Edit on GitHub
Export as PDF
  1. Environment

Electricity

PreviousCrew AccessNextPower Grid

Last updated 1 year ago

Was this helpful?

The power system is the system that connects and grants functionality through electricity to all aspect of the station.

It’s primary purpose is to be a link between objects which produce power and objects which consume power. It is additionally be responsible for the events related to power, such as when a component's power is lost or when it is reconnected. At any time a power consuming or producing object will be able to easily access the electrical information such as available watt’s (or joules per second).

Terminology & Physics

The power system will be described electrically with two components, Watts and Joules. The relationship between them is:

Watts=Joules/TimeWatts = Joules/TimeWatts=Joules/Time

In other words, 60W = 60J/s. Watts and joules are different physically speaking, a joule is a measure of energy (or work) used when doing something, and a watt is a measure of how many joules you are using over time (Joules / s). If your microwave says it uses 900 watts then it is consuming 900 joules per second to heat up your microwave dinner. Therefore we can describe electrical relationships really simply and effectively, for example a 60 watt light bulb operated for an hour will use 60J * 3600s = 360kJof energy.

The power system will consist of any amount of circuits which allow the connection of producers and consumers, the circuit will be made up of continuous wires and likely Area Power Controllers (APC’s), an APC is a special object which connects to a wire on one side and allows for the wireless connection of energy consuming components to the electrical circuit.

The electrical wires will be able to be damaged, repaired, cut, and reconnected. If a wire is damaged too much it will become cut, a player or script can also cut wires. When a wire is cut or reconnected the circuit/s will be updated and refreshed. All objects on a circuit are instantaneously and logically connected to one another, the entire circuit is one logical object and has some given wattage based on its producers and consumers.

The station will be made of several circuits which logically separate objects based on geography and power consumption, circuits can be subdivided through objects such as transformers or other objects. A transformer will allow for a high wattage circuit to be subdivided to a low wattage circuit (i.e. a 2000W circuit connected to several 500W circuits)

The physics implementation has been partially inspired by a popular simulation game, Oxygen Not Included (ONI). You can find a brief description of the power system in ONI .

Power System

🛰️
⚡
here
Power system overview
Power in ONI