modelElectricalPowerController_outer

Controller for superstructure masks, currently supports only 2 types of power plants
Diagram of ElectricalPowerController_outer

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

TypeNameDefaultDescription
IntegerMaximumDifferentTypesOfPowerPlants
IntegerMaximumDifferentTypesOfElectricalStorages
IntegerMaximumDifferentTypesOfPtG
IntegerNumberOfPowerplantsOverAllRegions
IntegerNumberOfElectricalStoragesOverAllRegions
IntegerNumberOfPowerToGasPlantsOverAllRegions
IntegerNumberOfElectricalHeatersOverAllRegions
IntegernRegions3
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_PowerPlantnominal power of power plants
SI.Power[max(1, NumberOfPowerplantsOverAllRegions)]P_min_const_PowerPlantminimum power of power plants
SI.Power[max(1, NumberOfPowerplantsOverAllRegions)]P_max_const_PowerPlantminimum power of power plants
SI.Power[max(1, NumberOfElectricalStoragesOverAllRegions)]P_nom_load_ElectricalStorage_inputnominal loading power of electrical storages
SI.Power[max(1, NumberOfElectricalStoragesOverAllRegions)]P_nom_unload_ElectricalStorage_inputnominal unloading power of electrical storages
SI.Power[max(1, NumberOfPowerToGasPlantsOverAllRegions)]P_nom_load_PtG_inputnominal power of PtG-plants
MeritOrder Position
IntegerMeritOrderPositionElectricStorages1Electric Storages
IntegerMeritOrderPositionPowerToGas4Power-to-Gas
IntegerMeritOrderPositionElectricHeater2Electric Heater (District Heating)

Connectors

TypeNameDefaultDescription
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.RealInputf_grid

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
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.RealExpressionZero
Modelica.Blocks.Math.Gain[mod.n_PowerPlant]P_set_PowerPlants_mod
ElectricalPowerController_innermod
Modelica.Blocks.Math.Gain[mod.n_ElectricalStorage]P_set_ElectricalStorages_mod