Create Module (File Upload)
Modules
Create Module (File Upload)
Create a PV module by uploading a PVsyst .pan file
POST
Create Module (File Upload)
POST /modules
Upload a PVsyst.pan file to create a new PV module in the workspace. The server parses the file to extract module electrical properties (Voc, Isc, Pmax, temperature coefficients, dimensions, etc.) and the Angle of Incidence (AOI) curve, then stores the module.
Notes
- Requires a valid JWT with write access to the workspace.
- The request body must be
multipart/form-datawith a singlefilefield containing the.panfile. - The module name is derived from the uploaded filename (without the
.panextension). - Returns
400if the.panfile cannot be parsed. - Properties are stored as a flexible key-value dictionary reflecting the PVsyst file structure.
- If you already have structured module data and do not have a
.panfile, usePOST /modules/jsoninstead.
