The following warnings occurred:
Warning [2] Undefined variable $awaitingusers - Line: 33 - File: global.php(779) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(779) : eval()'d code 33 errorHandler->error
/global.php 779 eval
/showthread.php 24 require_once
Warning [2] Undefined array key "style" - Line: 837 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 837 errorHandler->error
/showthread.php 24 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 4950 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 4950 errorHandler->error
/global.php 837 build_theme_select
/showthread.php 24 require_once
Warning [2] Undefined variable $visibleonly - Line: 412 - File: showthread.php PHP 8.1.28 (Linux)
File Line Function
/showthread.php 412 errorHandler->error
Warning [2] Undefined array key 1 - Line: 1394 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 1394 errorHandler->error
/inc/functions.php 1359 fetch_forum_permissions
/inc/functions.php 2862 forum_permissions
/showthread.php 616 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1394 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 1394 errorHandler->error
/inc/functions.php 1359 fetch_forum_permissions
/inc/functions.php 2862 forum_permissions
/showthread.php 616 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1907 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 1907 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 624 mark_thread_read
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(727) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/showthread.php(727) : eval()'d code 5 errorHandler->error
/showthread.php 727 eval
Warning [2] Undefined array key "additionalgroups" - Line: 6846 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 6846 errorHandler->error
/inc/functions_user.php 734 is_member
/inc/functions_post.php 398 purgespammer_show
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(466) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/inc/functions_post.php(466) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 466 eval
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 641 - File: inc/functions_post.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions_post.php 641 errorHandler->error
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "showimages" - Line: 699 - File: inc/functions_post.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions_post.php 699 errorHandler->error
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 704 - File: inc/functions_post.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions_post.php 704 errorHandler->error
/showthread.php 1057 build_postbit
Warning [2] Undefined variable $css_align - Line: 1147 - File: inc/class_parser.php PHP 8.1.28 (Linux)
File Line Function
/inc/class_parser.php 1147 errorHandler->error
/inc/class_parser.php 1174 postParser->mycode_parse_img
[PHP]   postParser->mycode_parse_img_callback2
/inc/class_parser.php 481 preg_replace_callback
/inc/class_parser.php 177 postParser->parse_mycode
/inc/functions_post.php 716 postParser->parse_message
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "showimages" - Line: 742 - File: inc/functions_post.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions_post.php 742 errorHandler->error
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 6846 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 6846 errorHandler->error
/inc/functions_user.php 734 is_member
/inc/functions_post.php 398 purgespammer_show
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(466) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/inc/functions_post.php(466) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 466 eval
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 641 - File: inc/functions_post.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions_post.php 641 errorHandler->error
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "showimages" - Line: 699 - File: inc/functions_post.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions_post.php 699 errorHandler->error
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 704 - File: inc/functions_post.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions_post.php 704 errorHandler->error
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "showimages" - Line: 742 - File: inc/functions_post.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions_post.php 742 errorHandler->error
/showthread.php 1057 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1491 - File: showthread.php PHP 8.1.28 (Linux)
File Line Function
/showthread.php 1491 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1518) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/showthread.php(1518) : eval()'d code 30 errorHandler->error
/showthread.php 1518 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wildly Oscillating CO2 Spinamajig
#1
(Starting this as a new thread, as the other had gotten rather long.)

I got a chance this morning to load up your (Permeable Ceiling's) Powell colony to see what's going on with the CO2.


[Image: qobEWUN.png]

It appears to be basically a population oscillation, where the "population" in this case is the grass and trees.  When CO2 is high, these do great and grow like gangbusters (population boom), converting CO2 to O2... but then there isn't enough CO2, so they all wilt and stop photosynthesizing (population crash).  And then the people gradually convert the O2 back into CO2, starting the cycle again.

It's still surprising that the oscillations don't dampen out to an equilibrium, though... especially with the atmospheric regulator in there, which is supposed to counteract any imbalance.  There is a bit of a delay in those too though; it looks like somehow you've hit upon a resonant frequency of both the regulator and the plants (probably tied to the time step in the atmosphere simulation).


But what really cracked me up — and prompted me to post this screen shot — was the Squawker feed.  Your residents don't care about the growing/wilting plants too much, because they're too busy trying not to lose their lunch from the 3.9 RPM spin.  Smile

Joe Strout
Lead Developer, High Frontier

Reply
#2
Hmm. Actually, no, the grass and trees have little to do with it. This problem is entirely in the atmospheric regulators.

The give-away is the CO2 production (or consumption) listed under "Buildings". Each regulator can produce or consume up to 1000 kg of CO2 per day. They set their production/consumption level once per day, based on the current CO2 levels using a simple look-up table that goes all-out if CO2 is under 0.03%, or over 0.05%. In between, they linearly interpolate (so they do nothing at 0.04%).

The problem is that this colony is so small, adding or removing 1000 kg of CO2 will remove ALL the CO2 from the atmosphere, or drive it from zero up to 0.16%. So, each day we bounce between "zero" and "too much." And that's with a single regulator (having two just makes it worse).

Clearing the atmospheric regulators eliminates the oscillations, but then CO2 slowly creeps up, as there aren't enough grass and trees here to balance out the people. Eventually that should reach an equilibrium as people find the CO2 too high, but it won't be a pleasant equilibrium. And to balance this out by adding more trees would be pretty hard (it takes about 16 trees per person — see this thread).

We really need the atmospheric regulators to be a bit smarter about how much CO2 they consume or produce, but for technical reasons that's not as easy as it sounds. But we'll come up with something... and at least now, we understand the problem!

Joe Strout
Lead Developer, High Frontier

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)