Skip to content

Proposal to Enhance Test Cases with Detailed Semantic Models #736

@LiMingchen159

Description

@LiMingchen159

Description :The current bacnet.ttl file used in our test cases defines points with limited semantic details, primarily focusing on superclasses. It lacks critical information such as units and boundary values, which makes it difficult to fully utilize the data in various scenarios.

Current Issue:

For example, the existing definition for a point in bacnet.ttl is:

bldg:con_oveTSetCoo_u a brick:Point ;
	ref:hasExternalReference [
		bacnet:object-identifier "analog-output,32" ;
		bacnet:object-type "analog-output" ;
		bacnet:object-name "con_oveTSetCoo_u" ;
		bacnet:objectOf bldg:boptest-proxy-device
	] .

This definition includes basic references like the object identifier and name, but it doesn’t include additional semantic information like units or boundary values.

Proposed Enhancement:

I suggest adding richer semantic details for each test case, such as units, boundary values, and more specific point definitions. The enhanced model would look like this:

bldg:con_oveTSetCoo_u a brick:Zone_Air_Cooling_Temperature_Setpoint ;
	ref:hasExternalReference [
		bacnet:object-identifier "analog-input,32" ;
		bacnet:object-type "analog-input" ;
		bacnet:object-name "con_oveTSetCoo_u" ;
		bacnet:objectOf bldg:boptest-proxy-device
	] ;
	brick:hasUnit unit:K ;
	brick:Max_Limit "308.15"^^xsd:float ;
	brick:Min_Limit "278.15"^^xsd:float .

In this updated definition:

  • The point is more specifically defined as a brick:Zone_Air_Cooling_Temperature_Setpoint.

  • It includes the unit (unit:K for Kelvin).

  • It also includes boundary values for the point (Max_Limit and Min_Limit), represented in xsd:float.

Limitations:

  • The current bacnet.ttl only defines points at a high level (using superclasses), and it lacks unit and boundary information, making it harder to apply this data effectively in certain contexts, particularly when modeling specific system behaviors or enforcing constraints.

  • The Max_Limit and Min_Limit values are just examples. The usage and appropriateness of these limits need to be confirmed with the Brick team.

  • The information for the semantic_model.ttl will be derived from:

    1. The bacnet.ttl file associated with each test case.

    2. The relevant documentation related to each test case.

Proposed Changes:

  • Create a new semantic_model.ttl for each test case.

  • Include units, boundary values, and additional semantic details for each point, improving the clarity and usability of the models.

Since I do not have administrative privileges to make these changes directly, I would like to request approval from the repository maintainers for this proposal. If the proposal is accepted, I will proceed with implementing these changes over the next few days.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions