-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPvSystem.xsd
More file actions
223 lines (222 loc) · 12.6 KB
/
PvSystem.xsd
File metadata and controls
223 lines (222 loc) · 12.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<?xml version="1.0" encoding="UTF-8"?>
<!--**************************************************************************
schema: PvDesign.xsd v 2.0
Author(s):
v 2.0 Michael Palmquist (SolarNexus Inc). Input From: Derek Mitchell (Verdiseno, SolarDesignTool.com)
v 1.x Michael Palmquist (SolarNexus Inc). Input From: Mark Galli (Solmetric)
Description: This schema defines complete PV systems. It is modular. It can define any system architecture at
various levels of detail.
**************************************************************************** -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.iepmodel.net"
targetNamespace="http://www.iepmodel.net" elementFormDefault="qualified">
<xs:include schemaLocation="CommonSolar.xsd"/>
<xs:complexType name="pvSystem">
<xs:annotation>
<xs:documentation>Description of a PV System Design.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="name" type="xs:string" maxOccurs="1"/>
<xs:element minOccurs="0" name="description" type="xs:string" maxOccurs="1"/>
<xs:element minOccurs="0" name="status" type="xs:string">
<xs:annotation>
<xs:documentation>Element used to define the current status of the pvSystem.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="applicationReferences">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" name="applicationReferenceId" type="applicationId"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>ID of the object represented by this XML within a corresponding software application. Used by the software to identify its corresponding record within the application's database. AKA a primary key. Important if the data is passed from one application back to an originating application, for example. </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="mountingSystemDefinitions" type="mountingSystemDefinitions"/>
<xs:element minOccurs="0" name="pvModuleDefinitions">
<xs:annotation>
<xs:documentation>A collection of the specifications of each PV module make/model used in the PV system.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="pvModuleDefinition" type="pvModuleDefinition"
minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifications for a single PV module used in this system. A PV system may contain more than PV module make and model.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="inverterDefinitions">
<xs:annotation>
<xs:documentation>A collection of the specifications of each inverter make/model used in the PV system.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="inverterDefinition" type="inverterDefinition"
minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifications for an inverter used in this PV system. A PV system may contain more than inverter make and model.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="dcOptimizerDefinitions">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="dcOptimizerDefinition"
type="dcOptimizerDefinition"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="dcCombinerDefinitions">
<xs:annotation>
<xs:documentation>A collection of the specifications of each DC Combiner make/model used in the PV system.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="dcCombinerDefinition"
type="dcCombinerDefinition"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="junctionBoxDefinitions" type="junctionBoxDefinitions"> </xs:element>
<xs:element minOccurs="0" name="disconnectSwitchDefinitions"
type="disconnectSwitchDefinitions"> </xs:element>
<xs:element minOccurs="0" name="meterDefinitions" type="meterDefinitions"> </xs:element>
<xs:element minOccurs="0" name="meterBoxDefinitions" type="meterBoxDefinitions"> </xs:element>
<xs:element minOccurs="0" name="electricalPanelDefinitions"
type="electricalPanelDefinitions"/>
<xs:element minOccurs="0" name="circuitBreakerDefinitions"
type="circuitBreakerDefinitions"> </xs:element>
<xs:element minOccurs="0" name="fuseDefinitions" type="fuseDefinitions" />
<xs:element minOccurs="0" name="conductorDefinitions" type="conductorDefinitions"/>
<xs:element minOccurs="0" name="conduitDefinitions" type="conduitDefinitions"/>
<xs:element minOccurs="0" name="pvArrays">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="pvArray"
type="pvArray"/>
<xs:element minOccurs="0" name="exclusionAreas">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1"
name="exclusionArea" type="exclusionArea"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="pvModules">
<xs:annotation>
<xs:documentation>A collection of individual PV Modules in the system.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="pvModule" type="pvModule">
<xs:annotation>
<xs:documentation>A specific instance of a PV module in the system.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="stringInverters">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="stringInverter"
type="stringInverter">
<xs:annotation>
<xs:documentation>String (or Central) Inverters that make up the system.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="dcOptimizers">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="dcOptimizer" type="dcOptimizer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="dcStrings">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="dcString" type="dcString"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="microInverters">
<xs:annotation>
<xs:documentation>A collection of the individual micro inverter instances in the system.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="microInverter" type="microInverter">
<xs:annotation>
<xs:documentation>A specific instance of a micro-inverter in the PV system.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="acPvBranchCircuits">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="acPvBranchCircuit"
type="acPvBranchCircuit">
<xs:annotation>
<xs:documentation>An AcPvBranch circuit represents micro-inverter system architectures.
NOTE: An AC Module is assumed to be either:
1) an integrated micro-inverter and PV module, OR 2) an independent PV module and micro-inverter pair.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="dcCombiners">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="dcCombiner" type="dcCombiner"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="junctionBoxes" type="junctionBoxes"> </xs:element>
<xs:element minOccurs="0" name="disconnectSwitches" type="disconnectSwitches"
nillable="false"> </xs:element>
<xs:element minOccurs="0" name="meters" type="meters"> </xs:element>
<xs:element minOccurs="0" name="meterBoxes" type="meterBoxes"> </xs:element>
<xs:element minOccurs="0" name="electricalPanels" type="electricalPanels"> </xs:element>
<xs:element minOccurs="0" name="circuitBreakers" type="circuitBreakers"> </xs:element>
<xs:element minOccurs="0" name="fuses" type="fuses"> </xs:element>
<xs:element minOccurs="0" name="conduitSegments" form="qualified" type="conduitSegments"
> </xs:element>
<xs:element minOccurs="0" name="circuitConnections" type="circuitConnections">
<xs:annotation>
<xs:documentation>A collection of the circuit connections between each of the various PV system components.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="acPointOfConnection" type="acPointOfConnection"/>
<xs:element name="sceneOriginGeoTag" type="geoLocationWithAltitude" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Coordinate system geo reference origin for the system. All child components that specify 3D coordinates are in units meters relative to this location. The 3D coordinate of this origin is (0,0,0).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>
<xs:element name="roofExclusionAreas">
<xs:complexType>
<xs:all>
<xs:element name="roofExclusionArea" type="polygon2d"/>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name="pvSystem" type="pvSystem"/>
</xs:schema>