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

TypeNameDefaultDescription
SI.Timet_pred3600Time horizon of prediction input
SI.Timet_shift0Time shift (0 means first output is equal to P_is)
SI.TimesamplePeriod60Period of one cycle (must be equal to period in MeritOrderDispatcher)
Integerntimeinteger(t_pred/samplePeriod + 1)
SI.Time[ntime]tlinspace(t_shift, t_pred + t_shift, ntime)

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOutP_predictions
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_is
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_prediction