You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in `hercules/grid/grid_utilities.py` for a worked example of this
108
+
endpoint-insertion pattern (it shifts a copy of the data by `dt - 1` seconds
109
+
and merges it back in before handing the frame to Hercules).
110
+
95
111
## Input Requirements
96
112
97
113
All Hercules input files must specify start and end times using UTC datetime strings:
@@ -200,7 +216,16 @@ Both wind and solar input CSV/Feather/Parquet files must contain a `time_utc` co
200
216
201
217
### External Data (LMP, etc.)
202
218
203
-
External data files loaded via `_read_external_data_file` are interpolated with `"zoh_to_instantaneous"` (zero-order hold), which is appropriate for signals like LMP prices that are piecewise-constant over each interval rather than time-averaged.
219
+
External data files loaded via `_read_external_data_file` are upsampled onto
220
+
the simulation time grid with `"instantaneous_to_instantaneous"` (linear
221
+
interpolation between the supplied timestamps). If you want zero-order-hold
222
+
(piecewise-constant) behaviour for signals like LMP prices, pre-process the
223
+
file to include end-of-interval rows that repeat the previous value as
224
+
described in [Achieving zero-order-hold (ZOH) behaviour](#achieving-zero-order-hold-zoh-behaviour).
0 commit comments