Class InverterSpecification
Namespace: Scripting
Syntax
public class InverterSpecification
Constructors
InverterSpecification()
Creates an instance of the InverterSpecification class.
Declaration
public InverterSpecification()
Properties
DocumentType
Type of document
Declaration
public InverterSpecificationDocumentType DocumentType { get; set; }
Property Value
Type | Description |
---|---|
InverterSpecificationDocumentType |
EfficiencyCurvePowerLevels
Gets the efficiency curve power levels.
Declaration
public IList<double> EfficiencyCurvePowerLevels { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Double> |
GridFrequency
Grid frequency
Declaration
public int GridFrequency { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
GridVoltage
Grid voltage
Declaration
public double GridVoltage { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
InverterEfficiencyType
The inverter efficiency type (European or CEC)
Declaration
public InverterEfficiencyType InverterEfficiencyType { get; set; }
Property Value
Type | Description |
---|---|
InverterEfficiencyType |
InverterInputSpecifications
Maximum Power Point Tracking points
Declaration
public IList<InverterInputSpecification> InverterInputSpecifications { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<InverterInputSpecification> |
InverterTemperatureCurve
Curve defining this inverters maximum AC power dependence on temperature
Declaration
public IList<InverterTemperatureCurveEntry> InverterTemperatureCurve { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<InverterTemperatureCurveEntry> |
Manufacturer
The manufacturer name
Declaration
public string Manufacturer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaximumAcPower
Maximum AC Power (kW)
Declaration
public double MaximumAcPower { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MaximumEfficiency
The maximum efficiency
Declaration
public double MaximumEfficiency { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MaximumEfficiencyCurve
Gets the maximumfficiency curve.
Declaration
public EfficiencyCurve MaximumEfficiencyCurve { get; }
Property Value
Type | Description |
---|---|
EfficiencyCurve |
MinimumEfficiencyCurve
Gets the minimum efficiency curve.
Declaration
public EfficiencyCurve MinimumEfficiencyCurve { get; }
Property Value
Type | Description |
---|---|
EfficiencyCurve |
Model
The manufacturer model number
Declaration
public string Model { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ModelTemperatureDependence
Model the maximum AC power temperature dependence
Declaration
public bool ModelTemperatureDependence { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
The name of the inverter
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NightTimeTareLoss
Night time Tare loss
Declaration
public double NightTimeTareLoss { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
NominalEfficiencyCurve
Gets the nominal efficiency curve.
Declaration
public EfficiencyCurve NominalEfficiencyCurve { get; }
Property Value
Type | Description |
---|---|
EfficiencyCurve |
PnomAC
Nominal/Rated AC Power (kW)
Declaration
public double PnomAC { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Type
Inverter type
Declaration
public InverterType Type { get; set; }
Property Value
Type | Description |
---|---|
InverterType |
UseEfficiencyCurves
Use the efficiency curve entries
Declaration
public bool UseEfficiencyCurves { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
WeightedEfficiency
The weighted efficiency
Declaration
public double WeightedEfficiency { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(InverterSpecification)
Tests a InverterSpecification against this current InverterSpecification for equality.
Declaration
public bool Equals(InverterSpecification val)
Parameters
Type | Name | Description |
---|---|---|
InverterSpecification | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current InverterSpecification for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean | True if object is equal otherwise false is returned. |
Overrides
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this object. |
Overrides
ReadInverterSpecificationFile(String)
Loads an inverter specification from an inverter specification file.
Declaration
public static InverterSpecification ReadInverterSpecificationFile(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The file path of the file to load. |
Returns
Type | Description |
---|---|
InverterSpecification | The inverter specification object. |
ReadONDFile(String)
Load an inverter specification from a PVsyst OND file.
Declaration
public static InverterSpecification ReadONDFile(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The file path of the OND file to load. |
Returns
Type | Description |
---|---|
InverterSpecification | The inverter specification object. |
SetEfficiencyCurve(EfficiencyCurveType, Double, Double[])
Sets the efficiency curve.
Declaration
public void SetEfficiencyCurve(EfficiencyCurveType curveType, double inputVoltage, double[] efficiencies)
Parameters
Type | Name | Description |
---|---|---|
EfficiencyCurveType | curveType | Type of the curve (Minimum, Nominal, Maximum). |
System.Double | inputVoltage | The input voltage. |
System.Double[] | efficiencies | The efficiencies at each of the power levels specified in EfficiencyCurvePowerLevels. |
Operators
Equality(InverterSpecification, InverterSpecification)
Tests a InverterSpecification against this current InverterSpecification for equality.
Declaration
public static bool operator ==(InverterSpecification a, InverterSpecification b)
Parameters
Type | Name | Description |
---|---|---|
InverterSpecification | a | |
InverterSpecification | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(InverterSpecification, InverterSpecification)
Tests a InverterSpecification against this current InverterSpecification for inequality.
Declaration
public static bool operator !=(InverterSpecification a, InverterSpecification b)
Parameters
Type | Name | Description |
---|---|---|
InverterSpecification | a | |
InverterSpecification | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |