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 withoutmaster:comes back empty; the Builder'spx_findwalks 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
| Parameter | Unit | Default | Description |
|---|---|---|---|
AeffReal | m^2 | 0.01 | Effective Area per CellAt least 0 |
CTgReal | A/K | 0.001 | Temperature Coefficient of Photo Current |
DiReal | · | 1.5 | Diode Ideality Factor |
EbgReal | eV | 1.103 | Band Gap EnergyEnter the value in electron volts |
IosrReal | kA | 1e-12 | Saturation Current at Reference Conditions per CellAt least 0 |
IscrReal | kA | 0.0025 | Short circuit Current at Reference Conditions per CellAt least 0 |
RshReal | ohm | 1000 | Shunt Resistance per CellAt least 0 |
RsrReal | ohm | 0.02 | Series Resistance per CellAt least 0 |
PV Array Parameters
| Parameter | Unit | Default | Description |
|---|---|---|---|
GrefReal | W/m^2 | 1000 | Reference Irradiation |
NameText | · | PVarray1 | PV Array NameOptional name for easy identification |
NcplInteger | · | 1 | Number of Cell Strings in Parallel per ModuleRange 1 to 2147483647 |
NcsrInteger | · | 1 | Number of Cells Connected in Series per ModuleRange 1 to 2147483647 |
NplInteger | · | 1 | Number of Module Strings in Parallel per ArrayRange 1 to 2147483647 |
NsrInteger | · | 1 | Number of Modules Connected in Series per ArrayRange 1 to 2147483647 |
TrefReal | oC | 25 | Reference Cell TemperatureEnter the value in degree Celcius |
View1Choice | · | STANDARD | Graphics DisplaySelect standard view or industry viewWritten as STANDARD (standard), INDUSTRY (industry) |
Monitoring
| Parameter | Unit | Default | Description |
|---|---|---|---|
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 →