Skip to content

Add PrincipalLightingSystemType#473

Merged
JieXiong9119 merged 3 commits intodevelop-v2from
feat/add-principal-lighting-system-type
Jun 14, 2023
Merged

Add PrincipalLightingSystemType#473
JieXiong9119 merged 3 commits intodevelop-v2from
feat/add-principal-lighting-system-type

Conversation

@JieXiong9119
Copy link
Copy Markdown
Contributor

@JieXiong9119 JieXiong9119 commented May 30, 2023

See proposal

Any background context you want to provide?

What does this PR do?

To add PrincipalLightingSystemType under Building and Section to enable direct mapping to/from Audit Template Tool, and omit the usage of UDF. However we do not recommend using this element other than AT use case, Instead, in BuildingSync world, we recommend using System/LightingSystems/LightingSystem/LampType to specify lighting type and link it to the correponding Building or Section via LightingSystem/LinkedPremises.

How should this be manually tested?

To do: need to confirm if the enumerations mapped correctly to AT library.
To do: need to make sure the usage of referencing global element is correct.
To do: test for schema and example validity.

What are the relevant tickets?

#470
#466

@JieXiong9119 JieXiong9119 added Schema: General General update to BuildingSync Non-breaking Change feature Adding new functionality to BuildingSync UDFs labels May 30, 2023
@JieXiong9119 JieXiong9119 requested review from markborkum and nllong May 30, 2023 23:13
@JieXiong9119 JieXiong9119 requested a review from laurenliz22 May 30, 2023 23:14
@markborkum
Copy link
Copy Markdown
Contributor

@JieXiong9119, The range for the "Principal Lighting System Type" user-defined field:

  • Compact Fluorescent
  • Halogen
  • Incandescent
  • LED
  • Mercury Vapor
  • Metal Halide
  • Sodium Vapor High Pressure
  • T5
  • T5HO
  • T8
  • Super T8
  • T12
  • T12HO

Source: https://github.com/pnnl/assetscore-schematron-docs/blob/9ed7eb94e91a553d28cc9873058a0cc82fb9b8f2/docs/Audit_Template/New%20York%20City%20Energy%20Efficiency%20Report.xml#L3379-L3381

@JieXiong9119
Copy link
Copy Markdown
Contributor Author

@JieXiong9119, The range for the "Principal Lighting System Type" user-defined field:

  • Compact Fluorescent
  • Halogen
  • Incandescent
  • LED
  • Mercury Vapor
  • Metal Halide
  • Sodium Vapor High Pressure
  • T5
  • T5HO
  • T8
  • Super T8
  • T12
  • T12HO

Source: https://github.com/pnnl/assetscore-schematron-docs/blob/9ed7eb94e91a553d28cc9873058a0cc82fb9b8f2/docs/Audit_Template/New%20York%20City%20Energy%20Efficiency%20Report.xml#L3379-L3381

Thanks. Would we want to keep "Other" and "Unknown"?

@markborkum
Copy link
Copy Markdown
Contributor

Would we want to keep "Other" and "Unknown"?

Including them would align with the definitions for other enumerations in the schema.

Another design question is whether to include all lighting system types that are present in the schema.

The combined options might have overlaps (e.g. LED and Solid State Lighting).
Copy link
Copy Markdown
Contributor

@markborkum markborkum left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks, @JieXiong9119.

Comment thread proposals/2023/Add PrincipalLightingSystemType.md Outdated
Copy link
Copy Markdown
Member

@nllong nllong left a comment

Choose a reason for hiding this comment

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

looks good, small suggestion

Co-authored-by: Nicholas Long <1907354+nllong@users.noreply.github.com>
@JieXiong9119 JieXiong9119 merged commit 6c6a5e3 into develop-v2 Jun 14, 2023
@JieXiong9119 JieXiong9119 deleted the feat/add-principal-lighting-system-type branch June 14, 2023 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Adding new functionality to BuildingSync Non-breaking Change Schema: General General update to BuildingSync UDFs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants