Closed dchassin closed 1 year ago
Try the following
module powerflow; module tape { csv_header_type NAME; } clock { timezone "PST+8PDT"; starttime "2022-01-01 00:00:00 PST"; stoptime "2023-01-01 00:00:00 PST"; } object meter { nominal_voltage 12.47 kV; phases ABCD; object recorder { file ${modelname/.glm/.csv}; property "measured_real_power[MW],measured_reactive_power[MVAr]"; interval 1h; }; }
The output is missing the second field:
timestamp,measured_real_power[MW],measured_reactive_power[MVAr] 2022-01-01 00:00:00 PST,+0 MW 2022-01-01 01:00:00 PST,+0 MW 2022-01-01 02:00:00 PST,+0 MW
Disable the line units in the recorder:
module powerflow; module tape { csv_header_type NAME; } clock { timezone "PST+8PDT"; starttime "2022-01-01 00:00:00 PST"; stoptime "2023-01-01 00:00:00 PST"; } object meter { nominal_voltage 12.47 kV; phases ABCD; object recorder { file ${modelname/.glm/.csv}; property "measured_real_power[MW],measured_reactive_power[MVAr]"; interval 1h; line_units NONE; }; }
The second is now present:
timestamp,measured_real_power[MW],measured_reactive_power[MVAr] 2022-01-01 00:00:00 PST,+0,+0 2022-01-01 01:00:00 PST,+0,+0 2022-01-01 02:00:00 PST,+0,+0
Problem description
Steps to reproduce
Try the following
The output is missing the second field:
Expected behavior
Disable the line units in the recorder:
The second is now present: