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
Copy file name to clipboardExpand all lines: docs/src/model_execution.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,8 @@ Inspection helpers:
52
52
Policy parameterization:
53
53
-`Integrate()` defaults to `SumReducer()`; you can pass another reducer, e.g. `Integrate(MeanReducer())` or `Integrate(vals -> maximum(vals) - minimum(vals))`.
54
54
-`Aggregate()` defaults to `MeanReducer()`; you can pass reducers such as `Aggregate(MaxReducer())`.
55
+
- Difference between `Integrate` and `Aggregate`: with the same reducer they are runtime-equivalent.
56
+
In practice, only defaults and naming intent differ (`Integrate` for accumulation, `Aggregate` for summary statistics).
55
57
-`Interpolate()` defaults to `mode=:linear, extrapolation=:linear`; use `Interpolate(; mode=:hold, extrapolation=:hold)` for hold behavior.
56
58
- The same reducer objects are reused by meteo sampling (`MeteoBindings`) and by windowed policies (`Integrate`, `Aggregate`).
57
59
@@ -160,7 +162,7 @@ mapping = ModelMapping(
160
162
)
161
163
```
162
164
163
-
When `multirate=true` is passed to `run!`, the runtime resolves inputs from producer temporal streams according to these policies.
165
+
When the `ModelMapping` declares multirate configuration, the runtime resolves inputs from producer temporal streams according to these policies.
164
166
Meteo rows are also sampled at each model clock. By default, meteo variables are aggregated from
165
167
the finest weather step (for example `T` and `Rh` as weighted means, `Tmin/Tmax`, and radiation
166
168
quantity aliases such as `Ri_SW_q` in MJ m-2). You can override these rules with `MeteoBindings(...)`
0 commit comments