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 | 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 | ||
| SI.Power[max(1, NumberOfPowerplantsOverAllRegions)] | P_nom_PowerPlant | nominal power of power plants | |
| SI.Power[max(1, NumberOfPowerplantsOverAllRegions)] | P_min_const_PowerPlant | minimum power of power plants | |
| SI.Power[max(1, NumberOfPowerplantsOverAllRegions)] | P_max_const_PowerPlant | minimum power of power plants | |
| SI.Power[max(1, NumberOfElectricalStoragesOverAllRegions)] | P_nom_load_ElectricalStorage_input | nominal loading power of electrical storages | |
| SI.Power[max(1, NumberOfElectricalStoragesOverAllRegions)] | P_nom_unload_ElectricalStorage_input | nominal unloading power of electrical storages | |
| SI.Power[max(1, NumberOfPowerToGasPlantsOverAllRegions)] | P_nom_load_PtG_input | nominal power of PtG-plants | |
| 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 |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput[nRegions,MaximumDifferentTypesOfPowerPlants] | P_set_PowerPlant | ||
| Modelica.Blocks.Interfaces.RealOutput[nRegions,MaximumDifferentTypesOfElectricalStorages] | P_set_ElectricalStorage | ||
| Modelica.Blocks.Interfaces.RealOutput[nRegions,max(1, MaximumDifferentTypesOfPtG)] | P_set_PtG | ||
| Modelica.Blocks.Interfaces.RealOutput[nRegions] | P_curtailment_Region | ||
| Modelica.Blocks.Interfaces.RealOutput[nRegions] | P_set_ElectricalHeater | ||
| Modelica.Blocks.Interfaces.RealInput[nRegions,MaximumDifferentTypesOfElectricalStorages] | P_max_load_storage | ||
| Modelica.Blocks.Interfaces.RealInput[nRegions,MaximumDifferentTypesOfElectricalStorages] | P_max_unload_storage | ||
| Modelica.Blocks.Interfaces.RealInput[nRegions,MaximumDifferentTypesOfElectricalStorages] | P_storage_is | ||
| Modelica.Blocks.Interfaces.RealInput[nRegions] | P_ElectricalHeater_max | ||
| Modelica.Blocks.Interfaces.RealInput[nRegions] | P_PowerToGasPlant_is | ||
| Modelica.Blocks.Interfaces.RealInput[nRegions] | P_renewable | ||
| Modelica.Blocks.Interfaces.RealInput[nRegions] | P_PowerPlant_is | ||
| Modelica.Blocks.Interfaces.RealInput[nRegions,MaximumDifferentTypesOfPowerPlants] | P_PowerPlant_max | ||
| Modelica.Blocks.Interfaces.RealInput[nRegions] | P_residual_Region | ||
| Modelica.Blocks.Interfaces.RealInput[nRegions] | P_DAC | ||
| Modelica.Blocks.Interfaces.RealInput | f_grid |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| 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 | ||
| ElectricalPowerController_inner | mod | ||
| Modelica.Blocks.Math.Gain[mod.n_ElectricalStorage] | P_set_ElectricalStorages_mod |