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
@@ -50,6 +50,8 @@ Inspection helpers:
50
50
Policy parameterization:
51
51
-`Integrate()` defaults to `SumReducer()`; you can pass another reducer, e.g. `Integrate(MeanReducer())` or `Integrate(vals -> maximum(vals) - minimum(vals))`.
52
52
-`Aggregate()` defaults to `MeanReducer()`; you can pass reducers such as `Aggregate(MaxReducer())`.
53
+
- Difference between `Integrate` and `Aggregate`: with the same reducer they are runtime-equivalent.
54
+
In practice, only defaults and naming intent differ (`Integrate` for accumulation, `Aggregate` for summary statistics).
53
55
-`Interpolate()` defaults to `mode=:linear, extrapolation=:linear`; use `Interpolate(; mode=:hold, extrapolation=:hold)` for hold behavior.
54
56
- The same reducer objects are reused by meteo sampling (`MeteoBindings`) and by windowed policies (`Integrate`, `Aggregate`).
55
57
@@ -131,7 +133,7 @@ mapping = ModelMapping(
131
133
)
132
134
```
133
135
134
-
When `multirate=true` is passed to `run!`, the runtime resolves inputs from producer temporal streams according to these policies.
136
+
When the `ModelMapping` declares multirate configuration, the runtime resolves inputs from producer temporal streams according to these policies.
135
137
Meteo rows are also sampled at each model clock. By default, meteo variables are aggregated from
136
138
the finest weather step (for example `T` and `Rh` as weighted means, `Tmin/Tmax`, and radiation
137
139
quantity aliases such as `Ri_SW_q` in MJ m-2). You can override these rules with `MeteoBindings(...)`
0 commit comments