{"id":30895461,"url":"https://github.com/ladybug-tools/honeybee-openstudio-gem","last_synced_at":"2026-01-17T21:21:24.774Z","repository":{"id":39704806,"uuid":"169456349","full_name":"ladybug-tools/honeybee-openstudio-gem","owner":"ladybug-tools","description":":honeybee: :gem: Library and measures for translating between Honeybee JSON schema and OpenStudio Model schema (OSM)","archived":false,"fork":false,"pushed_at":"2025-09-03T20:22:07.000Z","size":2758,"stargazers_count":7,"open_issues_count":2,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-03T22:13:23.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ladybug-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2019-02-06T18:37:30.000Z","updated_at":"2025-09-03T20:20:16.000Z","dependencies_parsed_at":"2022-08-02T11:52:07.750Z","dependency_job_id":"8472e7df-9094-44cb-bba9-e8f29dbdcd6a","html_url":"https://github.com/ladybug-tools/honeybee-openstudio-gem","commit_stats":{"total_commits":350,"total_committers":6,"mean_commits":"58.333333333333336","dds":0.3828571428571429,"last_synced_commit":"b8e278511120f7985664b43b2079a673eb9b03e3"},"previous_names":[],"tags_count":213,"template":false,"template_full_name":null,"purl":"pkg:github/ladybug-tools/honeybee-openstudio-gem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fhoneybee-openstudio-gem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fhoneybee-openstudio-gem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fhoneybee-openstudio-gem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fhoneybee-openstudio-gem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ladybug-tools","download_url":"https://codeload.github.com/ladybug-tools/honeybee-openstudio-gem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fhoneybee-openstudio-gem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231551,"owners_count":25245659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"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":[],"created_at":"2025-09-08T22:06:29.251Z","updated_at":"2026-01-17T21:21:24.737Z","avatar_url":"https://github.com/ladybug-tools.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/ladybug-tools/honeybee-openstudio-gem/workflows/CI/badge.svg)](https://github.com/ladybug-tools/honeybee-openstudio-gem/actions)\n\n![Ruby 2.7](https://img.shields.io/badge/ruby-2.7-blue.svg)\n\n# honeybee-openstudio-gem\n\nLibrary and measures for translating between Honeybee JSON schema and OpenStudio Model schema (OSM).\n\n## Run the measures of this repo using OpenStudio CLI\n\nRunning the measures using OpenStudio CLI requires no installation other than cloning\nthis repo and installing OpenStudio.\n\n1. Write an OpenStudio Workflow (osw) JSON that passes honeybee model and simulation\nparameter JSON files to the measures. Here is a sample where the items in parentheses\nshould be replaced with specific file paths:\n\n```\n{\n    \"measure_paths\": [(PATH TO THIS REPOSITORY)/lib/measures\"],\n    \"steps\": [\n        {\n            \"arguments\": {\"model_json\": (PATH TO MODEL JSON)},\n            \"measure_dir_name\": \"from_honeybee_model\"\n        },\n        {\n            \"arguments\": {\"simulation_parameter_json\": (PATH TO SIMULATION PARAMETER JSON)},\n            \"measure_dir_name\": \"from_honeybee_simulation_parameter\"\n        }\n    ]\n}\n```\n\n2. Call the OpenStudio CLI from command line, making sure to pass this repository's\nlib folder to the CLI using the `-I` (or `--include`) option. Here is a sample\nwhere the items in parentheses should be replaced with specific file paths:\n\n```\n\"(OPENSTUDIO INSTALLATION PATH)/bin/openstudio.exe\" -I (PATH TO THIS REPOSITORY)/lib run -m -w (PATH TO OSW FILE)\n\n```\n\n## Local Development\n\n1. Clone this repo locally\n```\ngit clone git@github.com:ladybug-tools/honeybee-openstudio-gem\n\n# or\n\ngit clone https://github.com/ladybug-tools/honeybee-openstudio-gem\n```\n\n2. Install dependencies:\nFirst install the OpenStudio Extension Gem following the\n[installation instructions on the gem's github](https://github.com/NREL/openstudio-extension-gem#installation)\nThis will involve both the installation of OpenStudio and Ruby.\nThen, you must install the OpenStudio Extension Gem itself with:\n```\ngem install openstudio-extension\n```\nThen, the specific dependencies of this repository can be installed by running:\n```\ncd honeybee-openstudio-gem\nbundle update\n```\n\n3. Run Core Library Tests:\n```\ncd honeybee-openstudio-gem\nbundle exec rake\n```\n\n4. Run Measure Tests:\n```\ncd honeybee-openstudio-gem/lib/measures/from_honeybee_model/tests/\nbundle exec ruby from_honeybee_model_test.rb\n\ncd honeybee-openstudio-gem/lib/measures/from_honeybee_simulation_parameter/tests/\nbundle exec ruby from_honeybee_simulation_parameter_test.rb\n```\n\n5. Update doc_templates:\n```\ncd honeybee-openstudio-gem\nbundle exec rake openstudio:update_copyright\n```\n\n6. See all available rake tasks:\n```\ncd honeybee-openstudio-gem\nbundle exec rake -T\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladybug-tools%2Fhoneybee-openstudio-gem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fladybug-tools%2Fhoneybee-openstudio-gem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladybug-tools%2Fhoneybee-openstudio-gem/lists"}