TopCon API  1.1.0
.Net API to control TopCon devices
CH.Regatron.HPPS.SolarArraySimulation.MPPData Class Reference

MPPData is a class that holds data of solar panels.
If the users wants to define the panel by giving the PanelData ( Uoc, Isc), please use the PanelData class. More...

Inheritance diagram for CH.Regatron.HPPS.SolarArraySimulation.MPPData:
Inheritance graph

Public Member Functions

 MPPData ()
 Standard constructor, setting MPPPower and MPPVoltage to 0.0 (MPPCurrent is calculated) More...
 
 MPPData (Double pmpp, Double umpp)
 Convenience constructor with P and U as parameter. More...
 
void SetMppPower (Double power)
 (Standard setter) Sets the MPPPower of this class. More...
 
Double GetMppPower ()
 Getter function to read the MPP power value. More...
 
void SetMppVoltage (Double voltage)
 Setter function to set the MPP voltage. More...
 
Double GetMppVoltage ()
 Getter function to read the MPP voltage. More...
 
Double GetMppCurrent ()
 Getter function to read the MPP current.
(only if voltage not equal to 0.0) More...
 
void CreateMppDataFromVoltageAndCurrent (Double maxPowerPointVoltage, Double maxPowerPointCurrent)
 This method is a convenience method to set the MPP Data if only the Umpp and Impp are given. More...
 
new String ToString ()
 This method returns a String indicating the MPP.
Examples:
[530V|12A] or [INVALID (Umpp==0)] More...
 
string GetLastError ()
 Get the last exception message. More...
 

Detailed Description

MPPData is a class that holds data of solar panels.
If the users wants to define the panel by giving the PanelData ( Uoc, Isc), please use the PanelData class.

Constructor & Destructor Documentation

◆ MPPData() [1/2]

CH.Regatron.HPPS.SolarArraySimulation.MPPData.MPPData ( )

Standard constructor, setting MPPPower and MPPVoltage to 0.0 (MPPCurrent is calculated)

◆ MPPData() [2/2]

CH.Regatron.HPPS.SolarArraySimulation.MPPData.MPPData ( Double  pmpp,
Double  umpp 
)

Convenience constructor with P and U as parameter.

Parameters
pmppMPP power [ W ]
umppMPP voltage [ V ]

Member Function Documentation

◆ CreateMppDataFromVoltageAndCurrent()

void CH.Regatron.HPPS.SolarArraySimulation.MPPData.CreateMppDataFromVoltageAndCurrent ( Double  maxPowerPointVoltage,
Double  maxPowerPointCurrent 
)

This method is a convenience method to set the MPP Data if only the Umpp and Impp are given.

Parameters
maxPowerPointVoltageThe voltage of the Maximum Power Point (MPP) [V]
maxPowerPointCurrentThe current of the Maximum Power Point (MPP) [A]

◆ GetLastError()

string CH.Regatron.HPPS.SolarArraySimulation.MPPData.GetLastError ( )

Get the last exception message.

Returns

Implements CH.Regatron.HPPS.IExceptionMessenger.

◆ GetMppCurrent()

Double CH.Regatron.HPPS.SolarArraySimulation.MPPData.GetMppCurrent ( )

Getter function to read the MPP current.
(only if voltage not equal to 0.0)

Returns
Value of the MPP current [A]

◆ GetMppPower()

Double CH.Regatron.HPPS.SolarArraySimulation.MPPData.GetMppPower ( )

Getter function to read the MPP power value.

Returns
Value of the MPP power [W].

◆ GetMppVoltage()

Double CH.Regatron.HPPS.SolarArraySimulation.MPPData.GetMppVoltage ( )

Getter function to read the MPP voltage.

Returns
Value of the MPP voltage [V].

◆ SetMppPower()

void CH.Regatron.HPPS.SolarArraySimulation.MPPData.SetMppPower ( Double  power)

(Standard setter) Sets the MPPPower of this class.

Parameters
powerValue of the MPP power [W]

◆ SetMppVoltage()

void CH.Regatron.HPPS.SolarArraySimulation.MPPData.SetMppVoltage ( Double  voltage)

Setter function to set the MPP voltage.

Parameters
voltageValue of the MPP voltage [V]

◆ ToString()

new String CH.Regatron.HPPS.SolarArraySimulation.MPPData.ToString ( )

This method returns a String indicating the MPP.
Examples:
[530V|12A] or [INVALID (Umpp==0)]

Returns
String representation of the MPP (enclosed in brackets).