Skip to content

Feature/mechanical - #44

Merged
yanyanzhu-pnnl merged 4 commits into
developfrom
feature/mechanical
Oct 26, 2026
Merged

yanyanzhu-pnnl merged 4 commits into
developfrom
feature/mechanical

Conversation

@yanyanzhu-pnnl

Copy link
Copy Markdown
Collaborator

No description provided.

yanyanzhu-pnnl and others added 4 commits October 22, 2026 16:34
…test

- project_mechanical_operations: HVAC systems, fan systems (with fans),
  plants, and water heaters, identified by description with UI-style
  default names; fanSystemKey UUIDs linked via
  assign_fan_system_to_hvac_system
- Mechanical API calls on COMcheckClient/COMCheckApiService for the
  /{energyCode}/mechanical endpoints, with fan system write-back
- CustomBaseModel resolves list element types from field annotations
- Skill, docs, example, and changelog updates

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
add/update/remove_pressure_drop_credit_*_fan_system match credits by
type (unique per fan system, as in the UI). Updating an input clears
the engine-calculated pressureDropCredit; adding to a fan system that
doesn't use the brake HP method warns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
examples/project_operations/mechanical_operations.py walks through
adding, linking, updating, and removing HVAC systems, fan systems (with
fans and pressure drop credits), plants, and water heaters. The
get_*_keys functions now report unset fields as None instead of MISSING.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DEFAULT_HVAC_SYSTEM, DEFAULT_FAN_SYSTEM, DEFAULT_FAN, DEFAULT_HVAC_PLANT,
and DEFAULT_WATER_HEATER match what the UI's Add dialogs create, with an
empty description so adding them gives UI-style names. Docs, skill, and
the mechanical operations example use the new get_default_*_template
functions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yanyanzhu-pnnl
yanyanzhu-pnnl requested a review from a team October 23, 2026 00:32
@yanyanzhu-pnnl
yanyanzhu-pnnl merged commit 229e456 into develop Oct 26, 2026
1 check passed
@yanyanzhu-pnnl
yanyanzhu-pnnl deleted the feature/mechanical branch November 2, 2026 17:58
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.

1 participant