Difference between revisions of "Wind/Tidal Generator"
(No need for code when normal math display is sufficient.) |
(Cat energy.) |
||
Line 43: | Line 43: | ||
{{Navbox buildings}} | {{Navbox buildings}} | ||
+ | [[Category:Energy]] |
Revision as of 22:54, 25 November 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 (often windgens, running together the words "wind" and "gen." for "generator") 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 sturdier tidal generators with a 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) 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.
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 18.223.168.194
Start request GET /mediawiki/index.php?diff=prev&oldid=8202&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
COOKIE: wikidb229_mw__session=9gdact92pld2mh83jl68ccfef9j49nha
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[session] Session "9gdact92pld2mh83jl68ccfef9j49nha" requested without UserID cookie
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "18.223.168.194",
"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 #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[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 '8202' new 'prev' rcid ''
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) 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 #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
Parser cache options found.
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:47237b5e138e4f79bb3dfe074f797d0a: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:47237b5e138e4f79bb3dfe074f797d0a: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}