At six in the morning, the bustle in the cafeteria had not yet faded, but Lin Fan had already returned to the Control Room.

The extra meal last night had boosted the team members' spirits, and the satisfaction brought by the fresh vegetables was written on everyone's faces.

However, Lin Fan's attention had already turned to the next goal.

He pulled up the system interface, and a few lines of data appeared: 【Energy Efficiency Optimization: Completed】 【Overall Energy Consumption Reduction: 30.3%】 【Yield Increase: 6.5%】 【System Version: 3.9.0】 【New Feature Unlocked: Energy Management Skill Tree】.

The Energy Management Skill Tree expanded, divided into three branches: Energy Monitoring, Energy Optimization, and Energy Scheduling.

Under each branch were several unlockable skills, ranging from basic energy consumption analysis to advanced energy forecasting and intelligent scheduling.

Lin Fan browsed through them roughly; these were all highly valuable abilities that could help The Fortress become more precise and efficient in its energy usage.

However, he did not immediately delve into the skill tree, but instead noticed a prompt at the bottom of the interface: 【Environmental Control Precision Assessment: Medium (Fluctuation Range ± 15%)】 【Suggestion: Launch Environmental Control Upgrade project to improve Planting Cabin environmental stability; expected to further reduce energy consumption by 5-8% and increase yield by 3-5%】.

Environmental control precision. Lin Fan pulled up the environmental data curves for the Planting Cabin over the past week.

Temperature, humidity, carbon dioxide concentration, and light intensity—all parameters fluctuated around the set values, but the magnitude of the fluctuation was indeed significant.

The temperature was set at twenty degrees Celsius, but in reality, it fluctuated between seventeen and twenty-three degrees; humidity was set at sixty-five percent, but it actually ranged between sixty and seventy percent; carbon dioxide concentration was even more erratic, ranging anywhere from 300 ppm to 600 ppm.

These fluctuations might seem small, but they had a tangible impact on plant growth.

Temperature fluctuations affect metabolic rates, humidity fluctuations affect transpiration, and carbon dioxide concentration directly affects photosynthetic efficiency.

If the fluctuation range could be narrowed, the plant growth environment would be more stable, growth efficiency would naturally be higher, and energy waste would also be reduced.

Outside the window, the sky was gradually brightening, and the morning light spilled into the Control Room through the glass.

Lin Fan stood up and headed toward the Ecological Planting Module, wanting to see the current environmental state with his own eyes.

Inside the Planting Cabin, the thermal curtains had been retracted, and the morning light spilled onto the emerald green leaves through The Dome.

The automatic irrigation system had just finished the morning watering, and fine beads of water hung on the leaves.

The air was warm and humid, but Lin Fan could feel subtle changes in the airflow—the ventilation system was working, but the airflow seemed uneven.

Lin Weiwei was inspecting a batch of newly transplanted tomato seedlings. Seeing Lin Fan enter, she straightened up: "Captain Lin, good morning. The response to the vegetables last night was very good; everyone said they hadn't eaten such fresh leafy greens in a long time."

"The environmental parameter fluctuations are a bit large," Lin Fan said, getting straight to the point. "The temperature, humidity, and carbon dioxide concentration are not stable enough."

Lin Weiwei nodded: "I've noticed. The existing environmental control system is based on simple threshold control—the heater starts when the temperature is below nineteen degrees and stops above twenty-one; the humidifier starts when humidity is below sixty percent, and ventilation increases above seventy percent. This type of control method has a delayed response, and since the parameters affect each other, it's difficult to achieve precise stability."

"Do you have an improvement plan?"

"Yes, but it requires technical support," Lin Weiwei said. "Su Qingxue mentioned to me yesterday that if we could introduce multi-variable collaborative control and predictive algorithms, environmental stability could be greatly improved. However, it would require more sensors and more complex control programs."

"Call Su Qingxue and Wang Hai, and let's have a meeting in the Technical Warehouse in half an hour."

Half an hour later, four people sat around the long table in the Technical Warehouse: Lin Fan, Su Qingxue, Lin Weiwei, and Wang Hai. Qin Yue was on duty at the perimeter wall today and did not attend.

Su Qingxue brought a simple analysis report: "I analyzed the Planting Cabin's environmental data last night and found three main problems. First, there are insufficient sensors. Currently, there are only six temperature and humidity sensors, two carbon dioxide sensors, and four light sensors distributed in different locations in the Planting Cabin. But the Planting Cabin covers three hundred square meters, and these sensors are far from enough to capture environmental gradients."

"Second, the control algorithm is simple. The existing PID control only targets single parameters and does not consider the coupling relationship between parameters. For example, the heater starting lowers humidity, increased ventilation lowers temperature, and the humidifier working increases humidity while slightly raising the temperature. These interactions are not modeled in the current system, causing control effects to cancel each other out, resulting in low efficiency."

"Third, there is a lack of predictive capability. Environmental changes follow patterns—temperature rises during the day due to strong light and drops at night; plants consume carbon dioxide during the day through photosynthesis and release it at night; personnel entering and exiting affect temperature and humidity. If we can predict these trends and adjust control strategies in advance, we can greatly reduce fluctuations."

Lin Fan noted the key points: "What is the specific improvement plan?"

"Increase sensor density," Su Qingxue said. "Increase temperature and humidity sensors to twenty, carbon dioxide sensors to six, light sensors to ten, and soil moisture sensors to fifteen. Form a high-density monitoring network to draw a 3D environmental distribution map in real-time."

"Upgrade the control algorithm. Upgrade from single-variable PID to Multi-variable Model Predictive Control (MPC), establish a coupling model between temperature, humidity, carbon dioxide, and light, and achieve collaborative optimization. The algorithm will calculate the optimal control action sequence based on the current state and predicted future changes."

"Introduce a predictive module. Based on historical data and real-time monitoring, predict environmental trends for the next hour and adjust control strategies in advance. For example, if we predict that light will increase and temperature will rise at noon, we can strengthen ventilation in advance; if we predict that the temperature will drop at night, we can increase the temperature moderately in advance."

Wang Hai listened and frowned: "Is this technically feasible? With so many sensors and complex algorithms, can our existing hardware and software support it?"

"Hardware is no problem," Su Qingxue said. "The sensors are mature products, and our industrial inventory is sufficient. The controller performance is also enough; the current industrial computer has surplus computing power. As for software, there are open-source libraries for Model Predictive Control algorithms that we can refer to, and I have experience with similar projects. The biggest challenge is modeling—we need to build a physical model of the Planting Cabin, including heat conduction, airflow, plant transpiration, photosynthesis, etc. This requires Lin Weiwei to provide detailed crop physiological data and Planting Cabin structural parameters."

Lin Weiwei nodded: "I have the crop data, and Brother Wang knows the Planting Cabin structure best."

Wang Hai pondered for a moment: "Sensor installation is no problem; the wiring is a bit troublesome, but it can be done in two days. How long will the controller program modification take?"

"Model establishment and algorithm implementation will take about five days," Su Qingxue estimated. "Testing and debugging will take another two days, totaling about a week."

Lin Fan looked at the system interface. While he was thinking about these issues, the system had already generated a new task: 【Environmental Control Upgrade: Improve Planting Cabin environmental control precision】 【Goal: Reduce environmental parameter fluctuation range from ± 15% to within ± 5%】 【Expected Benefits: Energy consumption reduction of 5-8%, yield increase of 3-5%】 【Estimated Reward: System version upgrade to 4.0.0, unlock "Environmental Control" skill tree, overall Fortress environmental adaptability increased by 10%】.

He did not accept the task immediately but turned to the group: "Risk assessment. Will the upgrade affect the normal operation of the Planting Cabin?"

"There will be some impact," Su Qingxue admitted. "Sensor installation requires entering the Planting Cabin for wiring, which might disturb the crops. There might be a brief period of instability during the control algorithm switch. However, we can implement it in stages: first add the sensors to collect more precise data, then upgrade the algorithm and gradually switch control strategies. This way, the impact is minimized."

"Time window?" Lin Fan asked.

"It's best to complete it within the next week," Lin Weiwei said. "These tomato seedlings were just transplanted and are quite sensitive to environmental fluctuations; they need a stable environment right now. Plus, there is no extreme weather forecast for the near future, so external interference will be minimal."

"What about Qin Yue's defense arrangements?" Lin Fan looked out the window. "The remnant troops of the Spark Council are still active nearby; we need to ensure safety during the upgrade."

"I will coordinate with her," Wang Hai said. "I've seen the defense team's recent roster; we have enough manpower. The upgrade work is mainly inside The Fortress, so external risks are controllable."

Lin Fan synthesized everyone's opinions and made a decision: "We will proceed in three steps. Step one: Start deploying additional sensors today. Wang Hai will be responsible for the hardware, and Lin Weiwei will assist with positioning to ensure scientific sensor distribution. Step two: Su Qingxue will start building the model and algorithm, using the data collected by the new sensors for verification. Step three: After five days, we will perform the algorithm switch and testing, and I will follow the entire process."

"What about the system task?" Su Qingxue asked.

Lin Fan pulled up the interface, and everyone saw the task details. Su Qingxue carefully read the goals and requirements and nodded: "Reducing the fluctuation range to within ± 5% is a challenge, but it is technically feasible. If the Model Predictive Control algorithm is tuned well, it could even be reduced to ± 3%."

"Do your best," Lin Fan said. "The rewards are valuable, but the actual results are more important. Improving environmental stability is not only beneficial for the crops but also advantageous for any precision equipment or experimental devices we might introduce in the future."

With tasks clearly assigned, the meeting concluded.

At nine in the morning, Wang Hai led three technicians into the Planting Cabin. They carried twenty temperature and humidity sensors, six carbon dioxide sensors, ten light sensors, fifteen soil moisture sensors, and the corresponding cables and mounting brackets.

Lin Weiwei planned the sensor locations based on the crop layout and airflow patterns. "Temperature and humidity sensors should avoid direct sunlight and ventilation vents, and be placed at the middle height of the crop canopy. Carbon dioxide sensors should be close to the plant leaves because photosynthesis mainly occurs there. Light sensors should be distributed at different heights and orientations to capture light intensity gradients. Soil moisture sensors should be inserted into the root zone, but without damaging the roots."

Following her instructions, Wang Hai carefully installed the sensors among the tomato seedlings, lettuce clusters, and bean trellises. They tried to be as gentle as possible to avoid damaging the plants. The cables were routed along the edges of the planting troughs and converged at the central control box. The entire process was like a delicate surgical procedure, and the technicians were fully focused.

Lin Fan observed from the side. Installing sensors might seem simple, but the choice of location directly affects data quality. Lin Weiwei's professional knowledge was particularly important at this moment—she understood the growth habits and micro-environmental needs of each plant and could predict which locations best represented the overall environment.

By noon, the first batch of sensors was installed and powered on for testing. On the large screen in the Control Room, the originally sparse environmental monitoring points became dense.

The temperature distribution map showed a clear gradient—the area near The Dome had higher temperatures, while the area near the ground had lower temperatures; humidity was lower near the ventilation vents and higher in the corners. Carbon dioxide concentration was significantly lower in areas with dense plants because photosynthesis was consuming the carbon dioxide.

"This is the true state of the environment," Su Qingxue said, looking at the screen with emotion. "Those few sensors from before were like blind men touching an elephant; we could only see a part of the whole. Now, with this high-resolution map, we can truly understand the environmental dynamics."

She began collecting data, preparing to build the physical model. The model needed to include the Planting Cabin's geometric structure, material thermal properties, ventilation system parameters, crop physiological parameters, and so on. This was a complex systems engineering task, but she was methodical.

In the afternoon, Lin Fan went to the perimeter wall to find Qin Yue. Qin Yue was inspecting the fortifications at the west outpost. Seeing Lin Fan, she put down her binoculars: "Captain Lin, did the sensor installation go smoothly?"

"Smoothly," Lin Fan said. "There will be some technical debugging over the next week, which may require the defense team to provide additional security. Especially during the few days when we switch the control algorithms, the Planting Cabin system might experience brief instability; it would be troublesome if anyone took the opportunity to cause trouble."

Qin Yue nodded: "Understood. I have adjusted the shifts; we will double the number of sentries on the perimeter wall for the next seven days and increase the frequency of night patrols. Fixed sentries will be arranged around the Technical Warehouse and the Planting Cabin, and anyone entering or leaving must be registered. Additionally, I have dispatched a reconnaissance team to patrol within a ten-kilometer radius around The Fortress daily to ensure no remnant troops of the Spark Council approach."

"Thank you for your hard work," Lin Fan said. "Is there any progress on the clues for the third key?"

Qin Yue looked serious: "The Reconnaissance Department discovered abnormal energy fluctuations forty kilometers to the southwest yesterday. The frequency resonates with Xiaoya's Mark. However, the fluctuations are very weak and intermittent, and the location is difficult to pinpoint. It is possible that the Key Holder is moving, or they are being shielded by something."

"Continue monitoring," Lin Fan said. "After the environment control upgrade is complete, we may need to organize an expedition. The collection of the third key cannot be delayed."

"Understood." Qin Yue paused, then added, "Additionally, the new members have been integrating into The Fortress smoothly recently, but I am still observing a few individuals with a background as Raiders. There have been no abnormal actions so far, but one cannot be too careful."

Lin Fan nodded: "Keep a close watch. Discipline and trust take time to build. We are not in a rush, but we must hold our bottom line."

By evening, the sensor installation was completely finished. The Planting Cabin was filled with fine cables and micro-sensors, but they were cleverly hidden among the plants, making them hard to spot without careful observation. On the large screen in the Control Room, the 3D environmental distribution map updated in real-time, with color gradients shifting smoothly to display the subtle structures of the environment.

Su Qingxue had already collected enough data and began building a mathematical model. She sat in front of the programming computer, with multiple windows open on the screen: computational fluid dynamics simulations, heat conduction equations, plant transpiration models, photosynthesis rate formulas... These were all core physical processes of the environmental system.

Lin Weiwei was providing parameters on the side. "The transpiration rate of tomato seedlings is about 200 milliliters per square meter per hour under sufficient light, dropping to 50 milliliters at night. The transpiration rate for lettuce is lower, about 150 milliliters. Beans are the highest, reaching 250 milliliters."

"What about the leaf area index?" Su Qingxue asked.

"Tomato seedlings are currently at 0.5, expected to reach 1.2 in two weeks. Lettuce is 0.8, and beans are 1.0."

Su Qingxue inputted these parameters into the model. The model began to run, simulating the distribution and changes over time of temperature, humidity, and carbon dioxide concentration within the Planting Cabin. Comparing the initial simulation results with actual monitoring data, there were some discrepancies, so she adjusted the parameters and recalculated.

This was an iterative optimization process. The closer the model was to reality, the more precise the control algorithm would be.

Wang Hai began upgrading the controller's hardware interfaces. The new sensors needed to be connected to the controller, and the existing control program required expanded input channels. He checked the remaining I/O ports on the controller, and after confirming there were enough, he began wiring and configuration.

At night, the supplemental lights in the Planting Cabin lit up again. The intelligent spectrum adjustment system had been running for several days, automatically adjusting the spectrum according to the needs of different crops. Tonight, the proportion of red light in the tomato seedling area was slightly higher because tomatoes need more red light before flowering to promote vegetative growth; the lettuce area had a high proportion of blue light to promote leaf growth; the bean area was relatively balanced.

Lin Fan stood in the Control Room, watching the environmental monitoring chart. The temperature dropped at night, but the heater activation frequency was much lower than before—the insulation curtains were working. Humidity remained stable, the ventilation system ran at low speed, maintaining air circulation without becoming overly dry. The carbon dioxide concentration was rising slowly because the plants stopped photosynthesis at night and began respiration, releasing carbon dioxide.

"If model predictive control can be implemented, we can control ventilation and heating more precisely at night." Su Qingxue walked up to him. "For example, if we predict the lowest temperature at 4:00 AM, we can moderately raise the temperature at 3:30 AM to avoid a sudden temperature drop. If we predict stronger sunlight in the morning, we can lower the humidity before sunrise to prevent condensation."

"The accuracy of the prediction depends on the model's precision," Lin Fan said.

"That's why we are working hard." Su Qingxue pointed to the simulation running on the screen. "Currently, the model can explain 80% of the environmental changes. The remaining 20% comes from unpredictable disturbances, such as people entering and exiting, doors opening and closing, equipment failures, etc. We need to handle these using adaptive algorithms."

The next day, the model was further refined. Su Qingxue introduced a machine learning module, using historical data to train the predictive model. The model could not only predict environmental changes but also identify abnormal patterns—for instance, if a sensor suddenly gave an abnormal reading, which could be a malfunction or interference, the system would automatically switch to a backup sensor or adjust the control strategy.

Lin Weiwei provided more crop physiological data, including the optimal environmental parameter ranges for different growth stages. This data was integrated into the control targets, and the algorithm would try its best to maintain the environment within the optimal range for the crops.

Wang Hai completed the hardware upgrade, all new sensors were connected to the controller, and the data acquisition frequency was increased from once per minute to once per second. Massive amounts of data poured in, putting the controller's processing capability to the test, but Su Qingxue optimized the data compression and filtering algorithms to ensure that key information was not lost.

On the third day, the model predictive control algorithm was initially completed. Su Qingxue tested it in a simulation environment, simulating various scenarios: daytime light changes, nighttime temperature drops, interference from people entering and exiting, equipment failures, etc. The algorithm performed well, capable of controlling environmental fluctuations within ±5%, and in some scenarios, even reaching ±3%.

"We can test it in reality," Su Qingxue said.

But Lin Fan decided to wait a little longer. "Let's collect more actual data first, let the model run in the real environment but without actually controlling it, just making predictions. Compare the prediction results with the actual environmental changes to further calibrate the model."

This was a cautious decision. The environmental control system concerned the survival of the crops, so they couldn't be rash.

On the fourth day, the model ran in "observation mode." It received sensor data in real-time, predicted environmental changes for the next hour, and compared the prediction results with actual changes. The initial prediction error was significant, so Su Qingxue adjusted the model parameters based on the error. After one day of iteration, the prediction accuracy improved significantly.

On the fifth day, the model could already accurately predict the trends in temperature, humidity, and carbon dioxide concentration, with errors within an acceptable range. Su Qingxue believed they could switch to actual control.

But just at that moment, an external disturbance appeared.

At 3:00 PM, Qin Yue urgently called Lin Fan: "Signs of remnant Spark Council troops have been discovered three kilometers outside the western wall, about fifteen people, carrying weapons, moving towards The Fortress. The reconnaissance squad is monitoring; do we need to intercept?"

Lin Fan frowned. The environmental control upgrade was at a critical stage and could not be interrupted. "Can you determine their intentions?"

"They look like they are searching for something, their movements are lax, and it doesn't look like an organized attack. But they are too close, which poses a risk."

"Send a squad to drive them away, do not engage in direct conflict, make some noise to scare them off," Lin Fan ordered. "If they show hostility, annihilate them immediately."

"Understood."

Qin Yue led a ten-person squad out from the west gate, using the terrain to approach stealthily. They didn't intend to fight head-on but rather to create the illusion of being surrounded—making noise on the flanks of the remnant troops, firing a few warning shots, and simultaneously shouting through a loudspeaker: "This is the Crystal Shield Fortress control zone, leave immediately, or it will be considered a hostile act."

The remnant troops clearly hadn't expected to be discovered; in their panic, they fired randomly into the air and then retreated in a flurry. The Qin Yue Squad kept their distance while following them, and only returned after confirming that the group had exited the five-kilometer range.

It was a false alarm, but it reminded Lin Fan that external threats were always present.

On the sixth day, the environmental control algorithm was officially switched on. At 10:00 AM, all personnel evacuated the Planting Cabin, and control was handed over to the new algorithm.

Su Qingxue stared at the screen nervously. The old algorithm stopped running, and the new algorithm took over. Following the model's predicted results, the controller began adjusting heater power, ventilation fan speed, humidifier output, and the spectrum of the supplemental lights.

For the first few minutes, there were some fluctuations in environmental parameters as the system adapted to the new control logic. But soon, the magnitude of the fluctuations began to shrink. The temperature stabilized at 20 degrees Celsius, plus or minus 0.5 degrees; humidity stabilized at 65%, plus or minus 2%; and carbon dioxide concentration stabilized at 450 ppm, plus or minus 20 ppm.

"The fluctuation range is 2.5%," Lin Weiwei said, looking at the real-time data, pleasantly surprised. "That's even better than the 5% target."

Su Qingxue let out a sigh of relief: "The model prediction is working. Look, the system adjusted the ventilation fan speed 30 seconds in advance to counter the slight temperature rise caused by that cloud blocking the sunlight just now. If it were the old algorithm, it would have waited until the temperature actually rose by one degree before responding, and by then it would have been too late."

Wang Hai checked the hardware status: "All equipment is running smoothly, with no overloads or anomalies. Controller load is at 65%, with plenty of headroom."

Lin Fan looked at the environmental curves; they were almost a straight line. Temperature, humidity, and carbon dioxide concentration were firmly held as if by an invisible hand, stabilized near the set values. The air circulation within the Planting Cabin was even and gentle, with no obvious unevenness in temperature or dry and humid zones.

"This is what precision control is," he said softly.

In the afternoon, the algorithm continued to run, and the environmental stability remained at a high level. The crops also seemed to feel the change—their leaves were more spread out, and their color was a more vibrant green. Lin Weiwei measured the growth rate of several tomato seedlings, which had increased by 4% compared to the previous day.

"Environmental stability reduces plant stress, so more energy is used for growth," she explained. "The long-term effects will be even more obvious."

In the evening, the system task interface updated: 【Environment Control Upgrade: Completed】 【Environmental Parameter Fluctuation Range: ±2.5%】 【Energy Consumption Reduction: 7.3%】 【Estimated Yield Increase: 4.2%】 【Rewards being distributed...】.

A few seconds later, a new prompt appeared: 【System version upgraded to 4.0.0】 【Unlocked "Environment Control" Skill Tree】 【The Fortress overall environmental adaptability increased by 10%】.

The Environment Control skill tree expanded, also divided into three branches: Environmental Monitoring, Environmental Control, and Environmental Optimization. The skills included high-precision sensor calibration, multi-variable control algorithms, adaptive learning, fault diagnosis and fault tolerance, etc. These skills could not only be applied to the Planting Cabin but also extended to residential areas, warehouses, laboratories, and any other places requiring environmental control.

The 10% increase in The Fortress's overall environmental adaptability meant that the environmental stability of all areas inside The Fortress would improve, and energy efficiency would also increase. This was a global buff.

Lin Fan informed the core team of the upgrade results. Su Qingxue, Lin Weiwei, and Wang Hai all showed gratified smiles. Two consecutive successful technical projects not only improved the actual capabilities of The Fortress but also boosted the team's technical confidence.

"Next, we can expand this to other areas," Su Qingxue said. "The heating system in the residential area, environmental control in the water treatment plant, and even device temperature control for the defense system can all be optimized using this methodology."

"One step at a time," Lin Fan said. "Starting tomorrow, let's first upgrade the temperature control system in the residential area so the team members can sleep more comfortably at night."

At night, Lin Fan came to the Planting Cabin again. The new control system was running smoothly, and the environmental parameters were as stable as laboratory conditions. The spectrum of the supplemental lights changed subtly according to crop needs, the ventilation fans ran at low speed, and the heaters worked intermittently to maintain a constant temperature. Everything appeared quiet, orderly, and efficient.

He walked out of the Planting Cabin and came to the wall. Qin Yue was on duty; seeing him, she nodded in greeting.

"Is the environmental upgrade finished?" she asked.

"It's finished, the results are very good," Lin Fan said. "Are there any updates on the clues for the third key?"

"Yes." Qin Yue looked serious. "The Reconnaissance Department captured clearer energy fluctuations this afternoon, and the location is basically determined—45 kilometers to the southwest, at an abandoned geological exploration station. The fluctuation characteristics indicate that the Key Holder's condition is unstable, with significant fluctuations in energy levels; they may be injured or trapped."

Lin Fan was silent for a moment. "The environmental control upgrade is complete, so it's time to deal with the key. We will hold a meeting tomorrow to formulate an expedition plan."

Qin Yue nodded: "I will go prepare."

Lin Fan looked toward the night sky in the southwest. It was pitch black there, but he could vaguely feel some kind of summoning. the third key, the third goddess, a new companion, new power, new responsibility.

The searchlights on the wall swept across the ice field, illuminating the distant horizon. The cold wind howled, but inside The Fortress, it was warm and bright. Technology was upgrading step by step, the team was growing step by step, and the goal was getting closer step by step.

He took a deep breath of the cold air, turned around, and walked back into The Fortress.