pvsyst_prepare_load_profile
Prepares a PVsyst-native hourly load CSV by validating date/load columns, W/kW units, full-year hourly intervals, and UTC offset; dry_run checks without writing outputs.
Instructions
[Loads & Storage] Inspect or prepare a NEW native hourly load CSV from workspace/UserData. Require exactly the declared date/load columns plus explicit W or kW units, all 8760/8784 increasing interval-start hours of the requested year and an explicit fixed whole-hour standard UTC offset (no DST). iso dates mean YYYY-MM-DD HH:MM; pvsyst_dot/slash mean DD.MM.YYYY/DD/MM/YYYY HH:MM. dry_run=true writes nothing. Execution preserves the source, writes an ASCII Date;P Load / ;kW CSV to UserHourlyParams and an import record to Results. Missing/duplicate/non-hourly/negative/nonfinite rows stop; no gap filling, resampling, yearly renormalization, net-meter interpretation or time shift. Existing names are preserved. Write failure retains disclosed partial outputs. ready/prepared concern this CSV only, not native consumption: bind the CSV to a variant and verify hourly output. Native calendar lookup ignores year; the importer explicitly checks the requested year's leap day and time basis. input-param-file is an advanced parameters DAT, not a load CSV channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| dry_run | No | ||
| csv_name | Yes | ||
| time_basis | Yes | ||
| date_column | No | Date | |
| date_format | No | iso | |
| load_column | No | P Load | |
| output_name | Yes | ||
| utc_offset_hours | Yes |