modelElectricalPowerController_outer
Controller for superstructure masks, currently supports only 2 types of power plants
Extends from TransiEnt.Basics.Icons.Controller (Icon for controller).
Information
1. Purpose of model
This model is intended to hand over variables from input to the inner controller and vice versa. The structure of the variables is changed in some cases to allow an easier control.
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 | MaximumDifferentTypesOfPowerPlants | ||
| Integer | MaximumDifferentTypesOfElectricalStorages | ||
| Integer | MaximumDifferentTypesOfPtG | ||
| Integer | NumberOfPowerplantsOverAllRegions | ||
| Integer | NumberOfElectricalStoragesOverAllRegions | ||
| Integer | NumberOfPowerToGasPlantsOverAllRegions | ||
| Integer | NumberOfElectricalHeatersOverAllRegions | ||
| Integer[nRegions] | DifferentTypesOfPowerPlants | {powerPlantInstancesRecord[i].nPowerPlants for i in 1:nRegions} | Amount of different power plant types |
| Integer[nRegions] | DifferentTypesOfPowerToGasPlants | {powerToGasInstancesRecord[i].nPowerToGasPlants for i in 1:nRegions} | Amount of different power to gas plant types |
| Integer[nRegions] | DifferentTypesOfGasStorage | {gasStorageInstancesRecord[i].nGasStorages for i in 1:nRegions} | Amount of different gas storage types |
| Modelica.Units.SI.Pressure | p_min_operating_PowerPlants | 1e5 | gas pressure threshold at which powerplants turn off |
| Modelica.Units.SI.Pressure | p_min_operating_PowerPlants_backin | 2e5 | gas pressure threshold at which powerplants turn back on after turning off |
| Integer | nRegions | 3 | |
| Integer[max(1, NumberOfPowerplantsOverAllRegions),2] | powerPlantMatrix | ||
| Integer[max(1, NumberOfElectricalStoragesOverAllRegions),2] | electricalStorageMatrix | ||
| Integer[max(1, NumberOfPowerToGasPlantsOverAllRegions),2] | ptGMatrix | ||
| Integer[max(1, NumberOfElectricalHeatersOverAllRegions),2] | electricalHeaterMatrix | ||
| Modelica.Units.SI.Power[max(1, NumberOfPowerplantsOverAllRegions)] | P_nom_PowerPlant | nominal power of power plants | |
| Modelica.Units.SI.Power[max(1, NumberOfPowerplantsOverAllRegions)] | P_min_const_PowerPlant | minimum power of power plants | |
| Modelica.Units.SI.Power[max(1, NumberOfPowerplantsOverAllRegions)] | P_max_const_PowerPlant | minimum power of power plants | |
| Modelica.Units.SI.Power[max(1, NumberOfElectricalStoragesOverAllRegions)] | P_nom_load_ElectricalStorage_input | nominal loading power of electrical storages | |
| Modelica.Units.SI.Power[max(1, NumberOfElectricalStoragesOverAllRegions)] | P_nom_unload_ElectricalStorage_input | nominal unloading power of electrical storages | |
| Modelica.Units.SI.Power[max(1, NumberOfPowerToGasPlantsOverAllRegions)] | P_nom_load_PtG_input | nominal power of PtG-plants | |
| General | |||
| Integer[nRegions] | Region | 1:nRegions | Define Region Numbers |
| GasGrid | |||
| Modelica.Units.SI.Pressure[nRegions] | p_gasGrid_desired | fill(simCenter.p_amb_const + simCenter.p_eff_2, nRegions) | desired gas grid pressure in region |
| Modelica.Units.SI.PressureDifference[nRegions] | p_gasGrid_desired_bandwidth | fill(0, nRegions) | band width around p_gasGrid_desired in which the set value varies depending on the SOC of the gas storage |
| Technology Parametrization › Power To Gas | |||
| Boolean[nRegions] | useHydrogenFromPtGInPowerPlants | fill(false, nRegions) | Hydrogen from PtG is fed directly into powerplants |
| Integer[nRegions] | usageOfWasteHeatOfPtG | fill(1, nRegions) | Waste heat usage of PtG: 1=No usage, 2=CO2 Desorption, 3=DistrictHeating(currently disabled) |
| .TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.Records.InstancesRecords.PowerToGasInstancesRecord | powerToGasInstancesRecord | powerToGasInstancesRecordRegionInfo | PtG system parametrization |
| Technology Parametrization › Powerplants | |||
| .TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.Records.InstancesRecords.PowerPlantInstancesRecord[nRegions] | powerPlantInstancesRecord | powerPlantInstancesRecordRegionInfo | Power plant parametrization |
| Technology Parametrization › Gas Storages | |||
| .TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.Records.InstancesRecords.GasStorageInstancesRecord[nRegions] | gasStorageInstancesRecord | gasStorageInstancesRecordRegionInfo | Gas Storage parametrization |
| MeritOrder Position | |||
| Integer | MeritOrderPositionElectricStorages | 1 | Electric Storages |
| Integer | MeritOrderPositionPowerToGas | 4 | Power-to-Gas |
| Integer | MeritOrderPositionElectricHeater | 2 | Electric Heater (District Heating) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| MasterBus | masterBus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions,MaximumDifferentTypesOfPowerPlants] | P_set_PowerPlant | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions,MaximumDifferentTypesOfElectricalStorages] | P_set_ElectricalStorage | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions,max(1, MaximumDifferentTypesOfPtG)] | P_set_PtG | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions] | P_curtailment_Region | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions] | P_set_ElectricalHeater | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions,MaximumDifferentTypesOfElectricalStorages] | P_max_load_storage | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions,MaximumDifferentTypesOfElectricalStorages] | P_max_unload_storage | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions,MaximumDifferentTypesOfElectricalStorages] | P_storage_is | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions] | P_ElectricalHeater_max | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions] | P_PowerToGasPlant_is | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions] | P_renewable | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions] | P_PowerPlant_is | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions,MaximumDifferentTypesOfPowerPlants] | P_PowerPlant_max | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions] | P_residual_Region | ||
| Modelica.Blocks.Routing.RealPassThrough[nRegions] | P_DAC | ||
| Modelica.Blocks.Sources.RealExpression[nRegions,MaximumDifferentTypesOfPowerPlants] | P_set_PowerPlant_nonExistent | ||
| Modelica.Blocks.Sources.RealExpression[nRegions,MaximumDifferentTypesOfElectricalStorages] | P_set_ElectricalStorage_nonExistent | ||
| Modelica.Blocks.Sources.RealExpression[nRegions,max(1, MaximumDifferentTypesOfPtG)] | P_set_PtG_nonExistent | ||
| Modelica.Blocks.Sources.RealExpression | Zero | ||
| Modelica.Blocks.Math.Gain[mod.n_PowerPlant] | P_set_PowerPlants_mod | ||
| TransiEnt.SystemGeneration.Superstructure.Components.Controller.ElectricalPowerController_inner | mod | ||
| Modelica.Blocks.Math.Gain[mod.n_ElectricalStorage] | P_set_ElectricalStorages_mod | ||
| RegionalController[nRegions] | regionalController |