Power system - MrJake222/AUNIS GitHub Wiki

Power system of AUNIS

Naquadah Generator is planned. Don't worry.

So, It consists of two main parts:

You can place DHD Control Crystal by right-clicking the rear-side of the DHD. Of course you can also plug conduits in directly to the base block.

Math

As of version 1.8 of AUNIS I've decided to document the power requirements of this mod.

The Stargate consume power in 2 ways:

  • When the gate is opening (Open cost). Drawed once per open.
  • When the gate stays open (Keep alive cost) Drawed each tick.

Distance is taken into account. This formula gets applied to the distance calculated from block distance:

images/power_formula.jpg Distance calculation formula.

So it narrows down to the power scale

  • Being linear under 5000 blocks
  • Being logarythmic over 5000 (rises slower)

The outcome is this adjusted distance:

images/power_adjusted_distance.jpg Adjusted distance.

The profitability of the Stargate rises with distances above 5,000 blocks. Here is a quick summary:

images/power_summary.jpg Power consumption summary. Keep alive cost is calculated for the open time of 20 seconds. Open cost per block and keep alive cost per block per tick can be changed in config.

This does not, however, take into account the dimension power offset. This is read from config/aunis_dimensions.json on world's load. The power is calculated relatively to the Overworld and can be changed in the config file anytime(World should be reloaded). Default offset is 0, but there are some defaults set. Here are the offsets in milions of RF(open cost only):

images/power_dimensions.jpg Dimensions power offsets summary.