License: MIT Python Version Status TRL
A Dual-Purpose Surface and Agricultural Solution for Lunar Habitats
Transforming lunar regolith from obstacle to asset
Features โข Installation โข Quick Start โข Documentation โข Research โข Contributing
The Bio-Stabilizing Lunar Spray represents a paradigm shift in lunar surface engineering. Rather than treating regolith as merely an obstacle to overcome, this dual-phase chemical system transforms it into a functional asset that serves both infrastructure and life support needs.
A single sprayable formulation that:
- Phase I (Minutes): Hardens lunar regolith into load-bearing surfaces (3.5+ MPa bond strength)
- Phase II (Weeks): Transforms into a nutrient-rich substrate for hydroponic agriculture
This eliminates the need for separate materials for surface stabilization and agricultural substratesโa critical advantage where every kilogram matters.
| Traditional Approach | Bio-Stabilizing Spray |
|---|---|
| Separate materials for construction & agriculture | Single dual-purpose system |
| High energy requirements (sintering at 1200ยฐC) | Room temperature curing |
| Import inert growth media from Earth | Transform regolith in-situ |
| Static infrastructure | Adaptive, living system |
- Radial expansion modeling with pressure/temperature/slope effects
- Lunar gravity compensation (1.62 m/s2)
- Coverage optimization algorithms
- Real-time expansion visualization
- Arrhenius-based temperature kinetics
- UV-assisted acceleration modeling (30% faster)
- Bond strength development tracking
- Geopolymer chemistry simulation
- 60-day biological transition simulation
- NPK + micronutrient tracking (N, P, K, Mg, S, Ca)
- pH evolution modeling (alkaline โ neutral)
- Substrate porosity development
- Plant readiness determination
- AI-regulated dome architecture
- PID control loops for temperature, humidity, CO2
- Photoperiod management
- Energy consumption optimization
- Emergency response protocols
- Complete end-to-end mission planning
- Timeline generation from spray to harvest
- Success criteria evaluation
- Comprehensive reporting and visualization
- Python 3.9 or higher
- pip package manager
# Clone the repository git clone https://github.com/dfeen87/bio-stabilizing-lunar-spray.git cd bio-stabilizing-lunar-spray # Install dependencies pip install -r requirements.txt
# Install with development dependencies pip install -r requirements.txt pip install -e . # Run tests pytest tests/ # Check code style black src/ flake8 src/
from spray_dynamics import SprayDynamics, SprayParameters # Configure spray parameters params = SprayParameters( pressure_psi=25.0, ambient_temp_c=0.0, surface_slope=5.0 ) # Create simulator spray = SprayDynamics(params) # Simulate 500mL application results = spray.simulate_radial_expansion(volume_ml=500) print(f"Coverage area: {results.coverage_area:.2f} m2") print(f"Max radius: {results.max_radius:.2f} m")
from integrated_simulation import IntegratedLunarSpraySimulation, MissionParameters # Configure mission params = MissionParameters( landing_site="Lunar South Pole - Shackleton Crater", spray_volume_ml=500.0, target_crop="Lettuce (Lactuca sativa)", growth_duration_days=30 ) # Run simulation sim = IntegratedLunarSpraySimulation(params) results = sim.run_complete_simulation(verbose=True) # Generate outputs sim.generate_report("mission_report.json") sim.plot_complete_timeline("timeline.png")
Output:
Coverage Area: 11.67 m2
Bond Strength: 3.52 MPa
Substrate Ready: Day 20
Total Energy: 45.32 kWh
Mission Status: โ SUCCESS
The spray is a multi-component geopolymer system:
| Component | Percentage | Role |
|---|---|---|
| Potassium Silicate (K2SiO3) | 60% | Primary binder + K nutrient |
| Magnesium Sulfate (MgSO4) | 20% | Mg/S nutrients + moisture retention |
| Calcium Phosphate (Ca3(PO4)2) | 15% | P/Ca source + pH buffering |
| Urea Phosphate | 5% | Nitrogen delivery |
K2SiO3 + Al2O3ยท2SiO2 (regolith) โ K-Al-Si-O (geopolymer network)
Mechanism:
- K2SiO3 dissociates โ 2K+ + SiO32โ
- SiO32โ attacks Si-O-Al bonds in regolith
- Depolymerization of aluminosilicate structures
- Re-polymerization into 3D geopolymer network
- K+ ions stabilize negative charges
Results:
- Curing time: 8-14 minutes (depending on temperature)
- Bond strength: 3.5-5.0 MPa
- UV-assisted: 30% faster curing
K-Al-Si-O + H2O + CO2 โ K+(aq) + Al-Si gel
MgSO4ยทnH2O โ Mg2+(aq) + SO42โ(aq)
Ca3(PO4)2 + organic acids โ Ca2+ + H2PO4โ
CO(NH2)2ยทH3PO4 โ NH4+ + NO3โ
Timeline:
- Days 0-15: Surface hardening complete, pH begins dropping
- Days 15-30: Major potassium release, nitrogen available
- Days 30-45: Phosphate mobilization, pH neutral
- Days 45-60: All nutrients at optimal levels
Nutrient Yields:
- Nitrogen: 1,500 ppm
- Phosphorus: 300 ppm
- Potassium: 2,000 ppm
- Magnesium: 500 ppm
- Sulfur: 800 ppm
| Volume | Radius | Area | Thickness |
|---|---|---|---|
| 250 mL | 2.41 m | 5.83 m2 | 1.07 mm |
| 500 mL | 3.42 m | 11.67 m2 | 1.07 mm |
| 1000 mL | 4.83 m | 23.34 m2 | 1.07 mm |
| Temperature | Standard | UV-Assisted |
|---|---|---|
| -20ยฐC | 18.3 min | 12.8 min |
| 0ยฐC | 14.0 min | 9.8 min |
| 20ยฐC | 10.7 min | 7.5 min |
| 40ยฐC | 8.2 min | 5.7 min |
For 30-day growth cycle:
- Total: ~45 kWh
- Heating: 60%
- Lighting: 25%
- Ventilation: 10%
- Other: 5%
Comparison:
- Microwave sintering: 2-4 kW for small samples (continuous power)
- Bio-spray: No energy for curing, passive hardening
bio-stabilizing-lunar-spray/
โ
โโโ README.md # Project overview, scope, and usage instructions
โโโ LICENSE
โโโ .gitignore # Git ignore rules for local and generated files
โโโ requirements.txt # Python dependencies for installation and execution
โโโ setup.py # Package configuration and installation metadata
โโโ integrated_simulation.py # End-to-end mission simulation entry point
โโโ CITATION.cff # Citation metadata for academic referencing
โ
โโโ docs/ # Formal project documentation
โ โโโ API.md # Public API and module-level reference
โ โโโ CHEMISTRY.md # Chemical formulations and material science background
โ โโโ DEPLOYMENT.md # Execution, deployment, and runtime guidance
โ โโโ white_paper.md # Research white paper describing theory and system design
โ
โโโ src/ # Core implementation
โ โโโ __init__.py # Package initialization
โ โโโ spray_dynamics.py # Radial spray expansion and surface coverage modeling
โ โโโ curing_simulation.py # Temperature-dependent curing and solidification dynamics
โ โโโ nutrient_release.py # Nutrient release kinetics and biological transition modeling
โ โโโ environmental_control.py # Environmental regulation and control logic
โ โโโ utils.py # Shared utilities, constants, and helper functions
โ
โโโ tests/ # Automated test suite
โโโ __init__.py # Test package initialization
โโโ conftest.py # Shared pytest fixtures and configuration
โโโ test_spray_dynamics.py # Unit tests for spray expansion logic
โโโ test_curing.py # Unit tests for curing and thermal behavior
โโโ test_nutrients.py # Unit tests for nutrient release dynamics
โโโ test_utils.py # Unit tests for shared utilities
โโโ test_integration.py # End-to-end system integration tests
โโโ test_benchmarks.py # Performance and regression benchmarks
This repository intentionally contains only the validated core implementation, automated tests, and formal documentation to preserve determinism, auditability, and review clarity.
Models radial expansion and coverage patterns.
from spray_dynamics import SprayDynamics, SprayParameters params = SprayParameters( pressure_psi=25.0, # Application pressure ambient_temp_c=0.0, # Surface temperature surface_slope=5.0, # Incline in degrees viscosity_cp=3000.0 # Fluid viscosity ) sim = SprayDynamics(params) results = sim.simulate_radial_expansion(volume_ml=500)
Key Methods:
calculate_coverage_radius(): Predict maximum spreadsimulate_radial_expansion(): Time-dependent expansionestimate_coverage_area(): Area calculationplot_expansion(): Visualization
Temperature-dependent geopolymer formation.
from curing_simulation import CuringSimulator sim = CuringSimulator(uv_assisted=True) profile = sim.simulate_curing(temperature_c=0, duration_min=30) print(f"Cure time: {sim.calculate_cure_time(0):.1f} min") print(f"Bond strength: {profile.bond_strength_mpa[-1]:.2f} MPa")
Key Methods:
calculate_cure_time(): Predict full cure timecalculate_bond_strength(): Strength at time tsimulate_curing(): Complete curing profilecompare_temperatures(): Multi-temperature analysis
Biological transition and plant readiness.
from nutrient_release import NutrientReleaseSimulator, PlantRequirements sim = NutrientReleaseSimulator(initial_ph=10.0) profile = sim.simulate_release_cycle(duration_days=60) requirements = PlantRequirements() ready_day, status = sim.check_plant_readiness(profile, requirements)
Key Methods:
calculate_*_release(): Individual nutrient kineticssimulate_release_cycle(): 60-day simulationcheck_plant_readiness(): Planting determinationplot_nutrient_profiles(): Visualization
AI-regulated dome systems.
from environmental_control import AIEnvironmentalController, ControlMode controller = AIEnvironmentalController(dome_id="DOME-001") controller.state.mode = ControlMode.GROWING controller.run_simulation(duration_hours=24.0) controller.plot_performance()
Key Features:
- PID controllers for temp/humidity/CO2
- Emergency response protocols
- Energy optimization
- Multi-dome coordination
This system is validated against established NASA research:
| Study | Year | Relevance |
|---|---|---|
| NASA TM-2017-219454 | 2017 | Geopolymer concrete for lunar construction |
| NASA TP-2020-220346 | 2020 | JSC-1A lunar regolith simulant development |
| NASA CR-2019-220260 | 2019 | Alternative binders for ISRU |
| ISS Veggie Experiments | 2014-2023 | Space crop nutrient requirements |
JSC-1A Lunar Simulant Composition:
- SiO2: 47% (excellent for geopolymers)
- Al2O3: 14% (alkali-activated target)
- FeO: 10.5%
- Others: 28.5%
Result: Ideal chemistry for potassium silicate activation.
Current: TRL 3-4 (Proof of concept demonstrated in lab)
Development Roadmap:
- Phase 1 (12-18 months): Lab optimization, vacuum chamber testing
- Phase 2 (18-24 months): Field testing at lunar analog sites
- Phase 3 (24-36 months): ISS microgravity testing
- Phase 4 (36+ months): Lunar surface demonstration
Target: TRL 9 (Proven in operational environment)
If you use this work in your research, please cite:
@article{feeney2025biostabilizing, title={Bio-Stabilizing Lunar Spray: A Dual-Purpose Surface and Agricultural Solution for Lunar Habitats}, author={Feeney Jr, Don Michael}, journal={Lunar Engineering White Paper}, year={2025}, month={April}, note={Quality \& Systems Engineer | AI Safety, Validation \& Regulated Systems} }
Author: Don Michael Feeney Jr
Affiliation: Quality & Systems Engineer | AI Safety, Validation & Regulated Systems
Date: April 12, 2025
We welcome contributions from the space engineering, chemistry, agriculture, and AI communities!
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- ๐งช Chemistry: Formulation optimization, alternative compounds
- ๐ Modeling: Enhanced physics models, ML optimization
- ๐ฑ Agriculture: Crop-specific nutrient profiles, growth models
- ๐ค AI: Advanced control algorithms, predictive maintenance
- ๐ Documentation: Tutorials, use cases, translations
- ๐งช Testing: Unit tests, integration tests, validation data
- Follow PEP 8 style guidelines
- Add unit tests for new features
- Update documentation
- Maintain backward compatibility
- Use type hints
This project is now 100% open-source under the MIT License. You are free to use, modify, and distribute this work in academic, personal, educational, and commercial settings, subject to the terms in the LICENSE file.
- NASA: For lunar regolith simulant data and ISRU research
- ISS Veggie Team: For space agriculture nutrient requirements
- Geopolymer Research Community: For alkali-activation chemistry
- Open Source Community: For tools and frameworks
I would like to acknowledge Microsoft Copilot, Anthropic Claude, Google Jules, and OpenAI ChatGPT for their meaningful assistance in refining concepts, improving clarity, and strengthening the overall quality of this work.
Don Michael Feeney Jr
Quality & Systems Engineer | AI Safety, Validation & Regulated Systems
- Email: [dfeen87@example.com]
- Project Issues: GitHub Issues
This architecture is fully open-source under the MIT License. If your organization requires custom scaling, proprietary integration, or dedicated technical consulting to deploy these models at an enterprise level, please reach out at: dfeen87@gmail.com
- ISS microgravity experiments
- Lunar analog site demonstrations (Iceland, Hawaii)
- Multi-dome interconnected systems
- Mars regolith adaptation
- Closed-loop life support integration
๐ Making the Moon a place we can call home ๐ฑ
"The terrain becomes programmable. The atmosphere becomes engineered.
And the dream of living beyond Earth becomes a system instead of a question."