Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 21 additions & 15 deletions examples/fan_spec/schema/ASHRAE205.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ Schema:

#Data Group Templates

RepresentationSpecificationTemplate:
Object Type: "Data Group Template"
Required Data Elements:
metadata:
Required: True
performance:
Required: True
description:
Required: False

PerformanceTemplate:
Object Type: "Data Group Template"
Custom Attributes: ["Scalable"]

PerformanceMapTemplate:
Object Type: "Data Group Template"
Required Data Elements:
Expand All @@ -35,6 +49,7 @@ GridVariablesTemplate:
- "[Numeric]"
- "[Integer]"
Data Elements Required: True
Custom Attributes: ["Scalable"]

LookupVariablesTemplate:
Object Type: "Data Group Template"
Expand All @@ -43,22 +58,13 @@ LookupVariablesTemplate:
- "[Integer]"
- "[<OperationState>]"
Data Elements Required: True
Custom Attributes: ["Scalable"]

RepresentationSpecificationTemplate:
Object Type: "Data Group Template"
Required Data Elements:
metadata:
Required: True
performance:
Required: True
description:
Required: False
Custom Attributes:
Scalable:
Type: Boolean
Applies To: ["Numeric"]
Description: "Indicates whether the value can be scaled"
Applies to Children: True
Scalable:
Object Type: "Custom Attribute"
Type: Boolean
Description: "Indicates whether the value can be scaled"
Applies To: ["Numeric"]

RatingTemplate:
Object Type: "Data Group Template"
Expand Down
6 changes: 3 additions & 3 deletions examples/fan_spec/schema/RS0003.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ ProductInformation:

Performance:
Object Type: "Data Group"
Data Group Template: "PerformanceTemplate"
Data Elements:
nominal_standard_air_volumetric_flow_rate:
Description: "Nominal or rated air flow rate at standard air conditions"
Expand Down Expand Up @@ -193,6 +194,7 @@ Performance:

AssemblyComponent:
Object Type: "Data Group"
Custom Attributes: ["Scalable"]
Data Elements:
component_type:
Description: "Type of component"
Expand Down Expand Up @@ -220,6 +222,7 @@ AssemblyComponent:

SystemCurve:
Object Type: "Data Group"
Custom Attributes: ["Scalable"]
Data Elements:
standard_air_volumetric_flow_rate:
Description: "Volumetric air flow rate through an air distribution system at standard air conditions"
Expand Down Expand Up @@ -301,7 +304,6 @@ LookupVariablesContinuous:
operation_state:
Description: "The operation state at the operating conditions"
Type: "[<OperationState>]"
Units: "-"
Required: True

PerformanceMapDiscrete:
Expand All @@ -327,7 +329,6 @@ GridVariablesDiscrete:
Constraints:
- ">=0"
- "[1..]"
Units: "-"
Notes: "Data shall be provided for all allowable discrete speeds or settings"
Required: True
static_pressure_difference:
Expand Down Expand Up @@ -374,5 +375,4 @@ LookupVariablesDiscrete:
operation_state:
Description: "The operation state at the operating conditions"
Type: "[<OperationState>]"
Units: "-"
Required: True
2 changes: 1 addition & 1 deletion examples/fan_spec/schema/RS0005.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ ProductInformation:

Performance:
Object Type: "Data Group"
Data Group Template: "PerformanceTemplate"
Data Elements:
maximum_power:
Description: "Maximum operational input power to the motor"
Expand Down Expand Up @@ -154,5 +155,4 @@ LookupVariables:
operation_state:
Description: "The operation state at the operating conditions"
Type: "[<OperationState>]"
Units: "-"
Required: True
2 changes: 1 addition & 1 deletion examples/fan_spec/schema/RS0006.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ ProductInformation:

Performance:
Object Type: "Data Group"
Data Group Template: PerformanceTemplate
Data Elements:
maximum_power:
Description: "Maximum power draw of the drive"
Expand Down Expand Up @@ -154,5 +155,4 @@ LookupVariables:
operation_state:
Description: "The operation state at the operating conditions"
Type: "[<OperationState>]"
Units: "-"
Required: True
1 change: 0 additions & 1 deletion examples/fan_spec/schema/RS0007.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,4 @@ LookupVariables:
operation_state:
Description: "The operation state at the operating conditions"
Type: "[<OperationState>]"
Units: "-"
Required: True
1 change: 1 addition & 0 deletions examples/time_series/schema/TimeSeries.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ TimeSeries:
values:
Description: Time series data values
Type: "[Numeric]"
Units: "-" # TODO: Figure out a better way to indicate that units are specified by referencing data group
Constraints:
- "[1..]"
Required: true
Loading