Skip to main content
PUT
/
Module
/
{moduleId}
Update a module
curl --request PUT \
  --url https://api.plantpredict.terabase.energy/Module/{moduleId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": 2,
  "model": "FS-7540A-TR1 September2022 - Name Update",
  "manufacturer": "First Solar",
  "length": 2300,
  "width": 1215,
  "weight": 39.7,
  "defaultOrientation": 1,
  "numberOfCellsInSeries": 268,
  "numberOfCellsInParallel": 1,
  "stcShortCircuitCurrent": 3.064,
  "stcOpenCircuitVoltage": 227.717,
  "stcmppCurrent": 2.861,
  "stcmppVoltage": 188.69,
  "stcMaxPower": 540,
  "stcPowerTempCoef": -0.32,
  "stcShortCircuitCurrentTempCoef": 0.04,
  "stcOpenCircuitVoltageTempCoef": -0.28,
  "stcEfficiency": 19.32367149758454,
  "minTolerance": 0,
  "maxTolerance": 5,
  "cellTechnologyType": 6,
  "constructionType": 1,
  "faciality": 0,
  "bifacialityFactor": null,
  "transmissionFactor": null,
  "backSideMismatch": null,
  "dataSource": 1,
  "lightInducedDegradation": 0,
  "moduleQuality": 0,
  "moduleMismatchCoefficient": 0.5,
  "heatBalanceConvectiveCoef": 0,
  "heatBalanceConductiveCoef": 29,
  "sandiaConductiveCoef": -3.47,
  "sandiaConvectiveCoef": -0.0594,
  "cellToModuleTempDiff": 3,
  "saturationCurrentAtSTC": 2.269097e-11,
  "seriesResistanceAtSTC": 4.602,
  "shuntResistanceAtSTC": 7000,
  "diodeIdealityFactorAtSTC": 1.292,
  "exponentialDependencyOnShuntResistance": 5.5,
  "darkShuntResistance": 7000,
  "linearTempDependenceOnGamma": 0.03637770897832817,
  "shortCircuitCurrentAtSTC": 3.064,
  "recombinationParameter": 0.2000000000000001,
  "builtInVoltage": 0.9,
  "bandgapVoltage": 1.5,
  "linearTempDependenceOnIsc": 0.04,
  "heatAbsorptionCoefAlphaT": 0.9,
  "referenceIrradiance": 1000,
  "referenceTemperature": 25,
  "aGamma": null,
  "bGamma": null,
  "cGamma": null,
  "dGamma": null,
  "spectralResponse": 2,
  "pvModel": 0,
  "useDefaultSandiaIAM": false,
  "useDefaultTabularIAM": false,
  "sandiaSpectralA0": null,
  "sandiaSpectralA1": null,
  "sandiaSpectralA2": null,
  "sandiaSpectralA3": null,
  "sandiaSpectralA4": null,
  "sandiaIAMB0": 6.038242275137197,
  "sandiaIAMB1": -0.5248112239136882,
  "sandiaIAMB2": 0.02130703918426116,
  "sandiaIAMB3": -0.00042240723312322523,
  "sandiaIAMB4": 0.000004091960268471147,
  "sandiaIAMB5": -1.5564126828688897e-8,
  "ashraeiamB0": 0.05,
  "spectral2B0": 0.86273,
  "spectral2B1": -0.038948,
  "spectral2B2": -0.012506,
  "spectral2B3": 0.098871,
  "spectral2B4": 0.084658,
  "spectral2B5": -0.0042948,
  "iamFactors": [
    {
      "incidenceAngle": 0,
      "factor": 1
    },
    {
      "incidenceAngle": 30,
      "factor": 1
    },
    {
      "incidenceAngle": 55,
      "factor": 0.99
    },
    {
      "incidenceAngle": 60,
      "factor": 0.98
    },
    {
      "incidenceAngle": 65,
      "factor": 0.96
    },
    {
      "incidenceAngle": 70,
      "factor": 0.92
    },
    {
      "incidenceAngle": 75,
      "factor": 0.85
    },
    {
      "incidenceAngle": 80,
      "factor": 0.72
    },
    {
      "incidenceAngle": 90,
      "factor": 0
    }
  ],
  "degradationModel": 1,
  "linearDegradationRate": 0.3,
  "nonLinearDegradationRates": [],
  "cellDesignType": null,
  "useAntiReflectiveCoating": false,
  "refractiveIndex": 1.526,
  "refractiveIndexOfARC": 1.29,
  "glazingExtinctionCoef": 4,
  "glazingThickness": 0.002,
  "powerAtSTC": 0,
  "powerAtSTCExcludingWiringLosses": 0,
  "effectiveIrradianceResponse": [
    {
      "irradiance": 100,
      "temperature": 25,
      "relativeEfficiency": 0.8814819319715739
    },
    {
      "irradiance": 200,
      "temperature": 25,
      "relativeEfficiency": 0.9467641893572506
    },
    {
      "irradiance": 300,
      "temperature": 25,
      "relativeEfficiency": 0.9727857600367622
    },
    {
      "irradiance": 400,
      "temperature": 25,
      "relativeEfficiency": 0.9864198360018204
    },
    {
      "irradiance": 500,
      "temperature": 25,
      "relativeEfficiency": 0.994194382349794
    },
    {
      "irradiance": 600,
      "temperature": 25,
      "relativeEfficiency": 0.9986027250356551
    },
    {
      "irradiance": 700,
      "temperature": 25,
      "relativeEfficiency": 1.0008398407389827
    },
    {
      "irradiance": 800,
      "temperature": 25,
      "relativeEfficiency": 1.0015713396635646
    },
    {
      "irradiance": 900,
      "temperature": 25,
      "relativeEfficiency": 1.001203606468212
    },
    {
      "irradiance": 1000,
      "temperature": 25,
      "relativeEfficiency": 1
    },
    {
      "irradiance": 1100,
      "temperature": 25,
      "relativeEfficiency": 0.9981406314820271
    },
    {
      "irradiance": 1200,
      "temperature": 25,
      "relativeEfficiency": 0.9957540528792794
    },
    {
      "irradiance": 100,
      "temperature": 50,
      "relativeEfficiency": 0.8742670870403499
    },
    {
      "irradiance": 200,
      "temperature": 50,
      "relativeEfficiency": 0.9404278435155332
    },
    {
      "irradiance": 300,
      "temperature": 50,
      "relativeEfficiency": 0.9680071162319765
    },
    {
      "irradiance": 400,
      "temperature": 50,
      "relativeEfficiency": 0.9829378885559052
    },
    {
      "irradiance": 500,
      "temperature": 50,
      "relativeEfficiency": 0.9917136616820472
    },
    {
      "irradiance": 600,
      "temperature": 50,
      "relativeEfficiency": 0.9969019479321173
    },
    {
      "irradiance": 700,
      "temperature": 50,
      "relativeEfficiency": 0.9997423852901055
    },
    {
      "irradiance": 800,
      "temperature": 50,
      "relativeEfficiency": 1.0009460787440676
    },
    {
      "irradiance": 900,
      "temperature": 50,
      "relativeEfficiency": 1.000936227746243
    },
    {
      "irradiance": 1000,
      "temperature": 50,
      "relativeEfficiency": 1
    },
    {
      "irradiance": 1100,
      "temperature": 50,
      "relativeEfficiency": 0.9983320742461258
    },
    {
      "irradiance": 1200,
      "temperature": 50,
      "relativeEfficiency": 0.9960749126620079
    }
  ],
  "electricalShadingFractionalEffect": 0,
  "moduleShadingResponse": 1,
  "id": 47106,
  "name": "FS-7540A-TR1 CdTe September2022",
  "description": "S7_505_540"
}
'
{
  "message": "The request is invalid.",
  "modelState": {
    "latitude": [
      "The field Latitude must be between -90 and 90."
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.plantpredict.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> on every request. See the Authentication section of the API description for how to fetch a token.

Path Parameters

moduleId
integer
required

Body

application/json
name
string
required
model
string
required
manufacturer
string
required
stcMaxPower
number
required

Wp

description
string | null
status
enum<integer>

LibraryStatusEnum

Available options:
0,
1,
2,
3,
4,
5,
6
length
number

mm

width
number

mm

weight
number

kg

defaultOrientation
enum<integer>

ModuleOrientation

Available options:
0,
1
numberOfCellsInSeries
integer
numberOfCellsInParallel
integer
stcShortCircuitCurrent
number
stcOpenCircuitVoltage
number
stcmppCurrent
number
stcmppVoltage
number
stcPowerTempCoef
number
stcShortCircuitCurrentTempCoef
number
stcOpenCircuitVoltageTempCoef
number
stcEfficiency
number
minTolerance
number
maxTolerance
number
cellTechnologyType
enum<integer>

CellTechnologyTypeEnum

Available options:
1,
2,
3,
4,
5,
6,
7,
8
cellDesignType
enum<integer>

CellDesignType

Available options:
0,
1,
2,
3
constructionType
enum<integer>

ConstructionTypeEnum

Available options:
1,
2
faciality
enum<integer>

FacialityEnum

Available options:
0,
1
bifacialityFactor
number
transmissionFactor
number
backSideMismatch
number
dataSource
enum<integer>

DataSourceType

Available options:
1,
2,
3,
4,
5,
6,
7
lightInducedDegradation
number
moduleQuality
number
moduleMismatchCoefficient
number
heatBalanceConvectiveCoef
number
heatBalanceConductiveCoef
number
sandiaConductiveCoef
number
sandiaConvectiveCoef
number
cellToModuleTempDiff
number
pvModel
enum<integer>

PvModelType

Available options:
0,
1,
3
referenceIrradiance
number
referenceTemperature
number
degradationModel
enum<integer>

ModuleDegradationModel

Available options:
0,
1,
2
linearDegradationRate
number
effectiveIrradianceResponse
object[]
iamFactors
object[]
nonLinearDegradationRates
object[]

Response

Success