File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -54,3 +54,8 @@ def Next(self):
54
54
def NumElements (self ):
55
55
'''(read-only) Number of elements in this class. Same as Count property.'''
56
56
return self ._lib .ActiveClass_Get_NumElements ()
57
+
58
+ @property
59
+ def ActiveClassParent (self ):
60
+ '''Get the name of the parent class of the active class'''
61
+ return self ._get_string (self ._lib .ActiveClass_Get_ActiveClassParent ())
Original file line number Diff line number Diff line change @@ -184,3 +184,24 @@ def Tyearly(self, Value):
184
184
185
185
self ._lib .PVSystems_Set_Tyearly (Value )
186
186
self .CheckForError ()
187
+
188
+ @property
189
+ def IrradianceNow (self ):
190
+ '''
191
+ Returns the current irradiance value for the active PVSystem. Use it to
192
+ know what's the current irradiance value for the PV during a simulation.
193
+ '''
194
+ self ._lib .PVSystems_Get_IrradianceNow ()
195
+
196
+ @property
197
+ def Pmpp (self ):
198
+ '''
199
+ Gets/sets the rated max power of the PV array for 1.0 kW/sq-m irradiance
200
+ and a user-selected array temperature of the active PVSystem.
201
+ '''
202
+ self ._lib .PVSystems_Get_Pmpp ()
203
+
204
+ @Pmpp .setter
205
+ def Pmpp (self , Value ):
206
+ self ._lib .PVSystems_Set_Pmpp (Value )
207
+ self .CheckForError ()
You can’t perform that action at this time.
0 commit comments