Skip to content

Add measure spec tables, clean up measure docs - #2

Open
JieXiong9119 wants to merge 1 commit into
developfrom
update-measure-docs
Open

Add measure spec tables, clean up measure docs#2
JieXiong9119 wants to merge 1 commit into
developfrom
update-measure-docs

Conversation

@JieXiong9119

Copy link
Copy Markdown
Contributor

No description provided.

@JieXiong9119 JieXiong9119 changed the title Add measure spec tables into measure's README Add measure spec tables, clean up measure docs Jul 17, 2026
@JieXiong9119
JieXiong9119 requested review from Copilot and kflemin July 27, 2026 16:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands and standardizes measure documentation by adding measure README pages and ASHRAE 211 L2 semantic-mapping references, plus “BuildingSync Reader Mapping” tables to align measure arguments with candidate BuildingSync data paths.

Changes:

  • Added/expanded per-measure documentation READMEs (usage, arguments, OSW examples).
  • Added ASHRAE 211 Level 2 semantic-mapping documents for measures and updated existing semantic-mapping docs.
  • Added “BuildingSync Reader Mapping” tables across multiple measure docs to describe potential BuildingSync-to-argument sourcing.

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
lib/measures/set_infiltration_by_ach/docs/README.md New measure README describing purpose, arguments, BuildingSync mapping, and OSW example.
lib/measures/set_infiltration_by_ach/docs/ashrae-211-l2-semantic-mapping.md New ASHRAE 211 L2 semantic mapping doc for ACH-based infiltration translation.
lib/measures/set_infiltration_by_ach/docs/ASHRAE_211_L2_SEMANTIC_MAPPING.md Adds BuildingSync Reader Mapping section to existing semantic mapping doc.
lib/measures/modify_schedules/docs/USAGE.md Adds BuildingSync Reader Mapping section to usage documentation.
lib/measures/modify_schedules/docs/README.md New comprehensive measure README covering payload formats, binding behavior, errors, and testing notes.
lib/measures/modify_schedules/docs/ashrae-211-l2-semantic-mapping.md New ASHRAE 211 L2 semantic mapping doc for schedule/operations translation.
lib/measures/modify_hvac/docs/README.md New HVAC measure README describing supported types, arguments, mappings, and SDK setters.
lib/measures/modify_hvac/docs/modify_hvac_measure.md Adds BuildingSync Reader Mapping section to detailed HVAC measure doc.
lib/measures/modify_hvac/docs/ashrae-211-l2-semantic-mapping.md Updates semantic mapping doc to reference the README as the primary implementation reference.
lib/measures/modify_envelope_insulation/docs/README.md New semantic mapping document added as the measure docs README.
lib/measures/modify_envelope_insulation/docs/ASHRAE_211_L2_SEMANTIC_MAPPING.md Adds BuildingSync Reader Mapping section to existing envelope semantic mapping doc.
lib/measures/disable_sizing_runs/docs/README.md New measure README describing behavior, workflow placement, and OSW example.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"day_type": "Weekday|Weekend|Holiday",
"start_time": "HH:MM:SS",
"end_time": "HH:MM:SS",
"value_percent": 0–100
### Occupancy Schedules
- Added to building-level DefaultScheduleSet as occupancy schedule
- Applied to all People objects via the default schedule set
- If `replace_existing=true`, explicit people activity schedules are cleared

- All times are stored as total seconds from midnight (0–86,400)
- OpenStudio `Time` objects are constructed from (days=0, hours, minutes, seconds) components
- Timestamps are clamped to 23:59:59 maximum; 24:00:00 is converted to 23:59:59
Comment on lines +357 to +360
```bash
cd /repo
RUN_OPENSTUDIO_INTEGRATION=1 pytest tests/test_measure_authoring.py -k "modify_schedules" -v
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants