modelControlPowerToGas

Extends from TransiEnt.SystemGeneration.Superstructure.Components.Controller.Base.ControlPowerToGas_Base.

Information

1. Purpose of model

Controller for mass flows of hydrogen and SNG of PtG-plants in superstructure.

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
Booleany_start_hysteresis3 (from ControlPowerToGas_Base)false
IntegerDifferentTypesOfPowerToGasPlants (from ControlPowerToGas_Base)
BooleanuseHydrogenFromPtGInPowerPlants (from ControlPowerToGas_Base)
IntegerusageOfWasteHeatOfPtG (from ControlPowerToGas_Base)
BooleanCO2NeededForPowerToGas (from ControlPowerToGas_Base)
RealP_el_n1
Realeta_n1
BooleantypeIsMethanationtrue
BooleantypeIsWOStoragefalse
Modelica.Units.SI.Pressurep_gasGrid_desiredsimCenter.p_amb_const + simCenter.p_eff_2desired gas grid pressure in region
Modelica.Units.SI.MolarMass[max(simCenter.gasModel1.nc, 1)]M_iif simCenter.gasModel1.nc == 1 then {-1} else TILMedia.VLEFluidFunctions.molarMass_n(simCenter.gasModel1, 0:simCenter.gasModel1.nc - 1)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputp_gas_region (from ControlPowerToGas_Base)
Modelica.Blocks.Interfaces.RealInputu2 (from ControlPowerToGas_Base)
Modelica.Blocks.Interfaces.RealInput[max(simCenter.gasModel1.nc - 1, 1)]gasComposition (from ControlPowerToGas_Base)
TransiEnt.SystemGeneration.Superstructure.Components.ControlBuscontrolBus (from ControlPowerToGas_Base)

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from ControlPowerToGas_Base)
TransiEnt.Basics.Blocks.LimPIDPID_GasGrid
Modelica.Blocks.Sources.RealExpressionrealExpression2
TransiEnt.Basics.Blocks.LimPIDPID_GasGrid1
Modelica.Blocks.Sources.RealExpressionm_flow_set_PtG_noStorage
Modelica.Blocks.Sources.RealExpressionrealExpression5
Modelica.Blocks.Math.Add3P_el_set_PtG
Modelica.Blocks.Logical.Hysteresishysteresis3
Modelica.Blocks.Logical.Switchswitch3
Modelica.Blocks.Nonlinear.Limiterlimiter
Modelica.Blocks.Sources.RealExpressionrealExpression
Modelica.Blocks.Sources.RealExpressionzero_co2Capture_Pel
Modelica.Blocks.Sources.RealExpressionzero_wasteHeatPel
Modelica.Blocks.Math.Gainco2System_CaptureFromAir_Q
Modelica.Blocks.Math.GainpowerToGas_wasteHeat_P_el
Modelica.Blocks.Math.GainpowerPlantSystem_m_flowGas
Modelica.Blocks.Math.GainbypassSwitch3
Modelica.Blocks.Sources.RealExpressionrealExpression1
Modelica.Units.SI.VolumeFractiongasComposition_vol
Modelica.Units.SI.MassFractiongasComposition_mass