Understanding Powernets
Much like any other massive numbers system in SS13, the power (or powernet) system is complex and confusing to work with, only being trumped in complexity by atmospherics/LINDA. This README serves as a powernets 101 guide and breaks down how the system works. Two Types of PowernetsThere are two types of powernets in our code
They are two completely different datum types from eachother and serve different completely different purposes. In a nutshell, regional powernets are dynamically sized and deal with physical machinery, cables, and generators whereas local powernets are statically locked into a single area each and work directly with APCs to handle individual machines interactions with the larger regional powernet. Regional PowernetAn inter-area datum which handles 1 continuous set of cables ( On this datum you'll notice a lot of different vars handling power input, output, consumption, demand, etc Regional Powernet Process Call StackStarting in SSmachines,
The Power Variables
|