{"id":34696955,"url":"https://github.com/epicpast/cloudgrow-sim","last_synced_at":"2026-05-28T19:01:26.718Z","repository":{"id":328574352,"uuid":"1114091007","full_name":"epicpast/cloudgrow-sim","owner":"epicpast","description":"ASHRAE-compliant greenhouse climate simulation framework with YAML configuration, CLI interface, and plugin-based component system for sensors, actuators, and controllers","archived":false,"fork":false,"pushed_at":"2025-12-15T16:38:51.000Z","size":303,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-26T10:47:23.418Z","etag":null,"topics":["agriculture","ashrae","climate-control","controlled-environment-agriculture","greenhouse","hvac","iot","python","simulation","smart-farming"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epicpast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-10T22:17:16.000Z","updated_at":"2025-12-14T04:57:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/epicpast/cloudgrow-sim","commit_stats":null,"previous_names":["epicpast/cloudgrow-sim"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/epicpast/cloudgrow-sim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicpast%2Fcloudgrow-sim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicpast%2Fcloudgrow-sim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicpast%2Fcloudgrow-sim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicpast%2Fcloudgrow-sim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epicpast","download_url":"https://codeload.github.com/epicpast/cloudgrow-sim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicpast%2Fcloudgrow-sim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33622070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agriculture","ashrae","climate-control","controlled-environment-agriculture","greenhouse","hvac","iot","python","simulation","smart-farming"],"created_at":"2025-12-24T22:37:28.288Z","updated_at":"2026-05-28T19:01:26.713Z","avatar_url":"https://github.com/epicpast.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloudgrow-sim\n\nAn ASHRAE-compliant greenhouse climate simulation framework. Simulate temperature, humidity, ventilation, and heating/cooling systems with physics-based models.\n\n## Features\n\n- **ASHRAE-compliant physics**: Psychrometrics, solar radiation, heat transfer, and ventilation calculations\n- **Component system**: Sensors, actuators, controllers, and modifiers with plugin architecture\n- **YAML configuration**: Define scenarios without writing code\n- **CLI interface**: Run simulations from the command line\n- **Multiple output formats**: Console, CSV, and JSON\n\n## Installation\n\n```bash\n# Using uv (recommended)\nuv add cloudgrow-sim\n\n# Using pip\npip install cloudgrow-sim\n```\n\n## Quick Start\n\n### Command Line Interface\n\nThe `cgsim` CLI provides easy access to simulations:\n\n```bash\n# Run a built-in scenario\ncgsim run --scenario basic\n\n# Run your own YAML configuration\ncgsim run my-greenhouse.yaml\n\n# List available built-in scenarios\ncgsim list\n\n# Generate a starter configuration\ncgsim init \"My Greenhouse\" -o my-greenhouse.yaml\n\n# Validate a configuration file\ncgsim validate my-greenhouse.yaml\n```\n\n### CLI Options\n\n```bash\n# Override simulation duration (in hours)\ncgsim run config.yaml --duration 48\n\n# Override time step (in seconds)\ncgsim run config.yaml --time-step 30\n\n# Output results to directory\ncgsim run config.yaml --output-dir ./results\n\n# Choose output format (console, csv, json)\ncgsim run config.yaml --format json --output-dir ./results\n\n# Run quietly (suppress progress output)\ncgsim run config.yaml --quiet\n```\n\n### Python API\n\n```python\nfrom cloudgrow_sim.core.config import load_config\nfrom cloudgrow_sim.simulation.factory import create_engine_from_config\n\n# Load a YAML configuration\nconfig = load_config(\"my-greenhouse.yaml\")\n\n# Create and run the simulation\nengine = create_engine_from_config(config)\nstats = engine.run()\n\nprint(f\"Completed {stats.steps_completed} steps\")\nprint(f\"Simulation time: {stats.simulation_time}\")\n```\n\n## YAML Configuration\n\nDefine greenhouse scenarios in YAML:\n\n```yaml\nname: \"My Greenhouse\"\ntime_step: 60.0       # seconds\nduration: 86400.0     # 24 hours\n\nlocation:\n  latitude: 37.5\n  longitude: -77.4\n  elevation: 50.0\n  timezone: \"America/New_York\"\n\ngeometry:\n  type: gable\n  length: 10.0\n  width: 6.0\n  height_ridge: 3.5\n  height_eave: 2.4\n\ncomponents:\n  sensors:\n    - type: temperature\n      name: temp_interior\n      location: interior\n\n  actuators:\n    - type: exhaust_fan\n      name: vent_fan\n      controller: temp_control\n      max_flow_rate: 1.0\n      power_consumption: 500.0\n\n  controllers:\n    - type: hysteresis\n      name: temp_control\n      process_variable: temp_interior.temperature\n      setpoint: 28.0\n      hysteresis: 2.0\n```\n\nSee [docs/yaml-configuration.md](docs/yaml-configuration.md) for the complete schema reference.\n\n## Built-in Scenarios\n\n| Scenario | Description |\n|----------|-------------|\n| `basic` | Simple hobby greenhouse with one fan |\n| `full-climate` | Complete climate control system |\n| `winter-heating` | Cold weather heating stress test |\n| `summer-cooling` | Hot weather cooling stress test |\n\n## Development\n\n```bash\n# Clone the repository\ngit clone https://github.com/OWNER/cloudgrow-sim.git\ncd cloudgrow-sim\n\n# Install with dev dependencies\nuv sync\n\n# Run tests\nmake test\n\n# Run all quality checks\nmake quality\n```\n\n## Documentation\n\n- [User Guide](docs/user-guide.md) - Getting started and tutorials\n- [CLI Reference](docs/cli-reference.md) - Complete CLI documentation\n- [YAML Configuration](docs/yaml-configuration.md) - Configuration schema\n- [Scenarios Guide](docs/scenarios.md) - Using and creating scenarios\n- [Quick Reference](docs/quick-reference.md) - Cheat sheet\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicpast%2Fcloudgrow-sim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepicpast%2Fcloudgrow-sim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicpast%2Fcloudgrow-sim/lists"}