modelBinaryScheduleDataTable_fwd
Adds constants for easy allocation of outputs, forward-looking z output
Extends from TransiEnt.Basics.Icons.Model (Icon for models).
Information
1. Purpose of model
(no remarks)
2. Level of detail, physical effects considered, and physical insight
(no remarks)
3. Limits of validity
(no remarks)
4. Interfaces
z[nDispPlants, ntime]: BooleanOutput
P_sec_pos[nDispPlants]: output for electric power in [W]
P_sec_neg[nDispPlants]: output for electric power in [W]
5. Nomenclature
(no remarks)
6. Governing Equations
(no remarks)
7. Remarks for Usage
(no remarks)
8. Validation
Tested in check model "TransiEnt.Grid.Electrical.UnitCommitment.Check.TestBinarySchedule_fwd"
9. References
(no remarks)
10. Version History
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | unit_blocked | cat(1, fill(false, nDispPlants - 1), {true}) | Can bes used to constantly shut down a plant |
| Boolean | unit_mustrun | fill(false, nDispPlants) | Can bes used to constantly run a plant |
| SI.Power[nPlants] | P_init | zeros(nPlants) | |
| SI.Time | t_start | 0 | Start time, e.g. -3600 starts simulation at second hour |
| SI.Time | t_prediction | -3600 | e.g. -3600 means 1h ahead |
| SI.Time | samplePeriod | 60 | Period of one cycle (must be equal to period in MeritOrderDispatcher) |
| Integer | controlPlants | 1:nDispPlants | Indices of plants participating in secondary control |
| Integer | ntime | integer(-t_prediction/samplePeriod + 1) | |
| Integer | nPlants | simCenter.generationPark.nPlants | Total number of plants in day ahead planning |
| Integer | nDispPlants | simCenter.generationPark.nDispPlants | Dispatchable number of plants in day ahead planning |
| SI.Power | P_min | simCenter.generationPark.P_min |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanOutput | z | ||
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOut | P_sec_pos | ||
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOut | P_sec_neg |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| Real | y_scheduled_total | -sum(schedule.y) | |
| Real | y_prediction_total | -sum(prediction.y) | |
| TransiEnt.Grid.Electrical.UnitCommitment.ScheduleDataTable | schedule | ||
| TransiEnt.Grid.Electrical.UnitCommitment.ReserveScheduleDataTable | reserveAllocation | ||
| ScheduleDataTable | prediction | Generated with matlab script: \\transientee-sources\matlab\pd\fahrplanoptimierung\tageseinsatzplanung\main.m | |
| TransiEnt.Basics.Blocks.DelayedBooleanReplicator | delayedBooleanReplicator |