modelElectricalPowerController_inner
Extends from TransiEnt.Basics.Icons.SystemOperator.
Information
1. Purpose of model
This model is used for the control of the electrical power. Via the parameters MeritOrderPositionPtG etc. the merit order for the assignment of electrical surplus can be changed. A more detailed documentation can be find in the word document.
2. Level of detail, physical effects considered, and physical insight
(Description)
3. Limits of validity
(Description)
4. Interfaces
(none)
5. Nomenclature
(no elements)
6. Governing Equations
(no equations)
7. Remarks for Usage
(none)
8. Validation
(no validation or testing necessary)
9. References
(none)
10. Version History
Model created by Oliver Schülting (oliver.schuelting@tuhh.de), Nov 2020
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n_PowerPlant | NumberOfPowerplantsOverAllRegions | Number of plants |
| Integer | Region | amount of regions | |
| SI.Power[n_PowerPlant] | P_min_const_PowerPlant | minimum power of power plants; is >=0 | |
| SI.Power[n_PowerPlant] | P_max_const_PowerPlant | P_nom_PowerPlant | minimum power of power plants; is >=0 |
| SI.Power[n_PowerPlant] | P_nom_PowerPlant | nominal power of power plants | |
| Integer | n_ElectricalStorage | max(NumberOfElectricalStoragesOverAllRegions, 1) | amount of electrical storages, =1 if no storages |
| SI.Power[n_ElectricalStorage] | P_nom_load_ElectricalStorage | nominal loading power of electrical storages | |
| SI.Power[n_ElectricalStorage] | P_nom_unload_ElectricalStorage | nominal unloading power of electrical storages | |
| Integer | n_PtG | max(NumberOfPowerToGasPlantsOverAllRegions, 1) | amount of PtG-plants |
| SI.Power[n_PtG] | P_nom_load_PtG | nominal power of PtG-plants | |
| Integer | n_ElectricalHeater | Region | maximum amount of electrical heater |
| Integer | n_ElectricalHeater2 | max(NumberOfElectricalHeatersOverAllRegions, 1) | actual amount of electrical heater |
| SI.Power | P_threshold_residual_ElectricalStorage | 1e-3 | numerical value to avoid chattering |
| SI.Power | P_threshold_residual_ElectricalHeater | 1e-3 | numerical value to avoid chattering |
| SI.Power | P_threshold_residual_PtG | P_nom_load_PtG[1]*1e-7 | numerical value to avoid chattering |
| SI.Power | P_threshold_residual_PowerPlant | 1e3 | numerical value to avoid chattering |
| Boolean | useDecentralizedPowerControl | true | if 'false', regional residual loads are not considered for power control |
| Modelica.Units.SI.Time | startTime | 0 | start time for simulation |
| Modelica.Units.SI.Time | MinimumSwitchTimePowerPlants | 120 | Minimum time for power plants to be turned on or off (for numerical reasons) |
| Integer | MaximumDifferentTypesOfPowerPlants | ||
| Integer | NumberOfPowerplantsOverAllRegions | ||
| Integer | NumberOfPowerToGasPlantsOverAllRegions | ||
| Integer | NumberOfElectricalStoragesOverAllRegions | ||
| Integer | NumberOfElectricalHeatersOverAllRegions | ||
| Integer[n_PowerPlant] | powerPlantTypeDefinition | type of powerplant (supports only Gasturbine (1) and CCGT (2)); 1Dim; has to be the opposite as powerPlantMatrix[:,2]! | |
| Integer[NumberOfPowerplantsOverAllRegions,2] | powerPlantMatrix | powerplant: Column 1=Region, Column 2= TypeNumber ; 2Dim | |
| MeritOrder Position | |||
| Integer | MeritOrderPositionElectricalStorage | 1 | Electric Storages |
| Integer | MeritOrderPositionPtG | 4 | Power-to-Gas |
| Integer | MeritOrderPositionElectricalHeater | 2 | Electric Heater (District Heating) |
Connectors
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| TransiEnt.ModelStatistics | modelStatistics | ||
| Integer[n_ElectricalStorage] | regionOfElectricalStorage | ||
| Integer[n_PtG] | regionOfPtGPlant | ||
| Integer[n_ElectricalHeater] | regionOfElectricalHeater | ||
| Integer[n_PowerPlant] | regionOfPowerPlant | ||
| SI.Power[n_PowerPlant] | P_max_sorted_sum_PowerPlant | ||
| SI.Power[n_PowerPlant] | P_max_mod_sorted_sum_PowerPlant | ||
| SI.Power[n_ElectricalHeater] | P_max_sorted_sum_ElectricalHeater | ||
| SI.Power[n_ElectricalHeater] | P_max_mod_sorted_sum_ElectricalHeater | ||
| SI.Power[n_ElectricalHeater] | P_max_mod_ElectricalHeater | ||
| SI.Power[n_ElectricalHeater] | P_residual_single_ElectricalHeater | ||
| SI.Power[n_ElectricalHeater] | P_residual_single_mod_ElectricalHeater | ||
| SI.Power[n_ElectricalHeater] | P_residual_single_decentral_ElectricalHeater | ||
| Modelica.Units.SI.Power | P_total | ||
| Modelica.Units.SI.Power | P_total_set | ||
| Modelica.Units.SI.Power | P_total_is | ||
| Modelica.Units.SI.Power | P_total_PowerPlant | ||
| Modelica.Units.SI.Power | P_total_PowerPlant_is | ||
| Modelica.Units.SI.Power | P_total_ElectricalStorage | ||
| Modelica.Units.SI.Power | P_total_ElectricalHeater | ||
| Modelica.Units.SI.Power | P_total_PtG | ||
| Modelica.Units.SI.Power | P_total_RE | ||
| Modelica.Units.SI.Power | P_total_RE_curtailed | ||
| Modelica.Units.SI.Power | P_curtailment | ||
| Modelica.Units.SI.Power | P_excess | ||
| Modelica.Units.SI.Power[n_PowerPlant] | P_max_PowerPlant | ||
| Modelica.Units.SI.Power[n_PowerPlant] | P_min_PowerPlant | ||
| Modelica.Units.SI.Power[n_PowerPlant,2] | P_set_decentral_PowerPlant_Type | ||
| Modelica.Units.SI.Power[n_PowerPlant,2] | P_max_PowerPlant_Type | ||
| Modelica.Units.SI.Power[n_PowerPlant,2] | P_set_mod_PowerPlant_type_sum | ||
| SI.Power[n_ElectricalStorage] | P_max_unload_sorted_ElectricalStorage | ||
| SI.Power[n_ElectricalStorage] | P_max_unload_sorted_sum_ElectricalStorage | ||
| SI.Power[n_ElectricalStorage] | P_max_load_sorted_ElectricalStorage | ||
| SI.Power[n_ElectricalStorage] | P_max_load_sorted_sum_ElectricalStorage | ||
| SI.Power[n_ElectricalStorage] | P_sum_sorted_ElectricalStorage | ||
| Modelica.Units.SI.Power[n_PtG] | P_max_load_sorted_PtG | ||
| Modelica.Units.SI.Power[n_PtG] | P_max_load_sorted_sum_PtG | ||
| Modelica.Units.SI.Power | P_residual_PtG | ||
| Modelica.Units.SI.Power[3] | P_residual_single | ||
| Modelica.Units.SI.Power[3] | P_is | ||
| Modelica.Units.SI.Power | P_residual_ElectricalStorage | ||
| Modelica.Units.SI.Power | P_residual_ElectricalHeater | ||
| Modelica.Units.SI.Power | P_residual_PowerPlants | ||
| Modelica.Units.SI.Power[n_PtG] | P_is_sorted_sum_PowerToGasPlant | ||
| SI.Power[n_PtG] | P_residual_single_mod_PtG | ||
| SI.Power[n_PtG] | P_residual_single_decentral_PtG | ||
| SI.Power[n_PowerPlant] | P_residual_single_mod_PowerPlant | ||
| SI.Power[n_PowerPlant] | P_residual_single_decentral_PowerPlant | ||
| SI.Power | P_residual_PowerPlants_type1 | ||
| SI.Power | P_residual_PowerPlants_type2 | ||
| SI.Power | P_residual_PowerPlants_mod_type1 | ||
| SI.Power | P_residual_PowerPlants_mod_type2 | ||
| Modelica.Units.SI.Power | P_residual_total_with_SRL | ||
| Modelica.Units.SI.Power[3] | P_threshold_residual | ||
| SI.Power[Region] | P_excess_Region_PowerPlant | ||
| SI.Power[Region,max(1, MaximumDifferentTypesOfPowerPlants)] | P_excess_Region_PowerPlant_ | 2Dim | |
| SI.Power[Region] | P_decentral_ElectrialStorage_Region | ||
| SI.Power[Region] | P_decentral_PtG_Region | ||
| SI.Power[Region,3] | P_residual_Region_decentralControl | ||
| SI.Power[Region] | P_residual_Region_decentralControl_PowerPlant | ||
| SI.Power[Region] | P_residual_Region_decentralControl_potentialcurtailment | ||
| SI.Power[Region] | P_decentral_ElectricHeater_Region | ||
| SI.Power[Region,3] | P_decentral_Region | ||
| SI.Power[n_PowerPlant] | P_set_decentral_PowerPlant | ||
| SI.Power[n_PowerPlant] | P_set_mod_PowerPlant | ||
| SI.Power[n_PowerPlant,2] | P_set_decentral_sum_PowerPlant_type | ||
| SI.Power[n_PowerPlant] | P_min_mod_PowerPlant | ||
| SI.Power[n_PowerPlant] | P_max_mod_PowerPlant | ||
| SI.Power[Region,max(1, MaximumDifferentTypesOfPowerPlants)] | P_set_decentral_powerPlant_Region | ||
| SI.Power[n_PtG] | P_set_decentral_PtG | ||
| SI.Power[n_PtG] | P_set_decentral_sum_PtG | ||
| SI.Power[n_PtG] | P_set_mod_PtG | ||
| SI.Power[n_ElectricalStorage] | P_residual_single_mod_ElectricalStorage | ||
| SI.Power[n_ElectricalStorage] | P_residual_single_decentral_ElectricalStorage | ||
| SI.Power[n_ElectricalStorage] | P_set_decentral_sum_ElectricalStorage | ||
| SI.Power[n_ElectricalStorage] | P_set_decentral_ElectricalStorage | ||
| SI.Power[n_ElectricalStorage] | P_set_mod_ElectricalStorage | ||
| SI.Power[n_ElectricalStorage] | P_max_unload_sorted_mod_ElectricalStorage | ||
| SI.Power[n_ElectricalStorage] | P_max_load_sorted_mod_ElectricalStorage | ||
| SI.Power[n_ElectricalHeater] | P_set_decentral_ElectricalHeater | ||
| SI.Power[n_ElectricalHeater] | P_set_decentral_sum_ElectricalHeater | ||
| SI.Power[n_ElectricalHeater] | P_set_mod_ElectricalHeater | ||
| SI.Power[n_PowerPlant] | P_set_PowerPlant_ | ||
| Real[3] | Counter_P_residual_single | ||
| Real[n_PowerPlant] | Counter_PowerPlant_OnTime | ||
| Real[n_PowerPlant] | Counter_PowerPlant_OffTime | ||
| Boolean[n_ElectricalStorage] | hysteresis_ElectricalStorage | ||
| Boolean[n_PowerPlant] | hysteresis_PowerPlant1 | ||
| Boolean[n_PowerPlant] | hysteresis_PowerPlant2 | ||
| Boolean[n_PowerPlant] | hysteresis_PowerPlant3 | ||
| Boolean[n_PowerPlant] | hysteresis_PowerPlant4 | ||
| SI.Power | P_residual_total | ||
| TransiEnt.Basics.Blocks.LimPID | PI_SRL | ||
| Modelica.Blocks.Sources.RealExpression | realExpression1 |