toddmedema / electrify

Take Charge of the Power Market
http://electrifygame.com
MIT License
6 stars 2 forks source link

Bug: Wind power doesn't seem to sufficient power #96

Closed toddmedema closed 2 months ago

toddmedema commented 2 months ago

That's because my weather data is from cities at low altitude, but wind turbines are installed at higher altitudes on windy hills near cities.

The most accurate solution would be to find 40 year historic data for wind speeds that's on the outskirts of the locations, and at the altitude that the turbines operate... but no dice.

Checking some weather maps with live weather data at ground level at city vs turbine height at outskirts, I'm seeing 50-150% higher winds at turbine locations, e.g. from https://www.camarilloweather.com/wxglobalwind.php

Although, interestingly, when I use the existing 40 year weather data I have in the game repo to compare wind speed in SF vs "CAmountains" (alas I don't remember the exact location of that file), it's actually about 20% slower in "the mountains"

Regardless, wind turbines in the game aren't producing nearly as much as they would in real life. So, update game.tsx wind output calculation with an additional modifier. After some experimentation, ~2x multiplier seems to fit expectation.