captest.io.load_pvsyst
- captest.io.load_pvsyst(path, name='pvsyst', egrid_unit_adj_factor=None, set_regression_columns=True, **kwargs)
Load data from a PVsyst energy production model.
Will load day first or month first dates. Expects files that use a comma as a separator rather than a semicolon.
- Parameters:
path (str) – Path to file to import.
name (str, default pvsyst) – Name to assign to returned CapData object.
egrid_unit_adj_factor (numeric, default None) – E_Grid will be divided by the value passed.
set_regression_columns (bool, default True) – By default sets power to E_Grid, poa to GlobInc, t_amb to T Amb, and w_vel to WindVel. Set to False to not set regression columns on load.
**kwargs – Use to pass additional kwargs to pandas read_csv. Pass sep=’;’ to load files that use semicolons instead of commas as the separator.
- Return type:
Notes
Standardizes the ambient temperature column name to T_Amb. v6.63 of PVsyst used “T Amb”, v.6.87 uses “T_Amb”, and v7.2 uses “T_Amb”. Will change ‘T Amb’ or ‘TAmb’ to ‘T_Amb’ if found in the column names.