![]() |
G5.Api 1.22.0.121
.Net API to control Regatron G5 devices
|
This class contains the specific methods to configure a solar array simulation.
Other needed methods for automated testing can be found in:
Regatron.G5.Api.System.FunctionGenerator
Regatron.G5.Api.System.FunctionGeneratorBlockConfiguration
Regatron.G5.Api.System.FunctionGeneratorSequenceConfiguration
Regatron.G5.Api.System.FunctionGeneratorSequenceManagement
After configuring a solar array simulation you need to start the simulation with Regatron.G5.Api.System.FunctionGenerator.SetCommand
More...
Public Member Functions | |
| void | SetCsiCurveWithMppData (Single umpp, Single impp) |
| Set a crystalline-silicon solar cell curve according to EN50530 with the configured Umpp and Impp on the connected device. With the given Umpp and Impp a curve is approximated. The calculated values for Umpp and Impp can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppVoltage and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppCurrent. | |
| void | SetCsiCurveWithUocAndIsc (Single uoc, Single isc) |
| Set a crystalline-silicon solar cell curve according to EN50530 with the configured Uoc and Isc on the connected device. With the given Uoc and Isc a curve is approximated. The calculated values for Uoc and Isc can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedUoc and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedIsc. | |
| void | SetThinFilmCurveWithMppData (Single umpp, Single impp) |
| Set a thin film solar cell curve according to EN50530 with the configured Umpp and Impp on the connected device. With the given Umpp and Impp a curve is approximated. The calculated values for Umpp and Impp can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppVoltage and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppCurrent. | |
| void | SetThinFilmCurveWithUocAndIsc (Single uoc, Single isc) |
| Set a thin film curve according to EN50530 with the configured Uoc and Isc on the connected device. With the given Uoc and Isc a curve is approximated. The calculated values for Uoc and Isc can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedUoc and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedIsc. | |
| void | SetUserDefinedTechnologyCurveWithMppData (SolarArraySimulationCellTechnologyParameters cellTechnologyParameters, Single umpp, Single impp) |
| Set an user defined technology parameter solar cell curve according to EN50530 with the configured Umpp and Impp on the connected device. With the given Umpp and Impp a curve is approximated. The calculated values for Umpp and Impp can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppVoltage and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppCurrent. | |
| void | SetUserDefinedTechnologyCurveWithUocAndIsc (SolarArraySimulationCellTechnologyParameters cellTechnologyParameters, Single uoc, Single isc) |
| Set an user defined technology parameter solar cell according to EN50530 with the configured Uoc and Isc on the connected device. With the given Uoc and Isc a curve is approximated. The calculated values for Uoc and Isc can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedUoc and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedIsc. | |
| void | SetCustomCurve (IList< Tuple< Single, Single > > curvePoints) |
| Set a custom curve without temperature and irradiance lookup tables. The values for mpp voltage, mpp current, short circuit current and open circuit voltage are automatically calculated according to the given curve data points. Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppVoltage Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppCurrent Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedIsc Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedUoc The data points must comply with the following conditions: 1) The first point must contain the short circuit current thus the voltage-value has to be zero. 2) The last point must contain the open circuit voltage thus the current-value has to be zero. 3) All data points must be sorted in ascending order by their voltage values. 4) Every voltage value is only allowed once. | |
| void | SetCustomCurveArray (Point[] curvePoints) |
| This method is only intended for use when no generics are supported by the actual environment. In all other cases Regatron.G5.Api.System.SolarArraySimulation.SetCustomCurve should be used. Set a custom curve without temperature and irradiance lookup tables. The values for mpp voltage, mpp current, short circuit current and open circuit voltage are automatically calculated according to the given curve data points. Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppVoltage Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppCurrent Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedIsc Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedUoc The data points must comply with the following conditions: 1) The first point must contain the short circuit current thus the voltage-value has to be zero. 2) The last point must contain the open circuit voltage thus the current-value has to be zero. 3) All data points must be sorted in ascending order by their voltage values. 4) Every voltage value is only allowed once. . | |
| void | SetActualIrradiance (Single actualIrradiance, Single rampTime) |
| Set the actual irradiance for SAS curve simulation. | |
| void | SetActualTemperature (Single actualTemperature, Single rampTime) |
| Set the actual temperature for SAS curve simulation. | |
| Single | GetRemainingTimeOfIrradianceRamp () |
| Get the remaining time of the irradiance transition ramp. | |
| Single | GetRemainingTimeOfTemperatureRamp () |
| Get the remaining time of the temperature transition ramp. | |
| Single | GetActualIrradiance () |
| Get the actual irradiance for SAS curve simulation. | |
| Single | GetActualTemperature () |
| Get the actual temperature for SAS curve simulation. | |
| Single | GetMppVoltage () |
| Get the actual value of the maximum power point voltage under consideration of irradiance and temperature. | |
| Single | GetMppCurrent () |
| Get the actual value of the maximum power point current under consideration of irradiance and temperature. | |
| Single | GetMppPower () |
| Get the actual value of the maximum power point power under consideration of irradiance and temperature. | |
| Single | GetMppTrackingEfficiency () |
| Get the actual value of the maximum power point tracking efficiency on the device. | |
| void | ResetMppTrackingEfficiency () |
| Resets the actual value of the maximum power point tracking efficiency on the device. | |
| Single | GetCalculatedUoc () |
| Get the calculated open circuit voltage (Uoc) of the actual configured curve on the connected device. | |
| Single | GetCalculatedIsc () |
| Get the calculated short circuit current (Isc) of the actual configured curve on the connected device. | |
| Single | GetCalculatedMppVoltage () |
| Get the calculated maximum power point voltage of the actual configured curve on the connected device. | |
| Single | GetCalculatedMppCurrent () |
| Get the calculated maximum power point current of the actual configured curve on the connected device. | |
| SolarArraySimulationCellTechnologyParameters | GetCellTechnologyParameter () |
| Get the cell technology parameter of the actual configured curve on the connected device. | |
This class contains the specific methods to configure a solar array simulation.
Other needed methods for automated testing can be found in:
Regatron.G5.Api.System.FunctionGenerator
Regatron.G5.Api.System.FunctionGeneratorBlockConfiguration
Regatron.G5.Api.System.FunctionGeneratorSequenceConfiguration
Regatron.G5.Api.System.FunctionGeneratorSequenceManagement
After configuring a solar array simulation you need to start the simulation with Regatron.G5.Api.System.FunctionGenerator.SetCommand
|
inline |
Get the actual irradiance for SAS curve simulation.
| G5ApiException |
|
inline |
Get the actual temperature for SAS curve simulation.
| G5ApiException |
|
inline |
Get the calculated short circuit current (Isc) of the actual configured curve on the connected device.
| G5ApiException |
|
inline |
Get the calculated maximum power point current of the actual configured curve on the connected device.
| G5ApiException |
|
inline |
Get the calculated maximum power point voltage of the actual configured curve on the connected device.
| G5ApiException |
|
inline |
Get the calculated open circuit voltage (Uoc) of the actual configured curve on the connected device.
| G5ApiException |
|
inline |
Get the cell technology parameter of the actual configured curve on the connected device.
| G5ApiException |
|
inline |
Get the actual value of the maximum power point current under consideration of irradiance and temperature.
| G5ApiException |
|
inline |
Get the actual value of the maximum power point power under consideration of irradiance and temperature.
| G5ApiException |
|
inline |
Get the actual value of the maximum power point tracking efficiency on the device.
| G5ApiException |
|
inline |
Get the actual value of the maximum power point voltage under consideration of irradiance and temperature.
| G5ApiException |
|
inline |
Get the remaining time of the irradiance transition ramp.
| G5ApiException |
|
inline |
Get the remaining time of the temperature transition ramp.
| G5ApiException |
|
inline |
Resets the actual value of the maximum power point tracking efficiency on the device.
| G5ApiException |
|
inline |
Set the actual irradiance for SAS curve simulation.
| actualIrradiance | Actual irradiance [W/m^2] |
| rampTime | Ramp time to shift from the old value linearly to the new set value [s]. |
| G5ApiException |
|
inline |
Set the actual temperature for SAS curve simulation.
| actualTemperature | Actual temperature [°C] |
| rampTime | Ramp time to shift from the old value linearly to the new set value [s]. |
| G5ApiException |
|
inline |
Set a crystalline-silicon solar cell curve according to EN50530 with the configured Umpp and Impp on the connected device.
With the given Umpp and Impp a curve is approximated. The calculated values for Umpp and Impp can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppVoltage and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppCurrent.
| umpp | Maximum power point voltage [V] |
| impp | Maximum power point current [A] |
| G5ApiException |
|
inline |
Set a crystalline-silicon solar cell curve according to EN50530 with the configured Uoc and Isc on the connected device.
With the given Uoc and Isc a curve is approximated. The calculated values for Uoc and Isc can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedUoc and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedIsc.
| uoc | Open circuit voltage [V] |
| isc | Short circuit current [A] |
| G5ApiException |
|
inline |
Set a custom curve without temperature and irradiance lookup tables.
The values for mpp voltage, mpp current, short circuit current and open circuit voltage are automatically
calculated according to the given curve data points.
Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppVoltage
Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppCurrent
Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedIsc
Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedUoc
The data points must comply with the following conditions:
1) The first point must contain the short circuit current thus the voltage-value has to be zero.
2) The last point must contain the open circuit voltage thus the current-value has to be zero.
3) All data points must be sorted in ascending order by their voltage values.
4) Every voltage value is only allowed once.
| curvePoints | Data points representing the characteristic voltage-current solar cell curve. The x-values of the data points have to be in an ascending order and every x-value is only allowed once. |
| G5ApiException |
|
inline |
This method is only intended for use when no generics are supported by the actual environment.
In all other cases Regatron.G5.Api.System.SolarArraySimulation.SetCustomCurve should be used.
Set a custom curve without temperature and irradiance lookup tables.
The values for mpp voltage, mpp current, short circuit current and open circuit voltage are automatically
calculated according to the given curve data points.
Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppVoltage
Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppCurrent
Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedIsc
Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedUoc
The data points must comply with the following conditions:
1) The first point must contain the short circuit current thus the voltage-value has to be zero.
2) The last point must contain the open circuit voltage thus the current-value has to be zero.
3) All data points must be sorted in ascending order by their voltage values.
4) Every voltage value is only allowed once.
.
| curvePoints | Data points representing the characteristic voltage-current solar cell curve. The x-values of the data points have to be in an ascending order and every x-value is only allowed once. |
| G5ApiException |
|
inline |
Set a thin film solar cell curve according to EN50530 with the configured Umpp and Impp on the connected device.
With the given Umpp and Impp a curve is approximated. The calculated values for Umpp and Impp can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppVoltage and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppCurrent.
| umpp | Maximum power point voltage [V] |
| impp | Maximum power point current [A] |
| G5ApiException |
|
inline |
Set a thin film curve according to EN50530 with the configured Uoc and Isc on the connected device.
With the given Uoc and Isc a curve is approximated. The calculated values for Uoc and Isc can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedUoc and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedIsc.
| uoc | Open circuit voltage [V] |
| isc | Short circuit current [A] |
| G5ApiException |
|
inline |
Set an user defined technology parameter solar cell curve according to EN50530 with the configured Umpp and Impp on the connected device.
With the given Umpp and Impp a curve is approximated. The calculated values for Umpp and Impp can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppVoltage and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedMppCurrent.
| cellTechnologyParameters | User defined solar cell technology parameters |
| umpp | Maximum power point voltage [V] |
| impp | Maximum power point current [A] |
| G5ApiException |
The calculation of a solar array simulation curve using a user defined technology might fail if the technology parameter values differ too much from the defaults defined for cSi or Thin film.
Worst case the method call is blocked internally and will not return.
|
inline |
Set an user defined technology parameter solar cell according to EN50530 with the configured Uoc and Isc on the connected device.
With the given Uoc and Isc a curve is approximated. The calculated values for Uoc and Isc can be obtained afterwards with Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedUoc and Regatron.G5.Api.System.SolarArraySimulation.GetCalculatedIsc.
| cellTechnologyParameters | User defined solar cell technology parameters |
| uoc | Open circuit voltage [V] |
| isc | Short circuit current [A] |
| G5ApiException |
The calculation of a solar array simulation curve using a user defined technology might fail if the technology parameter values differ too much from the defaults defined for cSi or Thin film.
Worst case the method call is blocked internally and will not return.