Difference between revisions of "Wind/Tidal Generator"

From Zero-K
Jump to navigation Jump to search
m
(No need for extra HTML.)
Line 29: Line 29:
 
===Highest and Lowest Point===
 
===Highest and Lowest Point===
 
;Highest peak
 
;Highest peak
:<span style="line-height:4ex;vertical-align:middle">{{frac|2.5|{{expr|1 + <var>e</var>{{pow|{{expr|4 &minus; {{frac|<var>height</var>|105}}}}}}}}}}</span>
+
:{{frac|2.5|{{expr|1 + <var>e</var>{{pow|{{expr|4 &minus; {{frac|<var>height</var>|105}}}}}}}}}}
 
:Given by <code>(2.5 / (1 + e^(4 - height/105)))</code>, where height is compared to the map's lowest dry point. Fully flooded maps are considered to have the highest peak at 1 elmo altitude.
 
:Given by <code>(2.5 / (1 + e^(4 - height/105)))</code>, where height is compared to the map's lowest dry point. Fully flooded maps are considered to have the highest peak at 1 elmo altitude.
  
Line 37: Line 37:
  
 
===Wind Strength===
 
===Wind Strength===
* Wind strength is a global <code>[0; 1]</code> value (can be any value from 0 to 1). Individual windgens produce <var>Minimum</var> + <var>WindStrength</var> &times; (2.5 &minus; <var>Minimum</var>) or <code>(Minimum + WindStrength*(2.5 - Minimum))</code> E/s.
+
* Wind strength is a global <code>[0, 1]</code> value (can be any value from 0 to 1). Individual windgens produce <var>Minimum</var> + <var>WindStrength</var> &times; (2.5 &minus; <var>Minimum</var>) or <code>(Minimum + WindStrength*(2.5 - Minimum))</code> E/s.
 
* Values are distributed uniformly and independently from previous values.
 
* Values are distributed uniformly and independently from previous values.
 
* Changes in a 32-second cycle: it stays constant for 22 seconds, then linearly arrives at the next target value over 10 seconds.
 
* Changes in a 32-second cycle: it stays constant for 22 seconds, then linearly arrives at the next target value over 10 seconds.

Revision as of 13:30, 15 September 2021

The Wind/Tidal Generator is the cheapest energy-producing structure in Zero-K.

Wind/Tidal Generator
(energywind)
Small Powerplant
energywind.pngenergywind
Stats
Cost 35
Hit Points 400 (Tidal)
130 (Wind)
Energy (E/s) 1.2 (Tidal)
Varies (Wind)
Vision Radius (elmo) 273
Grid link range (elmo) 60
Weapons
None

Description

Wind generators produce a variable amount of energy, depending on altitude and wind speed. They are extremely fragile and chain explode when bunched, so consider their placement carefully. When placed in water, they become somewhat more sturdy tidal generators with a good, constant output.

Basic Mechanics

Turbines placed in water become tidal generators, producing a constant +1.2 E/s.

On land they become wind generators, generating a variable amount of energy which changes periodically. While the energy produced can rise and fall, the amount produced will be stable for around 30 seconds before the wind changes again. Wind Generators placed higher will always produce more than those placed lower.

The maximum is always +2.5 E/s, while the minimum starts at +0 E/s at the lowest point of the battlefield but increases with height, up to +2.5 E/s. The randomness is such that all turbines placed at given altitude produce the same amount.

Advanced Mechanics

The depth at which the wind/tidal change happens is 10 elmos.

Minimum Wind

The minimum wind is zero at the lowest dry point of the map. For fully flooded maps this is the sea level.

Highest and Lowest Point

Highest peak
2.5 ÷ (1 + e^(4 − height ÷ 105))
Given by (2.5 / (1 + e^(4 - height/105))), where height is compared to the map's lowest dry point. Fully flooded maps are considered to have the highest peak at 1 elmo altitude.

The lowest and highest points are determined at game start and will not change later (due to terraform or explosions).

The production at intermediate altitudes is given by linearly interpolating (or extrapolating) incomes at the highest and lowest points, though never more than 2.5 E/s.

Wind Strength

  • Wind strength is a global [0, 1] value (can be any value from 0 to 1). Individual windgens produce Minimum + WindStrength × (2.5 − Minimum) or (Minimum + WindStrength*(2.5 - Minimum)) E/s.
  • Values are distributed uniformly and independently from previous values.
  • Changes in a 32-second cycle: it stays constant for 22 seconds, then linearly arrives at the next target value over 10 seconds.