master:photovoltaic_source parametersPSCAD Photovoltaic source

Every parameter of the PSCAD Photovoltaic source (master:photovoltaic_source): 23 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:photovoltaic_source is

Photovoltaic source (photovoltaic source), a component of PSCAD's Master Library, filed under sources.

Definition
master:photovoltaic_source
PSCAD name
Photovoltaic source
Category
Sources
Parameters
23, in 3 groups; 9 carry a unit
Read from
PSCAD 5.0.0, 2026-11-07

Read and write master:photovoltaic_source in Python

import mhi.pscad

pscad = mhi.pscad.connect()              # the PSCAD that is open; launch() starts one
project = pscad.project("my_case")       # a case loaded in the workspace

for comp in project.find_all("master:photovoltaic_source"):   # the exact definition, namespace first
    params = comp.parameters()           # every parameter, as PSCAD holds it
    print(str(params["Aeff"]))           # Effective Area per Cell, in m^2

comp = project.find_all("master:photovoltaic_source")[0]
comp.parameters(Aeff="0.02 [m^2]")       # a value that carries a unit is written with it
  • A parameter is named exactly as in the table, letter case included: parameters() gives every one of them in a dictionary, and a name the component does not have is refused.
  • A value that carries a unit comes back as a number whose unit is only in its text, so read it as text first (str(...)) or the unit is lost. PSCAD keeps a written unit as it is given: "2500 [mohm]" stays in mohm.
  • A Choice is read and written as its symbol (the capitals in "Written as"), not as the words PSCAD shows in the dialog.
  • find_all() takes the exact definition only. A wildcard or a bare name without master: comes back empty; the Builder's px_find walks the pages for those.

The Builder's runtime does the same with the unit handled for you: px_get(comp, "Aeff") and px_set(...), which also records the old value so the case is put back at the end. Getting started shows them.

PV Cell Parameters

ParameterUnitDefaultDescription
AeffRealm^20.01Effective Area per CellAt least 0
CTgRealA/K0.001Temperature Coefficient of Photo Current
DiReal·1.5Diode Ideality Factor
EbgRealeV1.103Band Gap EnergyEnter the value in electron volts
IosrRealkA1e-12Saturation Current at Reference Conditions per CellAt least 0
IscrRealkA0.0025Short circuit Current at Reference Conditions per CellAt least 0
RshRealohm1000Shunt Resistance per CellAt least 0
RsrRealohm0.02Series Resistance per CellAt least 0

PV Array Parameters

ParameterUnitDefaultDescription
GrefRealW/m^21000Reference Irradiation
NameText·PVarray1PV Array NameOptional name for easy identification
NcplInteger·1Number of Cell Strings in Parallel per ModuleRange 1 to 2147483647
NcsrInteger·1Number of Cells Connected in Series per ModuleRange 1 to 2147483647
NplInteger·1Number of Module Strings in Parallel per ArrayRange 1 to 2147483647
NsrInteger·1Number of Modules Connected in Series per ArrayRange 1 to 2147483647
TrefRealoC25Reference Cell TemperatureEnter the value in degree Celcius
View1Choice·STANDARDGraphics DisplaySelect standard view or industry viewWritten as STANDARD (standard), INDUSTRY (industry)

Monitoring

ParameterUnitDefaultDescription
IdicText··Internal Diode Current per Module [kA]
IgcText··Photo Current per Module [kA]
IpvaText··PV Array Output Current [kA]
PLcText··Internal Power Loss per Module [MW]
PVoutaText··Output Power per Module [MW]
VdicText··Internal Diode Voltage per Module [kV]
VpvaText··PV Array Output Voltage [kV]

Related

← master:mppt Maximum power point tracker · master:source1 Single Phase Voltage Source Model 1 →