Difference between revisions of "Wind/Tidal Generator"
(Wind Mechanics) |
(Some prettifying...) |
||
Line 14: | Line 14: | ||
== Basic Mechanics == | == Basic Mechanics == | ||
− | |||
Turbines placed in water become tidal generators, producing a constant +1.2 E/s. | Turbines placed in water become tidal generators, producing a constant +1.2 E/s. | ||
Line 23: | Line 22: | ||
== Advanced Mechanics == | == Advanced Mechanics == | ||
+ | The depth at which the wind/tidal change happens is 10 [[elmo]]s. | ||
+ | |||
+ | ===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 | ||
+ | :<span style="line-height:4ex;vertical-align:middle">{{frac|2.5|{{expr|1 + <var>e</var> <sup>{{expr|4 − {{frac|<var>height</var>|105}}}}</sup>}}}}</span> | ||
+ | :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. | ||
− | |||
− | |||
− | |||
− | |||
The lowest and highest points are determined at game start and will not change later (due to terraform or explosions). | 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. | + | |
− | + | 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 is a global [0; 1] value. Individual windgens produce (Minimum + WindStrength*(2.5 - Minimum)) E/s. | + | |
− | + | ===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> × (2.5 − <var>Minimum</var>) or <code>(Minimum + WindStrength*(2.5 - Minimum))</code> E/s. | |
+ | * Values are distributed uniformly and independently from previous values. | ||
+ | * Changes in a 32-second cycle: it stays constant for 22 seonds, then linearly arrives at the next target value over 10 seconds. | ||
{{Navbox buildings}} | {{Navbox buildings}} |
Revision as of 16:47, 13 September 2021
The Wind/Tidal Generator is the cheapest energy-producing structure in Zero-K.
Wind/Tidal Generator (energywind) | |
---|---|
Small Powerplant | |
![]() ![]() | |
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 |
Contents
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.5height105 4 − 1 + e
- 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 seonds, then linearly arrives at the next target value over 10 seconds.
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 18.118.55.216
Start request GET /mediawiki/index.php?diff=next&oldid=5424&title=Wind%2FTidal_Generator
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "18.118.55.216",
"UserAgent": "Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0,
"ChronologyClientId": false
}[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[session] SessionBackend "aqhnq177ruhvbvuh52uo8r6itb5ijv56" is unsaved, marking dirty in constructor
[session] SessionBackend "aqhnq177ruhvbvuh52uo8r6itb5ijv56" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] already deleted setcookie: "wikidb229_mw__session", "", "1713738729", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_UserID", "", "1713738729", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_Token", "", "1713738729", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1713738729", "/", "", "", "1"
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[Wind/Tidal Generator]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
Article::view: showing diff page
DifferenceEngine old '5424' new 'next' rcid ''
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
ParserFactory: using preprocessor: Preprocessor_Hash
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
DifferenceEngine old '0' new '0' rcid '0'
WikiPage::getParserOutput: using parser cache: no
[caches] parser: SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
Parser cache options found.
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:a2a19f76e1639515f3d1cf450dfcc975:0)
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:7b70bccfb58094736a61ed47955d30b2:1)
[ContentHandler] Created handler for Scribunto: ScribuntoContentHandler
[Scribunto] Scribunto_LuaStandaloneInterpreter::__construct: creating interpreter: ""C:\Projekty\zero-k.info\www\mediawiki\extensions\Scribunto\includes\engines\LuaStandalone/binaries/lua5_1_5_Win64_bin/lua5.1.exe" "C:\Projekty\zero-k.info\www\mediawiki\extensions\Scribunto\includes\engines\LuaStandalone/mw_main.lua" "C:\Projekty\zero-k.info\www\mediawiki\extensions\Scribunto\includes" "0" "8""
[gitinfo] Candidate cacheFile=C:\Projekty\zero-k.info\www\mediawiki/gitinfo.json for C:\Projekty\zero-k.info\www\mediawiki
[gitinfo] Cache incomplete for C:\Projekty\zero-k.info\www\mediawiki
SiteStats::loadAndLazyInit: reading site_stats from replica DB
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:6a4f440322df0698d0df663d8685e861:1)
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:a2a19f76e1639515f3d1cf450dfcc975:0)
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Title::getRestrictionTypes: applicable restrictions to [[Wind/Tidal Generator]] are {edit,move}