modelDiscretizePrediction
Produces short time predictions by linear interpolation between present value (P_is) and base prediction (P_prediction)
Extends from TransiEnt.Basics.Icons.Block.
Information
1. Purpose of model
This model produces short time prediction by interpolating between the present value and the base prediction.
2. Level of detail, physical effects considered, and physical insight
(no remarks)
3. Limits of validity
(no remarks)
4. Interfaces
P_predictions[ntime]: Output for electric power in [W] (predicted value)
P_is: input for electric power in [W] (present value)
P_prediction: input for electric power in [W] (base prediction)
5. Nomenclature
(no remarks)
6. Governing Equations
(no remarks)
7. Remarks for Usage
(no remarks)
8. Validation
Tested in check model "TransiEnt.Grid.Electrical.EconomicDispatch.Check.TestDiscretizePrediction"
9. References
(no remarks)
10. Version History
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | t_pred | 3600 | Time horizon of prediction input |
| SI.Time | t_shift | 0 | Time shift (0 means first output is equal to P_is) |
| SI.Time | samplePeriod | 60 | Period of one cycle (must be equal to period in MeritOrderDispatcher) |
| Integer | ntime | integer(t_pred/samplePeriod + 1) | |
| SI.Time[ntime] | t | linspace(t_shift, t_pred + t_shift, ntime) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOut | P_predictions | ||
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerIn | P_is | ||
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerIn | P_prediction |