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/s²)
- 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, CO₂
- 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} m²")
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 m²
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 (K₂SiO₃) | 60% | Primary binder + K nutrient |
| Magnesium Sulfate (MgSO₄) | 20% | Mg/S nutrients + moisture retention |
| Calcium Phosphate (Ca₃(PO₄)₂) | 15% | P/Ca source + pH buffering |
| Urea Phosphate | 5% | Nitrogen delivery |
K₂SiO₃ + Al₂O₃·2SiO₂ (regolith) → K-Al-Si-O (geopolymer network)
Mechanism:
- K₂SiO₃ dissociates → 2K⁺ + SiO₃²⁻
- SiO₃²⁻ 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 + H₂O + CO₂ → K⁺(aq) + Al-Si gel
MgSO₄·nH₂O → Mg²⁺(aq) + SO₄²⁻(aq)
Ca₃(PO₄)₂ + organic acids → Ca²⁺ + H₂PO₄⁻
CO(NH₂)₂·H₃PO₄ → NH₄⁺ + NO₃⁻
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 m² | 1.07 mm |
| 500 mL | 3.42 m | 11.67 m² | 1.07 mm |
| 1000 mL | 4.83 m | 23.34 m² | 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/CO₂
- 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:
- SiO₂: 47% (excellent for geopolymers)
- Al₂O₃: 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 available for non‑commercial use only under the terms of the included LICENSE file. Commercial use requires a separate paid license.
- 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
- 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."