Skip to content

Commit 07027f1

Browse files
authored
Merge pull request #30 from pvlib/tracker
Add tracker product data model
2 parents 9c01a13 + 1bfede9 commit 07027f1

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

Examples/05 - VerySimpleFixedPVC2_with_electrical_layout_v3.pvc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,11 @@
535535
</extra>
536536
</instance_geometry>
537537
<extra>
538+
<!-- data about the table -->
538539
<technique profile="PVCollada-2.0">
539540
<!-- table tag -->
540541
<pv:table>
542+
<pv:type>fixed</pv:type>
541543
</pv:table>
542544
</technique>
543545
</extra>

schema/pvcollada_schema_0.1.xsd

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,31 @@ xmlns:collada="http://www.collada.org/2008/03/COLLADASchema">
6161
<xs:enumeration value="tracker" />
6262
</xs:restriction>
6363
</xs:simpleType>
64+
<xs:simpleType name="table_type_enum" final="restriction">
65+
<xs:restriction base="xs:string">
66+
<xs:enumeration value="fixed" />
67+
<xs:enumeration value="tracker" />
68+
</xs:restriction>
69+
</xs:simpleType>
70+
<xs:simpleType name="tracker_type_enum" final="restriction">
71+
<xs:restriction base="xs:string">
72+
<xs:enumeration value="single_axis" />
73+
<xs:enumeration value="dual_axis" />
74+
</xs:restriction>
75+
</xs:simpleType>
76+
<xs:simpleType name="torque_tube_shape_enum" final="restriction">
77+
<xs:restriction base="xs:string">
78+
<xs:enumeration value="circle" />
79+
<xs:enumeration value="rectangle" />
80+
<xs:enumeration value="octogon" />
81+
</xs:restriction>
82+
</xs:simpleType>
83+
<xs:simpleType name="drive_type_enum" final="restriction">
84+
<xs:restriction base="xs:string">
85+
<xs:enumeration value="independent" />
86+
<xs:enumeration value="linked" />
87+
</xs:restriction>
88+
</xs:simpleType>
6489
<xs:simpleType name="post_type_enum" final="restriction">
6590
<xs:restriction base="xs:string">
6691
<xs:enumeration value="rack" />
@@ -897,6 +922,44 @@ xmlns:collada="http://www.collada.org/2008/03/COLLADASchema">
897922
The table tag should only appear in the extra/technique section of a Collada node object. The node itself must have one or more instance_geometry
898923
descendant tags that contain an instance_rack tag.</xs:documentation>
899924
</xs:annotation>
925+
<xs:complexType>
926+
<xs:sequence>
927+
<xs:element name="type" type="table_type_enum" />
928+
<xs:element name="manufacturer" type="xs:string" minOccurs="0" />
929+
<xs:element name="tracker_type" type="tracker_type_enum" minOccurs="0">
930+
<xs:annotation>
931+
<xs:documentation>Tracker type (single_axis, dual_axis).</xs:documentation>
932+
</xs:annotation>
933+
</xs:element>
934+
<xs:element name="tracker_max_rotation" type="xs:float" minOccurs="0">
935+
<xs:annotation>
936+
<xs:documentation>Nominal maximum angle of rotation from horizontal for a single-axis tracker. A pair of values must be provided, e.g., (-45, 45) with the first value being negative.
937+
The tracker_azimuth of the associated racks defines the sign of the rotation angle. Rotation is a right-hand rotation around the azimuth axis.
938+
For example, a positive rotation for azimuth=180° is to the west.</xs:documentation>
939+
</xs:annotation>
940+
</xs:element>
941+
<xs:element name="tracker_torque_tube_shape" type="torque_tube_shape_enum" minOccurs="0">
942+
<xs:annotation>
943+
<xs:documentation>Shape of the torque tube's cross-section for a single-axis tracker.</xs:documentation>
944+
</xs:annotation>
945+
</xs:element>
946+
<xs:element name="tracker_torque_tube_diameter" type="xs:float" minOccurs="0">
947+
<xs:annotation>
948+
<xs:documentation>Nominal diameter of a single-axis tracker torque tube.</xs:documentation>
949+
</xs:annotation>
950+
</xs:element>
951+
<xs:element name="tracker_max_gap_angle" type="xs:float" minOccurs="0">
952+
<xs:annotation>
953+
<xs:documentation>Maximum angle of a torque axis formed in a gap between racks on a single-axis tracker.</xs:documentation>
954+
</xs:annotation>
955+
</xs:element>
956+
<xs:element name="tracker_drive_type" type="drive_type_enum" minOccurs="0">
957+
<xs:annotation>
958+
<xs:documentation>Drive type of a single-axis tracker (independent for a single row, linked for multiple rows).</xs:documentation>
959+
</xs:annotation>
960+
</xs:element>
961+
</xs:sequence>
962+
</xs:complexType>
900963
</xs:element>
901964
<xs:element name="post">
902965
<xs:annotation>

0 commit comments

Comments
 (0)